Muflone
Muflone
also remove the slash from the url
Алексей
Muflone
Алексей
Muflone
Keep equals what?
the url specification in urls.py and the url used in your template
Алексей
Muflone
apart this why is your logout form pointing to login ?
Maxim
Алексей
Afshin👀
Afshin👀
i can not find
Maxim
the packages
i didn't name anything that could be installed or imported
Afshin👀
oh sorry i think so the official is a package
Afshin👀
did you mean docs of django or somethink else
Afshin👀
i am new in django
Maxim
Afshin👀
ok thanks
Maxim
Uzumaki Nãruto
rule #10 violation or, at least, totally offtopic
read only 1 week
Anonymous
django.core.exceptions.ImproperlyConfigured: allauth.account.middleware.AccountMiddleware must be added to settings.MIDDLEWARE
Anonymous
Anonymous
Anurag K
Anybody help me for google authentication with custom user model
In my user model there is no username field
When i try for signin using google it shows username filed not exist
giorgi
ARCEE
https://stackoverflow.com/questions/77814054/i-m-not-able-to-send-json-data-to-django-views-py-im-trying-ajax-for-this-but
ARCEE
can anyone solve this pls
Assadh
Hello everyone, I want help in creating a custom primary key in model, but I cannot. Every time Django creates the default key(id).
Charly
Muflone
ali
Hello friends,
Do you know how to make a model inline again in the admin?
I used django-nested-inline but it didn't work
Assadh
class x(models.Model):
x_id = models.IntegerField(primary_key=True),
name = models.TextField()
def str(self):
return self.x_id
Assadh
Stevo
How to make a download button to download something from your view
Mai
Stevo
Mai
u should read about FileResponse
Stevo
Ok
Stevo
Thanks
Patricia
Hi everyone. I'd like to ask what's the right way to deal with something: I know that Django should redirect requests made to a url without a trailing slash, since APPEND_SLASH=True is default. However, I found that it depends on the client making the request and on the type of request (I was having problems with postman handling GET perfectly but having trouble with DELETE, unless the url had a trailing slash). I solved the issue by using re_path to make the slash optional. But I wonder if that's the way to go. Are there other options?
Naughty
How to deploy DRF and react freely
Shoxmalik
Potential causes of 'Not Found: /static/img/carousel-1.jpg' in django with docker
cj
Charly
renji
app.models.complaints.DoesNotExist: complaints matching query does not exist. anyone can help
Zokirshoh
Hi every one, i need some help, https://dpaste.org/3VPwJ , here it is wrting my object datas to excel file perfectly but i need to wrting the name of the object if it is foreign_key or M2M, thank you in advance
Kesav
How to implement mobile OTP authentication login forms in django
Prakriti
Does anyone know how to solve the favicon error that shows while running django project?
John
Does anyone know about how to add extra fields in default User module
John
Muflone
J
Hi guys I need a little assistance with a web scraping inside django
Behzad
how connect django rest with nextjs?
Maxim
@SAWRIYO
crossposting
read only 24 hours both group
John
John
Why we use rest_framwork in django
ruthless
ruthless
Application programming interface
Vishnu
Can someone suggest me best authentication for django rest framework APIs. Am not using any frontend libraries instead am using django templates and javascripts for additional functionalities. Session authentication or jwt authentication is best? Many say jwt is insecure because of its caching. Please suggest something without any extra library
Maxim
New Thinking
rule #10 violation
read only 1 week
Prakriti
Артём
I have a Product model. Every model’s supposed to have an image. What’s the best way of storing images path, eitherArrayField or foreingkey ?
Maxim
@fy_ziii
crossposting
read only 24 hours both groups
DeathLikeSilence
hello everyone,
i have a view class that users can register and their data get saved in sessions. In another class named OtpCode I've used this session, after receiving Otp code the session data will get saved to the database. The problem here is that the response I return to the front-end, OtpCode is visible and okay but the session_id is null. front-end is with react and back is with django .
Should I change or add something in setting.py?
Vaibhav
Can any one help me to learn django framework?
Maxim
Can any one help me to learn django framework?
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. If you don't know what that means, read Asking Smart Questions.
ㅤMeraj
Professional
I am getting page not found in Django can any one help me
st9_8
King David
Django model save explain
Shoxmalik
Essentially , Django talks to db with ORM ( which is python syntax , for-example , new = School.objects.create( name =' Axi ') , but it does not get saved to DB unless you type new.save() . Then there will be school with the name of 'Axi' in db
Vishnu
Suryo Adhy Chandra
Paridhi
Hi all
I am working in a support project now having 2 years of exp but wanted to switch my career to django developer.
Can anyone suggest me what are the skills I need to learn so that I can switch as a 2 year exp person as django developer