Junior
What the best library to auth?
pranav
Mirco
Husen
Rose
User Viren has 1/3 warnings; be careful!
Reason:
Offtopic: only whatsapp itself can help you
Rose
User Forouzan has 1/3 warnings; be careful!
Reason:
rule #1: speak English
Shawna
how to add phone field to django user without changing the django defualt user setup ?
Shawna
i want to add the field to the User model it's self
Shawna
Shawna
can you share the deufalt user model by django ? i looked for it did not find it i want to know how they created the user model and want to see fields
chintu
@app.task(bind=true, result_expires=60) result_expires is not working on task level it is working has per global declared level in django settings CELERY_RESULT_EXPIRES = 30
chintu
Qwerty
can anyone help me with this ?
are you sure this is how it should work? I don't see in the celery documentation an example of using expires at this level.
chintu
Qwerty
Cheru
Someone to help me link sql with html
Cheru
Been trying to link my sql database (test) with an index.html but have not succeded
Rose
Poya
Hello
I saw Django's tutorials and now I want to do a test project so that I don't have to remember the concepts and can practice and I want to focus more on APIs and I don't want to work with templates.
If you have a project idea that can challenge me, I would appreciate it if you introduce it.
Xusrav
question?
Let’s say my friend and I are developing a FullStack project remotely, I am the Backend part, and my friend is the Frontend part, after I wrote the API, how can I transfer it to my friend so that he can use it for the Frontend part of the project?
@u_one23
H🅴X🧶
ASR
What changes should i make, if i want to use my custom user model for jwt authentication. I am using mongodb
cj
Luiz H.
i'm using the Soft UI Dashboard Django.
I changed the primary color and primary gradient colors in scss , recompiled using gulp and added the css file in static/assets/css
but the app is still using the css from template's static folder . do I need to change some configuration to get the css from my static ?
Luiz H.
I'm following this
https://github.com/creativetimofficial/soft-ui-dashboard-django?tab=readme-ov-file
and https://www.creative-tim.com/learning-lab/bootstrap/build-tools-free/soft-ui-dashboard (Recompile CSS topic)
Luiz H.
the inspect in browser is correct, but the color is from original template, not my new colors
<!-- CSS Files -->
<link id="pagestyle" href="/static/css/soft-ui-dashboard.css" rel="stylesheet">
<link id="pagestyle_dark" href="/static/css/dark-theme-core.css" rel="stylesheet">
Charly
Luiz H.
sorry guys 😂😂😂
Rose
User M. Hossein has 1/3 warnings; be careful!
Reason:
don't ask for groups here (rule #6)
Prakhar
I want to know whether we can make authentication in firebase and create other stuff in django
Charly
Charly
why you want firebase when django already has an authentication system?
Prakhar
Phone number verification otherwise we need to pay the cost for otp service
Charly
Prakhar
Can you please share any resources that teach me how to integrate with firebase and make authentication system
Charly
Eudes Gaël
Could you please suggeste any course that teach Django and PostgreSQL?
Rose
User Ruchitha has 1/3 warnings; be careful!
Reason:
offtopic and piracy
Rose
User Xusrav has 1/3 warnings; be careful!
Reason:
recommending ChatGPT
Rose
Could you please suggeste any course that teach Django and PostgreSQL?
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial (https://docs.djangoproject.com/en/dev/intro/tutorial01/)
* Tutorial from MDN (https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django)
* Tutorial from django-girls (https://tutorial.djangogirls.org/en/)
Eudes Gaël
...
i have tried to solve the problem dictionary update sequence element #0 has length 0; 2 is required error all day but a couldn't i also tried to see in the stackoverfllow but it couldn't solve the problem. i have checked both the template and the view it is correct .so any one who has faced this type of problem and tell my if you solved it. i am using django version 5.0.3
Rose
User Willi@m. has 2/3 warnings; be careful!
Reason:
crossposting
ManDo
Hi. I am following Django docs about Paginator but I wonder about
using "Contact.objects.all() here. if I have millions of records in Contact table, will the performance be bad?
def listing(request):
contact_list = Contact.objects.all()
paginator = Paginator(contact_list, 25) # Show 25 contacts per page.
page_number = request.GET.get("page")
page_obj = paginator.get_page(page_number)
return render(request, "list.html", {"page_obj": page_obj})
Morteza
ManDo
Cmd
Hi.how i can put the key between posts that can chek previous post and next post in views.py?
Sergi
who knows how to write a middleware so that the license is checked every time the page is updated?
now it looks like this:
class LicenseCheckMiddleware:
def init(self, get_response):
self._get_response = get_response
def call(self, request):
if not self.is_license_valid(request):
return render(request, 'temp/bad_license.html')
response = self._get_response(request)
return response
def is_license_valid(self, request):
return False #for tests
morty
Hi how can i reach out all raw sqlite queries from django orm ??
Rose
Rose
User Yuriy has 1/3 warnings; be careful!
Reason:
rule #10 violation
Rose
User P Y t H o n -$ has 1/3 warnings; be careful!
Reason:
totally offtopic
Yan
Hi
How can I integrate translation into a django project?
Wendy
Change language?
Yan
amira
i am new into django i have a problem to use the default admin page i made a data base using sqlite containing user names and password (integers ).. how can i connect it to the admin interface to django to test the data depending on it
Wendy
Yes
Open settings and find
LANGUAGE_CODE
Arneeth
Does anyone know any other course to learn django rest framework other than DRF Documentation??
Deepak
Y I'm getting response 200 but data was null
@u_one23
Arneeth
Avneet
Deepak
Avneet
What is the issue is the data not adding in db or it is adding in db but in response it is showing null
Deepak
Response was null but data has been added in db
Charly
Deepak
Convert of json to python object or serilizer or python to json
Deepak
Ok cool
Husen
Hello everybody. I want to cache the data in listapiview in drf through redis without using docker but I can't do it please help
Charly