Shourya
Have you tried with other versions of django
Anonymous
AttributeError at /userapi/api/user/v1/signup 'Settings' object has no attribute 'MODE'
Anonymous
i having this error anybbody knows ?
Katia
Hello i need your help please . Is there a way to create an admin panel without using django admin tools ? Thank you
Katia
Yes
Katia
I can't find any good documentation on it
Alex
I can't find any good documentation on it
Its a bit tricky imo but it works
Alex
The permissions are a struggle to set (imo)
Katia
Its a bit tricky imo but it works
How please ? Do you have any documentation?
Alex
How please ? Do you have any documentation?
Do you want a totally new admin page or just customize the admin site functionality?
Alex
How please ? Do you have any documentation?
Sadly no, made it work by fiddling around and trial&error
Katia
A new admin page .
Alex
A new admin page .
Are you going to reuse it for different apps?
Alex
Or just one app you wanna equip with a custom admin page?
Katia
Different apps
Alex
Ah damn
Alex
Im working on something similar currently, if its not that urgent, ill send you something in a few hours
Katia
Yes please and thank you for you help .
Katia
Another thing please could you create a login for users without using forms ? I want to get each field separately to use them on a customized html template ( i dont want to use crispy forms or something)
Aswath
i want to update the value of a model in my db only once. but if i use post save signal , it gets saved each time i update and save the value
Aswath
any suggestions to resolve this type of issue ?
Aswath
please lemme know guys
Aswath
mention me and i will elaborate more
Anonymous
How I can create login and sign up APIs in django
Alex
How I can create login and sign up APIs in django
Using django rest framework, for example.
Aswath
yes bro
Ashlah
i want to update the value of a model in my db only once. but if i use post save signal , it gets saved each time i update and save the value
What kind of update you need to do only once? Btw, post_save will have argument created as sent argument
Anonymous
i want to update the value of a model in my db only once. but if i use post save signal , it gets saved each time i update and save the value
I think you can set one field name signal first to the model and overwrite the save method and in that method first get the object from dB and if that object signal attributes is incremented don't save it else increment the signal and save it man
Anonymous
Guys I need help. Like real help. All hands on deck. I want to have my model have a multiple image field how do I do it. It's a real estate web app. For a property I need to have multiple images to show the web visitors. Guys I need your help 😭😭😭😭😭
Anonymous
Please 😭😭😭
:)
Good afternoon, I am using simplejwt for authentication. Tell me how to get a token in the view from the request to this view? The token is needed in order to be blacklisted later (the view is responsible for logout). https://dpaste.org/qaTT
Arturo
the token is in the header
:)
Thanks
Dhruva
How can one fetch the the particular field in url
tfhx8
Hello, where you find job with django?)
Anonymous
How can we repeat the same page again and again by the same link ?
Sweetie
I know it can be done in Django but you were talking about FastAPI and the topic would be gone in that way so our offtopic channel is better 😊
I am making a shopping deals website. How should I model my database. Have one table for deals and insert all deals there with a site column. Or create different tables for different websites. For images I am thinking to make a foreignkey relation that will hold all images of particular product.
Anonymous
I don't understand a thing🥺
Inside ur model add one attributes Signal = integer field make default=0 then in that def save (self, args..): Try a=model.objects.get(I'd=id) If a.signal < 2: Super(model,self). Save.(self,args...) Else: Model.signal = 0; Super(. .).Save()
Dhruva
what field? In which url?
I want media/status/<title>
Dhruva
Title to be fetched
Dhruva
It should like this in path
Ashlah
I want media/status/<title>
https://docs.djangoproject.com/en/3.0/topics/http/urls/#example
Asif
Is there any book to learn Django
Anonymous
Is there any book to learn Django
Django docs is the best one available
Doragonsureiyā
Is there any book to learn Django
Check out PythonRes, a channel for Python resources (links to help you out).
Dhruva
How can I make a multi form template in which the data is being stored and so one can go to previous and next accordingly and save the previous written content
Alex
You need to make a few <form> in your template and then stylize them with js and css.
Dhruva
So I can make suppose 4 template forms and then merge everyone with each other
Dhruva
But the main thing I want to know is about Database
areeb
Has anyone worked with angular and django
areeb
I have some queries regarding that
areeb
If someone is available please ping me
Doragonsureiyā
Has anyone worked with angular and django
Please don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello I need help on $z" Just ask about your problem directly! With 52k+ people the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
areeb
Ok sorry my bad
King
Good morning everyone.. Happy to be here... I built a website using django, but I could not figure out the code to write to enable each articles have share link to social medias...
sohrab
What is Django in system local mobile with platform Android programing?
Mirco
What is Django in system local mobile with platform Android programing?
you can build API with Django and Android app will call them
sohrab
Thanks I meant that it can be programmed with Android instead of computer operating systems?
Dhruva
How can I add questions in the database?
sohrab
nope
Ok tanks
Mirco
!yw
Doragonsureiyā
You're welcome! 😊
Dambe
For those interested in Webmapping application, like GeoDjango, here is a package I am working on. Please check it and give some feedbacks
Dambe
https://pypi.org/project/django-geolocation-fields/
Dambe
Here is the github page https://github.com/syk1k/django-geolocation-fields