ps
Anonymous
ps
Like i have states in js file need to use that in admin
Kushal
http://pastebin.com/q5ShHUcv
Code
http://pastebin.com/q5ShHUcv
you're using the 'get' method which can only handle one object. recheck how you're trying to retrieve the record
Kushal
Kushal
Problem was only 1 number user
Code
Problem was only 1 number user
if you're trying to access more than one record, then don't use 'get'... unless you're passing the record to some kind of list/collections object
Kushal
Code
a filter could work but it really depends on your code and your intent
Arsen1c
Hey anyone worked with MariaDB? I need help
https://pastebin.com/fdK17X1y
Arsen1c
When i make a query to the DB asking for username(returned from request.form) and only grab the first result(using fetchone()) it returns NullType
Anonymous
Hi I am new to django python. I want to make one login page with LDAP authentication... Anyone please help me.. Please send me any link..
Anonymous
For reference..
Alberto
Hi:
pastebin.com/vnhaQxTF
I don't know why but when I load my web I get an error: Cannot find template
Any suggestion will be much appreciated
Code
Alberto
Prahlad
I have to implement a rating system any referrences
Cheap
https://stackoverflow.com/questions/61512642/not-able-to-connect-to-postgresql-in-production-using-aws-rds Anyone please?
Cheap
Daniel
Hello, one question.
Im trying change de input select tipical in a manytomany relation to other input to adapt with my template
Daniel
but i dont know how to do this
Daniel
Any idea?
محمد
Can you use choices in form fields
Daniel
how? because when i insert my form directly insert tipical select input
saran
Hello guys I'm getting a error, like value error: cannot alter field f_suplier.Product.images into f_supplier. Product.images - they do not properly define db_type.
I'm getting this after I tried to change my dB from sqlite to postgres. I tried faking it. But its affecting my other models. When i try to insert a data. No table found like that. What might be the reason.?? Please find out
saran
I fixed it.
Florencio
Any hint about how can I implement this? Should I go for a completely custom form or can I use generic CBV plus something? https://pasteboard.co/J6a7QWX.png
Aneesh
Any one know how to load static js file other than using static functions
Florencio
Aneesh
I need to load js static file into my template.bt the staticfiles_dir is already in use.
So I cant use that thing
Is there any other method for that
cj
cj
I'm pretty sure you configured bad the STATICS section in settings.py
Aneesh
Nop I cant use the staticfiles_dir function
Aneesh
It is already in use
Aneesh
Is there any another method for that
Aneesh
That's what iam asking
Cheap
Cheap
its list
Aneesh
Thanks for helping .bt iam not getting the out
Anonymous
Can anyone tell me to retrieve deleted data from model.?
Sarthak
https://www.google.com/amp/s/www.cloudbooklet.com/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-18-04-in-google-cloud/%3famp
following this tutorial, but gunicorn fails to start
Sarthak
please dm to help
Alberto
Sarthak
hello
Sarthak
🙏
Sarthak
please help
Florencio
Sarthak
Hi I have tried to change the working directory, and project directory
The error is
Job for gunicorn.socket failed
Ярик
guys, can someone help with messages in django?
im calling a success message with SuccessMessageMixin and setting a WARNING message tag
im implement it in template with bootstrap like so alert-{{ message.tags }}
but the message has a green (success color) instead of yellow (warning)
Sarthak
Sarthak
it actually ran by a dfferent method
Sarthak
thanks
Sarthak
but Idk what was wrong earlier
Sarthak
Now when I run curl --unix-socket /run/gunicorn.sock localhost
it gives error Recv failure: Connection reset by peer
krishna
Hii I'm new to django.
Currently I'm working with images using drf.
I'm able to upload single image.
I'm not getting how to upload multiple images using drf.
If Anyone knows about this please help. Thanks in advance
Anonymous
Hii
I need one help there is one my nested serializer device_types = DeviceTypeSerializer(many=True,read_only=True)
which is not shown in response even I added in fields.
krishna
I tried but none of them are working for me.
I will be thankful if you can share the link.
Florencio
krishna
Thanq
Prosper
hi
Sarthak
Florencio
Sarthak
failed to start gunicorn daemon
Sarthak
gunicorn.socket is listening
Sarthak
but gunicorn status is down
Sachin
Sachin
Help guys
Yacov
Anonymous
Looks like your having problems with static files on Heroku. I'd recommend reading the docs on it.
https://docs.djangoproject.com/en/3.0/howto/static-files/
Anonymous
Kushal
https://groups.google.com/forum/#!topic/django-users/u208a0IbDTk
Kushal
Test
Hello, recently I asked a question in stackoverflow and still I didn't get anything.
Test
Can I share the link of that question here?
محمد دلشاد
how can i extract details from a table which is in OneToOne relation with User table