Django Bot
>> Links - Modern Django: Part 4: Adding authentication to React SPA using DRF — v1k45 - GRAPPELLI ADMIN INTERFACE - rkhleics/wagtailmenus: An app to help you manage and render menus in your W
Михаил
class RegisterFormView(FormView): form_class = UserCreationForm template_name = "login_register/register.html" success_url = "/login/?complite_registration" def form_valid(self, form): form.save() return super().form_valid(form)
Jimmies San
english please
pino@mastrobirraio ~$
how can I wrong you?
Михаил
good evening, I can not log in by the user that I created in my form. But I can authorize the user created in the admin application
Михаил
what am I doing wrong? Please help me))
Jimmies San
what am I doing wrong? Please help me))
https://simpleisbetterthancomplex.com/tutorial/2017/02/18/how-to-create-user-sign-up-view.html
Combot
Михаил Слуцкий (0) has increased reputation of Jimmie San Cocking Cock (4)
Anonymous
How to create registration form with email verification?!
Anonymous
Anyone suggest me!!do i hv to setup smtp server in my pc?!
Django Bot
>> Links - Modern Django: Part 1: Setting up Django and React — v1k45 - django Resistration 3.0
r0b0t
How to create registration form with email verification?!
I've done phone verification with nexmo. But you can check out sendgrid. And yes you have to setup the email server
Django Bot
>> Links - django-registration 3.0
karry
Hey guys I am doing a tuitorial on udemy .The project has been carried out with django version 1.2.4 .If I go to djangoproject.org do I have to download the latest version of django or do I use 1.2.4 ???
Django Bot
>> Jobs - Python/Django lead back-end developer
Django Bot
>> Blogs - Django Tips #1: makemigrations command - Django Tips #2: Imports
Anonymous
Can i send emails for the user in django for free?!
Django Bot
>> Links - OmniDB/OmniDB: Web tool for database management
Mirco
Can i send emails for the user in django for free?!
https://medium.com/@_christopher/how-to-send-emails-with-python-django-through-google-smtp-server-for-free-22ea6ea0fb8e
Huzaifah
Am having a problem sign in doesn't work but registration works on Django rest api ,
Huzaifah
It says no user attached to the email
Anonymous
send codes
Huzaifah
https://github.com/andela/ah-backend-iroquois/pull/10
Huzaifah
@Sage_Olly , that's the branch I have
Huzaifah
Check in the serializers.py
Huzaifah
And views.py
Huzaifah
In *authentication* folder
Huzaifah
One test is failing because of that
Django Bot
>> Links - YouTube
Brian
hey How do i reference a field from another model as a foreign key? eg if I have a Countrie's model and want to reference it's field capital_city as a foreign key in another model?
Dcruz
Stucked on simple Ajax view 😭😭😭
cj
Stucked on simple Ajax view 😭😭😭
What did you try to do so far until now?
Dcruz
i make a view that return a json response but nothing happens when i run the app
Dcruz
And when i visit that url i get error, the view didn't return a response object..
cj
Can you show your code?
Dcruz
i set a data variable whit pairs of values inside And passed whit json response argument..
cj
Maybe if you show your code we can try to help you
cj
Share it on github or similar
Dcruz
right now i cant share code.. I was hoping that someone post a simple Ajax view here... dont have Internet full
Dcruz
a simplest Ajax view please. here..
Dcruz
dude, i passed you a simple example
I readed but i wasnt unable to save it.. its hard to explain why guys...
cj
🤷🏻‍♂🤷🏻‍♂🤷🏻‍♂🤷🏻‍♂ so I guess it's gonna be hard to help too, we are talking blindly
Dcruz
The only thing i need its a simple view that returns json... posted here, so i can copy and study it..
Jimmies San
have fun with docos :)
Dcruz
I dont do nothing whit Internet links.. I need some snipet here... small, simple jajaja why are u so hard guys!!??
Jimmies San
do you open it? do you see it? it's a github repo FULL OF CODE, and a link with SEVERAL EXAMPLES [read SOURCECODE]
Jimmies San
you need more? share you code and maybe you'll find more help.
Jimmies San
no code no party :)
Dcruz
I dont have enough speed to view any Internet link... i know its hard to believe but when you are in Cuba its possible..
Jimmies San
oh and remember: i'm am a BAD admin [read BOFH] so be careful :>
cj
I dont do nothing whit Internet links.. I need some snipet here... small, simple jajaja why are u so hard guys!!??
class SimpleAjaxView(View): def get(self, request, *args, **kwargs): data = {"hello": "world"} return JsonResponse(data)
Dcruz
it was too hard??? I think no.
inchidi
it was too hard??? I think no.
its because you said simple ajax instead simple rest api
Jimmies San
it was too hard??? I think no.
man don't waste your byte 😂😂😂
Dcruz
CJ tomorrow i'll comment u if i was succes... again.. im very thankfull men!!!
cj
🤷🏻‍♂
inchidi
CJ tomorrow i'll comment u if i was succes... again.. im very thankfull men!!!
fyi this is ajax, its client side, browser do it. while this is the api your ajax will consume it, and its server side
Jimmies San
fyi this is ajax, its client side, browser do it. while this is the api your ajax will consume it, and its server side
oh c'mon! you put two links! are you crazy? two links! we use RFC1149. i can't open it!
Jimmies San
https://tools.ietf.org/html/rfc1149
cj
its because you said simple ajax instead simple rest api
I thought he wanted the API, so that's what I gave him🤷🏻‍♂
Jimmies San
A Standard for the Transmission of IP Datagrams on Avian Carriers
Dcruz
jajajajaja
Jimmies San
😂😂😂😂😂😂
Jimmies San
TCP OVER PIDGEONS
Jimmies San
ok, i need to sleep :P
Dcruz
Its funny Jimmie San ???
Jimmies San
yes, rfc1149 it's really fun. i love it.
cj
https://tools.ietf.org/html/rfc1149
That is better than submarine cables😂
Jimmies San
it's my favourite
Jimmies San
we use it in sicily for 10-15 years