when DEBUG=TRUE,media_url is working,but DEBUG = False ,returns not working. This is my setting file. setting.py DEBUG = False ... MEDIA_URL = "/pics/" MEDIA_
I think i tired everything in trying to solve this problem. I'm getting a NoReverseMatch i understand its from my "urls" but that's basically it, I was using ur
I added a new permission to my model, and than used manage.py makemigrations. it created a migration that alters the model options (specificly the permisions..)
I have a question about cors implementation in django. Having a problem with setting the correct cors values. My deployment is on docker. I have a deployed 3 co
I have started to work on a Django project, and I would like to set some environment variables without setting them manually or having a bash file to source. I
I am using Ubuntu 18 servers and using nginx with gunicorn I follow Digitalocean tutorial for server setup. I successfully did for one project but now I need to
Using django-allauth I've enabled google authentication on backend. I can sign in to my Django project and everything. Now, I want to connect that authenticatio
I am editing a large number of model instances in django and I would like to save all these changes at once. The instances are already created so I am not looki
I am using Django Rest Framework Token authentication and if i do curl http://localhost:8000/api/v1/users/?format=json -H 'Authorization: Token 0a813fdcd3f8846d
I have integrated swagger with django rest framework, but the swagger docs does not create a input box to post data for post request. I am using Function based
I would like pytest-django to install a Postgres extension when it creates a test database. I've been mucking with conftest.py to try to get this to work, but
I'm doing simple to do app in django. I want user to have possibility to add boards and task (task is specified for board). When user is adding task (form creat
I am very new to django and was able to finish the tutorial on djangoproject.com without any errors. I am now going through the Django REST framework tutorial f
I used to have a model like this: class Car(models.Model): manufacturer_id = models.IntegerField() There is another model Manufacturer that the id field re
I have problem that i done every thing as described in tutorial https://docs.djangoproject.com/en/1.5/intro/tutorial06/ and every thing also running fine but cs
I have no idea what may cause this issue. The only change I've made was add the loginquiredmixins to my class-based views. Once I started stylising the login pa
I am trying to use Paramiko to make an SSH communication between 2 servers on a private network. The client server is a web server and the host server is going
Is it possible to modify Django Q() objects after construction? I create a Q() object like so: q = Q(foo=1) is it possible to later change q to be the same
i'm using Redis with Python and Django and i have some trouble with the delete of Redis. I create hash key to store multiple informations about a vehicule, but
I don´t know what is wrong in my code. I´m trying to use send_mail using django.core.mail.backends.smtp.EmailBackend but is not working. The securit