godmode
None
Thank you! And another doubt , when i remove an answer the question of this answer is removed as well... that's cuz i got the foreign set to remove in CASCADE, which option should i use?
godmode
CASCADE is used when you wanna remove all children when deleting the parent
Yeah i know! But i don't want to remove the parent...
Nikhil
See my github code here and tell me how can I made product to be listed in subcategory like for men's, for women's etc etc
Nikhil
https://github.com/nikhilgurjar/djangoproject
Nikhil
Site
Nikhil
Homepage
Nikhil
Index.Html
Bunty chhatri wala..
Okk
godmode
@mike3285 i got a search field already coded
godmode
And the pagination as well...
godmode
@mike3285 here you got the Template: https://github.com/Godm0de/Django_Blog/blob/master/apps/blog/templates/blog/post_list.html an the view https://github.com/Godm0de/Django_Blog/blob/master/apps/blog/views.py
Doragonsureiyā
thank you!
You're welcome! 😊
Nikhil
My doubt
Trials
https://github.com/nikhilgurjar/djangoproject
🤢🤮 __pycache__ folders settings.py with hardcode values statics and media being served by Django itself
Trials
a v folder with the full environment 🤢🤮🤢🤮🤢🤮
Nikhil
This is my first project broi🥺
Nikhil
I am just learning
Anonymous
I'm building website on food delivery
Anonymous
How do i send Notification to the restaurant when somebody orders food
Rohan
How do i send Notification to the restaurant when somebody orders food
Where do you want to send the notifications exactly?
Rohan
An app? A webapp?
Yuri
Does anyone know in which moment Django populates the auth_permissions table?
Anonymous
I want to send the notification im website itself
Anonymous
I want to send the notification im website itself
If you are saying you need the restaurant to know when a customer placed a new order, I believe for that your website needs to be dynamic. Means you may have to use JavaScript to make it happen.
Raph
how can I show my code here to ask for some help?
Mayank
If anyone can help kindly respond, I have a project and I have to create two types of users, I have a buyer and seller profiles. How can I implement this? Thanks in advance.
Rohan
Facebook type Notification
Do you have any ideas on how it works?
Rohan
Yea, bring knife to a fist fight.
Gourav
What 🤔🤔🤔???
Anonymous
How to change the user password using custo form?
Leonardo
guys, i have an drf app dockerized, and now i want to make the deploy. should i dockerize the web app and web server too, or configure it manually on the instance?
Gourav
Leonardo
i don't need that?!
Leonardo
how i will do proxy reverse
Nimish
How to add custom fields to User field in django
myii
How to add custom fields to User field in django
https://docs.djangoproject.com/en/3.0/topics/auth/customizing/#using-a-custom-user-model-when-starting-a-project
Vincent Juma
Kindly help me with the group invite link, I need to restore factory settings in my phone, and I don't wanna lose this group
Vincent Juma
Please anyone to post here
Flavien
Kindly help me with the group invite link, I need to restore factory settings in my phone, and I don't wanna lose this group
hello Vincent , you have nothing to worry about, just restore your phone and reinstall telegram. Then in the telegram search bar type in Django. You'll find the group and all the latest discussions.
Flavien
Anonymous
Use Django Channels
Any tutorial?
Ajay
Can we create common models for Django two projects for admin panel and user panal.
Ajay
It's configure by API
Yash
can anyone please explain how to change date format in django models
Gourav
can anyone please explain how to change date format in django models
Define another method in Model with decorator property and use strf to change date format
Manish
What is the best way to restrict data from different type of user
Manish
How to create user role groups and permission
Gourav
U can easily create them using admin panel
Gourav
Else u can do it programmatically too
Manish
Without admin panel
Gourav
Seach on youtube
Dhinesh
Hi friends. I had strucked in trouble.
Dhinesh
In Django, static files are loaded after i update that. How to fix it?
Anonymous
Is it possible to use Google Drive to host media and static files of a django project? If yes, how do we do it? Couldn't find much information on this.
PV
In Django, static files are loaded after i update that. How to fix it?
Check source code on browser (Ctrl+U) and check it's path
PV
can anyone please explain how to change date format in django models
Use template tags {{instance.date|date:"d/m/Y"}}
PV
Does anyone knows best accounting webapp built on django that available on github
Swapnil
Any one can tell me how to auto refresh webpage in django