Shazam_
Is there any way on custom login page to distinguish between normal user and superuser?
𝒮𝒽𝒶𝓏
guys can i create a netflix like system using django
Pritiranjan
𝒮𝒽𝒶𝓏
anyone can guide me from where to start, some good tutorials etc
Thanks Pritiranjan , Shubham and Mirco
OceanMan
OceanMan
I need resources in learning Advanced Django Rest Framework
Shubham
If you are a good reader than i peprefer you to learn from django documentation https://docs.djangoproject.com/en/4.0/
If you are a visual learner and know hindi search code with harry django i personally learn by watching videos of code with harry and documentation
Ramy
For those who wanna improve theyre level
Ramy
Read the two scoops of django 3x book
OceanMan
OceanMan
᠌
What did I do wrong?
https://hashb.in/#GYJw9gtgBCCGB2ATSUCWEAOYQBcoGcALAV2GABsBTAKFBQCt8x41Ns9yxZF9rbxoieggDmYAHSEcODKyy4oAKSbwASpXxZ4+SgBooACWkZ1AR2Iac/FENESAbqkoB3fOMSUAxtlg5sbqRk5dhhKc1QQSgB9AAUAeQBlABU+agABSPDI2MSUj2ACEjIqKMcXAApMi3wcAC5DYzNqnABKWuooTqhnbB4oAF4oTm58SrDm8QAjMEQAT3cvGcpylpaAbQAiHEoADxwNgF1xTXJUHBWOrqJSCmWekB4Wy87InGIQFmVmdU1mHXKAN4bSK/bSUDb1DZQDbiehgVDwcr3R4AXyeQA==
https://hashb.in/#HwgEAcHsGcBcAoBEALWtwC4D0WCMAmAdgDoAGM43DADlLq2mQFcAzFgGwFNEAaUAK2iQAdgF4A3olicAHrEQZQiXKHygAzKAAsoAKyIAvgEoAUAB4ASp2hRh0TqADaW0uoC6wIA=
Alex
🛑🛑Guys, help me solve the error during migrations!!!! django.db.utils.ProgrammingError: column "sort_value" of relation "course_package_modules" already exists
Andrej
Alex
Doragonsureiyā
thank you very much for your help...otherwise everyone is silent here 👍
Maybe anyone is here, yes, but they are not obliged to read everyone's message here neither to reply to everyone's message, if someone wants to reply to your message, they will do that, just don't try to draw attention to your message writing "anyone?" every 5 minutes, that will lead you to be warned for SPAM/Flood, just be patient or use Google/DuckDuckGo to research about your question instead of wasting time here waiting for people to do your work.
Have a nice day 😊
gadghimuradm
᠌
Sayidbek
Mihail
I would want to get admin page before testing of post request on it, to get all saved default data and not input them second time in post (when they are already set in model fields). Are any ways to do it?
Henry Joshua
I am having issues saving phone number integerfield in my database
Henry Joshua
https://linkode.org/#SGXxezpxmuLej0lv0eU1h6
Henry Joshua
there is my code
Henry Joshua
The phone_number field wud always return null
Henry Joshua
Even if I post it
Brian
Even if I post it
On the save method you could add self.phone_number = phone number
Henry Joshua
Henry Joshua
It I do dat it wud return undefined
Henry Joshua
Brian
Henry Joshua
Brian
Yes
You need to add phone_number in the UserManager create methods for create_user, create_staff_user etc. Then test it out.
Brian
Henry Joshua
It's not working,
Henry Joshua
I just tried it now
RIP
guys, I have my model item and want make a clear view to tell their price difference
class Item(models.Model):
name = models.CharField(max_length=50)
seller= models.CharField(max_length=30)
class Item_compare(models.Model):
ouritem = ForeignKey(Item, on_delete=models.DO_NOTHING, blank=True,null=True)
othersitem = ForeignKey(Item, on_delete=models.DO_NOTHING, blank=True,null=True)
and I got big error, that one model can have one and only one foreign key from same source, then how can I get a item to compare with other item?
Med
Guys i have an question, i want build an chat app is django channel good choice and enough to build good chat app , or i have to look for other tech like nodejs ? ,
Frontend will be in flutter
RIP
https://stackoverflow.com/questions/2642613/what-is-related-name-used-for To add to existing answer - related name is a must in case there 2 FKs in the model that point to the same table. For example in case of Bill of material Thank you very much, I find this answer by search related name ,and it is exactly what I need ,even my use case is same as this answer
Vikas
How we correct date when we select a date it is show wrong
Phansivang
Hello why people call Jango not Deejango ?
Phansivang
why D is silent?
Mohammed
The "d" is silent 😂. That's just how it is
Phansivang
I still don't understand
Mirco
I still don't understand
because that's the pronunciation
the "d" is silent, and the name comes from a musician , not from the movie
Somto
Please I have an issue deploying my django project to heroku, It gives the error app not compatible with buildpack. I have tried all I know and even stack overflow but the error still shows up.
KA
Hi!
How to right query for field with same name?
Have a query which should get users with tag1 AND tag2, but it doesn't work.
How to handle this issue?
User.objects.filter(Q(
tag__name="tag1",
) & Q(
tag__name="tag2",
))
عَبٔدُ الٔحَكِيم
hello everyone . i had a mistake in drf like this
عَبٔدُ الٔحَكِيم
The 'image' attribute has no file associated with it.
عَبٔدُ الٔحَكِيم
i couldnt find to solve this bug. who can halp me?
Luis
I'm setting up my own server. Can my app folder have a name and then can I create different apps with different names inside that app?
Luis
For different purposes
Luis
Like different sites
Anonymous
Hello, I want a good book to read Django in pdf format
Andrej
Anonymous
Anonymous
Andrej
Is this book useful?
You asked for a good book about Django. This is "the book" about Django. The most important one.
Luis
For instance if i can make two websites
Shazam_
Which frontend framework is best suited with django or every framework works fine
Morteza
Charly
python developer
python developer
Anonymous
How to solve error cookie not set in csrf form submit