kuzmich
Only these are important signals in django?
There are more ofc but these are often used
Horlar
You should learn all about modules and packages not to ask such a question
Better still, learn python before diving into any of its frameworks or libraries .
WhiteKing007
Hey how do i install bootstrap
Ashkan
What is the option to prevent duplicate queries in all classes?
Arezoo
Hi .is to possible to restrict user to see own file and own image?other user don't see other user's image?
Anonymous
Please remove those messages and use a pastebin
Doragonsureiyā
Sorry, how do i do that
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev If you posted a wall of text, go back and delete it.
Kool
I have a problem with my form, it simply does nothing, it seems I cant process it
Doragonsureiyā
I have a problem with my form, it simply does nothing, it seems I cant process it
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev If you posted a wall of text, go back and delete it.
Kool
https://dpaste.org/XDwK#L14
Anonymous
https://dpaste.org/XDwK#L14
are you sure a POST request is being made
Anonymous
Yes I am
and you are sure the form.is_valid returns True ?
Kool
After rendering the form errors it says, This field is required
Anonymous
i think your form's validation is failing and that's why that block of code does not run
Anonymous
also in the form you have a field called email_address while in your view you are looking for a key called email and you aren't passing the form to your template either so i'm assuming you've built your own form in the template, might just be a mismatching field names
Anonymous
line 10 and line 21
Kool
Let me check it out
Kool
line 10 and line 21
Thanx for spoting this one, one down, now am left with two fields saying "This field is required"
Salesforce
Anyone needs python django Rest Api lecture's by durga sir paying half of the original price.
Anonymous
Thanx for spoting this one, one down, now am left with two fields saying "This field is required"
just pass the form object to your template and render it in the template
Anonymous
https://docs.djangoproject.com/en/3.2/topics/forms/#the-template
earthiannn
https://stackoverflow.com/q/68148399/10033756
earthiannn
I posted on stackoverflow but I didn't get any response.
earthiannn
Can anyone help me with this ?
Matin
Hi How can i use pagination in CreateView?
Anonymous
Hey, is there a way to refresh "the refresh" token un Django rest framework
Anonymous
So the user doesn't need to make full log in after refresh token expires
Ahmad
hello guys i wana learn python with django
Ahmad
models specifically pliz help
Anonymous
So the user doesn't need to make full log in after refresh token expires
doesn't that defeat the purpose? but sure you can do whatever you want, just extend the TokenAuthentication class
Anonymous
Doesn't that make it more risky
Anonymous
https://stackoverflow.com/q/68148399/10033756
is this really a django problem?
Devo
Hi How can i use pagination in CreateView?
Refer drf pagination concepts
Anonymous
Not exactly
Then its offtopic
Anonymous
hi all,how can i get Django default user in last 5 login date get?
Pharell
I'm beginner
Anonymous
We don't talk about flask here
Pharell
Oh sorry
Pharell
So can I get Django tutorial?
Doragonsureiyā
So can I get Django tutorial?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Arvindhan
Its really hard to understand on how to create custom user model for auth. 😭
Mirco
Its really hard to understand on how to create custom user model for auth. 😭
Nah, it's easy if you follow documentation and study how models work
Arvindhan
Nah, it's easy if you follow documentation and study how models work
I tried, but studying documentation created many questions. And my doubts are developing 😔
Mirco
I tried, but studying documentation created many questions. And my doubts are developing 😔
https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html Another good resource to understand it
Arvindhan
https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html Another good resource to understand it
This says using AbstractBaseUser is hairy. I just want to get rid of username and use email as auth 🤦‍♂
Mirco
This says using AbstractBaseUser is hairy. I just want to get rid of username and use email as auth 🤦‍♂
Yup but you need to use it if you wanna change the field used for authentication It says it's hairy but if you need it, you use it 🙂
Arvindhan
Yup but you need to use it if you wanna change the field used for authentication It says it's hairy but if you need it, you use it 🙂
If I use it, will all the default auth functions work. ? Like can I use authenticate ? Is_authenticate etc etc ?
Mirco
If I use it, will all the default auth functions work. ? Like can I use authenticate ? Is_authenticate etc etc ?
Read the topic about it and read the documentation about it You find there all the answers
Irrfan
hi guy if i use django channel in my project ..will be any limitation in using django view?
Hello
I am using mechanize browser to get a image as
Hello
browser=mechanize.Browser() Response=browser open("link")
Hello
Hello anybody reply for this
Firdavs
i moved my django project to pythonanywhere and opened a new directory and new files in the files tab. But it didn’t work when I refreshed the site
Almaz
Hello, everyone! I have problems with my django code and i don't know how to solve it. Who can help? NoReverseMatch at /clothes/ Reverse for 'delete_clothes' with arguments '(1,)' not found. 1 pattern(s) tried: ['clothes/$']
William
!paste
Doragonsureiyā
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev If you posted a wall of text, go back and delete it.
William
Share your code using the above services.
Almaz
Anshu
Here is my code
I think it's because, u have same url endpoint for 4 different views
Almaz
I think it's because, u have same url endpoint for 4 different views
Oh, there were different urls, but I forgot to bring back them their own urls, when i tried to fix my error
Doragonsureiyā
🚫 ‎﷽𝒜𝓁𝒽𝒶𝓂𝒹𝓊𝓁𝒾𝓁𝓁𝒶𝒽﷽. [1350108517] is already banned.
Almaz
Share the updated URL!
https://dpaste.org/qwNn#
William
https://dpaste.org/qwNn#
For the delete function, you have to pass the pk in the URL
AMiR!
Hey guys I have an app “user” which use abstractuser And another app which have a benefactor model which have a one2one field to user I want each user after registration and login-in to have access to benefactor url and with post request make a benefactor object that get user field in headers from request and other fields from body Can anyone help me what should I do?!! I want to use rest frame work for that view