dominic
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 ?
Mirco
Alex
1 You are already were told to use paste services to share your code.
2 Google how to send emails in django
Mirco
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
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
Abdulvoxid Dadamirzayev
Hey guys
Abdulvoxid Dadamirzayev
Who has Django 3 by example book
Anonymous
Abdulvoxid Dadamirzayev
cj
Mirco
Mirco
Anonymous
Is there any way to create your django project into mobile application
Anonymous
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
Mirco
Anonymous
K
Hi how to set change password cant be set as same previous password?
Anonymous
K
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
cj
Dhanush
Can anyone help me how the django project will be deploy for free.
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 ???
Anonymous
Shashank
Oh
Tb10
cj
go check the Django template from pydanny, you'll understand what I mean
https://github.com/pydanny/cookiecutter-django/
Tb10
cj
Tb10
Mousiol
Can i use both Redis and Sqlite3 in ny django project?
Doragonsureiyā
Harsha
I am getting attribute error
Harsha
Had been tried couple of times in views and URLs but I dint get
Fuad
André
I would like to know indications about django hosting. What do you guys use?
George
Украинский
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?
Tukhtamurod
Mousiol
Doragonsureiyā
Mousiol
No
Dear bot
What should I do for using both of Redis and Sqlite3 in my setting.py?
Mousiol
Mirco
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/
Neo
Anonymous
hi
Anonymous
someone can tell me where i can find some references about relational database in django?
Anonymous
sorry i new about this
Anonymous
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