Anonymous
In AbstracBaseUser Is there any refernce code you have
You can just set phone_number and is_admin field then set the username like this: USERNAME_FIELD = "phone_number"
Kevin
Am creating a status uddate for a birth and death management system, where status are pending, received, approved and collected. Can anyone point me to the right documentation on the same or help me on what to do in models, views.....
Anu
Any one know the to secure a file in django
AFK
Can anyone explain what is context_object_name in django and why we use it!
Doragonsureiyā
Can anyone explain what is context_object_name in django and why we use it!
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Anonymous
How to pass list with index in django html
mirodil
Hi, i used django-filter on rest-framework but how can i use it on my frontend vuejs?
mirodil
Passing filters as query strings
I cannot set url like /?something&something&something/ any approach for this?
Mirco
I cannot set url like /?something&something&something/ any approach for this?
You can you can In JavaScript you can build query params easily https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams
Doragonsureiyā
Thank you
You're welcome! 😊
Ethuku
User login registration
Doragonsureiyā
User login registration
What are you talking about?
Ethuku
How to create a user registration and login
Roman
How to create a user registration and login
Mostly depends on what type of registration do you have in mind? Will it use email services or, for example, may be you prefer Google services authorization. But in any case there is a default login form and "login_required" decorators for this purpose.
Carlos Z. Bent
How to create a user registration and login
you can import a default user registration form. It takes username and password, then you can add other data for it to ask.
Mostafa
How to create a user registration and login
Check this python package, It may help you https://pypi.org/project/django-allauth/
Musa
I'm trying to display a django modelForm for multiple object instances in a bootstrap modal all in the same view. My idea so far is to return the entire modal as a jsonResponse based on the trigger button. Does someone has a better solution??
🌻
Please help
🌻
How I can join HTML with django as back end
🌻
I mean what is the step
Anonymous
🌻
I already read and download it
🌻
But I want now to join it with my front end pages
Anonymous
I already read and download it
If you already read about templates, then you should know how. What's your challenge?
🌻
I should complete the website this week and I have to do the backend part with python and Django not else
Roman
How I can join HTML with django as back end
Your question is not specific enough.
🌻
The week started today
Roman
In Russia any week starts with Monday. In US it's Sunday, I guess. Today is a Saturday in my time zone.
Adie
has anybody written a multipart rest API?
Doragonsureiyā
has anybody written a multipart rest API?
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Man Nny
Can I use django to build blockchain?
Ahmad
Hello, please how is the best integration of react with Django?
Ahmad
I meant Django + React full stack app. I tried it but it keep yielding different issues. Please help thanks.
Tanner
Hello, please how is the best integration of react with Django?
Django only handles backend with API with DRF and react handles frontend. Makes for very smooth development and final product
Roman
who can help me with allauth?
Doragonsureiyā
who can help me with allauth?
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Ahmad
Something like hosting them on different server (react on localhost:3000, Django on localhost:8000)?
Ahmad
Or can it be one the same server, when I use get method so it return react app
Ahmad
I've try that though it work but it have so many issues like loading image files, videos and I have to use many webpackoader
Tanner
Something like hosting them on different server (react on localhost:3000, Django on localhost:8000)?
Yes, I recommend using Docker/Dokku so you can have containers running each server. You should be able to handle images and video somewhat easily just by making a request to your DRF endpoints and loading them from storage then once you see where they’re stored (S3 bucket url, etc)
Nima 666
hi guys i'm beginner and I want to learn Django . where shall I start from ?
Nima 666
and is there any source that I can use to learn ?
Doragonsureiyā
hi guys i'm beginner and I want to learn Django . where shall I start from ?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Akbar
hello everyone how can i show only needed instance of model? this didn't work-admin.site.register(models.Answer.objects.exclude(answer_by_user=''), AnswerAdmin)
Najim patel
What do you do after Rest API
Najim patel
What to do after creating a Rest API from DRF
Doragonsureiyā
What to do after creating a Rest API from DRF
Read this please: http://catb.org/~esr/faqs/smart-questions.html#intro
Rahul
i want to dynamically change the email settings
Rahul
i found a source code for this but its not working
Rahul
https://github.com/vitorfs/colossus
Rahul
there is a setting to enter the email host and password and the values get stored but the app is still using the default values from the settings
Rahul
i can't find out where the actual problem is ☹️
Eric
Why do we create superuser in Django
Phill
Why do we create superuser in Django
to manage the admin panel
SHAKEEL
Hello Django Professionals, Need your help...
SHAKEEL
I am planning for Multiple Database Authentication.
SHAKEEL
Can anyone suggest some ideas...
SHAKEEL
Database 1 will be for admins and managements. Database 2 will be for normal users... If possible I am planning to add 2 more dbs
SHAKEEL
Is it possible to change User Authentication model according to dbs?
Rami
hello, does anyone recommend a django package to handle multiple payment gateway backend (stripe, paypal, coinbase)? I checked django-getpaid and django-payments, I dont know if there are others that would be more easy to set up, since those they are and there are not so much docs/tutorials. Thank you very much!
SHAKEEL
Overkill Just use different user types , not multiple DBs
Yes we have alternatives... I did this... But I am planning to use multiple dbs.. I that case idk how to achieve...
♈
How to set I'd filter serach in drf
H i r A
Hi guys I want to have an api for uploading photos in my app but I do not know how to do this. Can you help me?
Anonymous
Hi I want build complete authentication system using Django and React and else whatever I need can u tell me plz
unknown
Hi I have problem with saving data from form input to database instead of saving in database, input displayed on my projects url. Can u help with this issue.