Null Boy
Hi i created a sign up form in my site : if request.method == "POST": form = SignupForm(request.POST) name = request.POST['name'] last_name = request.POST['last_name'] username = request.POST['username'] email = request.POST['email'] password = request.POST['password'] user = User.objects.create_user(first_name=name, last_name=last_name, username=username, email=email , password=password) user.save() How can i add a email verification to my form ?
Null Boy
into the clean method of the SignupForm
i want send email verification url after register for active profile
Alex
1 You are already were told to use paste services to share your code. 2 Google how to send emails in django
Null Boy
1 You are already were told to use paste services to share your code. 2 Google how to send emails in django
My problem was solved Thanks ❤️ https://medium.com/@frfahim/django-registration-with-confirmation-email-bb5da011e4ef
Mirco
no need to reinvent the wheel, just customize
Ilsaf
what is the problem? django.contrib.auth.models.User.profile.RelatedObjectDoesNotExist: User has no profile.
Ilsaf
https://prnt.sc/v4sqyf
OneRepublic
My problem was solved Thanks ❤️ https://medium.com/@frfahim/django-registration-with-confirmation-email-bb5da011e4ef
"UserCreationForm()" was what you needed with crispy_form for some extra features.
Ilsaf
Where i need userCreationForm?
Ilsaf
On 16 line?
Ilsaf
Or what
بــارون
How do I calculate the number of classes in Django
DTN
https://stackoverflow.com/questions/64489803/how-to-use-relatedfieldwidgetwrapper-in-django-3 Hi, can someone help me with this implementation of RelatedWidgetWrapper?
faran
https://stackoverflow.com/questions/64490923/the-href-in-template-and-the-url-are-not-working-in-django Hi, if someone knows about Urls please help me with this question. thank you
M
thanks but seems you posted other link
I have solved the problem using axios get requests .. just putting ref in case anyone looked same Thank you
Abdulvoxid Dadamirzayev
Hey guys
Abdulvoxid Dadamirzayev
Who has Django 3 by example book
Anonymous
everything is already built-in Django
Hi bro...my issue has not been met
Yyyyyy
Can any1 give me a django project
Check in you tube may project are their
Bunty chhatri wala..
Who has Django 3 by example book
You can easily find it on google
Abdulvoxid Dadamirzayev
cj
This requires funds
so, just buy it
Anonymous
Is there any way to create your django project into mobile application
Anonymous
No brother
then any suggestions to do that. I have already developed a django based portal and now my company want a mobile application to
K
Hi how to set change password cant be set as same previous password?
K
Where set password admin panel?
nopee , for user in frontEnd
K
so when they change password , they cant change for the same password as before
K
my code would be like this in serializers
K
https://dpaste.org/HuTQ here is my code
Tb10
Hi, I want to add a "developer version" of settings (proj.settings_dev.py) which should inheritate from production settings( proj/settings.py): in settings_dev.py I've added: from django.conf import settings settings.INSTALLED_APPS.appent('livereload') then started with: ./manage.py runserver_plus 0.0.0.0:8000 --settings=proj.settings_dev it starts but complain that many settings aren't defined. I don't wan't to copy all the production settings to dev and change them, is there a way to properly load production settings and override only some parameter from settings_dev?
Anonymous
https://dpaste.org/gsJo
Anonymous
https://dpaste.org/gsJo
@numbersevenhero please check this once
K
@numbersevenhero please check this once
should i validate it in serialize or models??
Dhanush
Can anyone help me how the django project will be deploy for free.
Doragonsureiyā
Can anyone help me how the django project will be deploy for free.
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Anonymous
Which issue ?
How do I get and save a response from URL through API CALL to my database
Anonymous
Basically, I called a paystack API, how do I save the references I get from the callback to my database so I can update my databases and have the payment receipt... Its an inline call...json
Shashank
I am almost done with learning python, should i need to learn HTML and CSS before starting with Django ???
Shashank
Oh
cj
I just want to use a different database and add app like livereload, that aren't needed in production.
that's exactly why I told you that you shouldn't inherit dev from prod, but have a base and inherit dev and prod from there
cj
go check the Django template from pydanny, you'll understand what I mean https://github.com/pydanny/cookiecutter-django/
Tb10
that's exactly why I told you that you shouldn't inherit dev from prod, but have a base and inherit dev and prod from there
This make sense, thank you, but I'm using django 2, can you please point me out on how to have the base and extend it?
Mousiol
Can i use both Redis and Sqlite3 in ny django project?
Harsha
I am getting attribute error
Harsha
Had been tried couple of times in views and URLs but I dint get
André
I would like to know indications about django hosting. What do you guys use?
Украинский
Hello! I never used before REST API of django. But now, im trying set it up and use. So there is a question: Im using old OS (Windows 7) that not supports a Node.js. For dynamic content changing i used jQuery AJAX. Many YouTube tutorials are using REST+React/Vue stacks. Do i need to upgrade and use Node? Or there is a way to continue using jQuery with REST?
Mousiol
Yes
A bot😐😑
Doragonsureiyā
Mousiol
No
Dear bot What should I do for using both of Redis and Sqlite3 in my setting.py?
Doragonsureiyā
Dear bot What should I do for using both of Redis and Sqlite3 in my setting.py?
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Neo
while trying to update the fields based on the input data with the below view, it fails to update please have a look at this https://paste.ubuntu.com/p/krFsNSR79K/
Anonymous
hi
Anonymous
someone can tell me where i can find some references about relational database in django?
Anonymous
sorry i new about this
Doragonsureiyā
someone can tell me where i can find some references about relational database in django?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Kamaljeet
Hello guys !! Can someone say how to send and recieve an image in django using ajax ? I found some stuffs on stackoverflow but I couldn't understand what all the base64 and bytesIO is ?
Anonymous
Does anyone know how to install and create react app in pythonanywhere ..I installed node 10.6.0using nvm and I installed create-react-app and when I run create-react-app it says command not found even u tried npx create-react-app this even don't work shows system error