Atul
Please help me in making drf for login and registration
😇ANGELO™️🎧
Anyone?
The models should work if you've saved it well. Check that you have added all static files to settings.py file
Krishna
The models should work if you've saved it well. Check that you have added all static files to settings.py file
Yes i mentioned static url and static root used collectstatic too.. Models are working perfectly but not getting the css of admin site
Naol
use developer tool and if it is included in the page
Tech
Anyone please tell me how to tack a model in django i.e who created who updated who deleted with date which should display in html R else please tell me how to create custom histry model
Naol
the admin page keeps track of edited data, you can impliment or extend from the admin in some way, check the documentation if it is possible.
Hikmet
Hello! I have a problem in django rest: when I post data to the api, it gives me this data or its id, if fields are related. But now I want it to display not the ID, but the name of this field: for this I applied the SlugRelatedField in the serializer of this product and rewrote the queryset parameter. And now the problem is that when I post product, then after submitting it gives the error MultipleObjectsReturned get () returned more than one Model Name - it returned 3! Here is the models, serializers and api - https://dpaste.org/GYDG#L P.S When I am inserting a product from admin panel, it works fine
Tech
the admin page keeps track of edited data, you can impliment or extend from the admin in some way, check the documentation if it is possible.
Thank you for replay can u please tell me retrieve that data other than admin page Can u please share me the link
Raj
Can u suggest me how to access data from data base from two columns and wanna concanate them with one column in django
Anonymous
event.sender_id
John
Is it possible to delete all the unused package from my django project
John
I will install some package for testing some parts of applications but now it's very hard to indefinite which package is use or which not
Michael the wolf 🐺
Hi, I have an installed app in a subfolder, so I used app.subfolder in INSTALLED_APPS, but AUTH_USER_MODEL isn't working
Michael the wolf 🐺
It says it should be in some other format
kevin
Any one know how to solve "fatal error in launcher"
Doragonsureiyā
Any one know how to solve "fatal error in launcher"
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 ~80,000 people here, the probability that someone will help is pretty high. How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
kevin
How to fix " fatal error in launcher:unable to create process using"
Cacio Lucas
Guys, I'm working with a legacy database, I created the database router, and it's working, but, I have a new problem. The table names, in my legacy and new databases, are different, so I always get the pyodbc.ProgrammingError: ('42S02', "[42S02] [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'table-name-in-new-database'. is it possible to make this work?
Hikmet
https://www.django-rest-framework.org/api-guide/fields/#serializermethodfield
Yeah I read abt this method, but the problem is it is read_only field. I need also to post into this data
Pratik
i'm getting this Direct assignment to the forward side of a many-to-many set is prohibited. Use users.set() instead.
Pratik
can any help me to solve this error
Pratik
Ok so can tell me how assign
Mirco
Ok so can tell me how assign
go back into Django docs and have a look at Many To Many
Anonymous
https://pypi.org/project/djangoroku/ Hello django family😁 Here's the package which helps to deploy django app on Heroku rapidly Feel free to check it out and Contribute🎯
Anonymous
😁😁😁😁
😁😁😁😁
sainath
Can anyone guide me to learn django 😊😊
Doragonsureiyā
Can anyone guide me to learn django 😊😊
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Dennoh
😁😁😁😁
Nice job Stanley
Krishna
when I'm trying to do Debug=False my admin site css and js not rendering in browsers developer mode it's showing error of mimetype [" Refused to apply style from 'https://site.com/static/admin/css/nav_sidebar.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. "], I added " mimetypes.types_map['.css'] = 'text/css' " but its not working
Krishna
in debug=True mode its working fine
Dennoh
getting same erro
Share the log
Dennoh
Any 404 file?
;)
hi everybody , is there anyone that Build a barbershop website , that users can booking time
Sobhan
I dont understand url in djanoo, What's differnt urlsapp vs urlproject?
Yash
Can anyone suggest best django book
Mirco
Can anyone suggest best django book
William Vincent collection and 2 Scoops of Django for best practices
Akash
How lazy and lame have people become ! They can't even search Cost of a book !
Anonymous
How to Use login_required in django3
Mirco
Cost ?
I don't remember honestly The average is 40$ as I remember
Mirco
How to Use login_required in django3
In the same way of Django 2
Mirco
Maybe it's just your code that is wrong
Mirco
I can 100% tell you it works
Anonymous
I can 100% tell you it works
Cn u gv me codes step by step
Anonymous
what's wrong
I will text u prsnly
Yash
How lazy and lame have people become ! They can't even search Cost of a book !
How much rubbish people have became they are having so much time to comment on others
Anonymous
Share your code
Personal dm??
Mirco
Personal dm??
No if you don't wanna be warned
âshîsh
Can anyone suggest best django book
Official documents are more helpful than books, because it's always updated , full of examples and best part is can apply while reading
Zarif
Hello guys, what libraries are available to separate text from a passport
John
Uninstall the package and make a new requirements.txt
But I don't know which package is use or which not that the problem
Anonymous
Can anyone suggest me how to build paid subscribtion based website , sources to learn
John
Can anyone suggest me how to build paid subscribtion based website , sources to learn
I think you tried to find on YouTube nearly 8 9 month ago I saw this type of video but now I doesn't know which is
garrip91
What is better: ".annotate" or ".aggregate"? I need to sum values in column
garrip91
garrip91
What is better for me in my situation?