In university as a part of a project we have to develop a liga system with Django. I have my basic app running and also my models are already set up. from djang
My Django project uses django_compressor to store JavaScript and CSS files in an S3 bucket via boto via the django-storages package. The django-storages-relate
My Django project uses django_compressor to store JavaScript and CSS files in an S3 bucket via boto via the django-storages package. The django-storages-relate
I have created child ('Bid') model related to a parent(Post) model in my Django project. I also created a BidForm which I have added in my B_Bid.view so that ty
There are places in my code where I want to temporarily change some of the attributes on a model object without changing the data in the database. Obviously Dja
I have two models, one with M2M relation and a related name. I want to include all fields in the serializer and the related field. models.py: class Pizza(mode
After migrating my django and userena packages like below Django 1.8 to Django 1.9.7 django-userena 1.4.1 to django-userena==2.0.1 After running the
I am trying to deploy a django app on GCP but when i try to make migrations it gives me this error: ImportError: Could not import 'rest_framework_simplejw
I have written code to upload a file in Django as follows: def upload(request): if request.method == 'POST': form = UploadFileForm(request.POST, request.FI
I want to NOT serialize anything. I just want to return what is equivalent to HttpResponse(blah)
ERROR: raise exceptions.ValidationError( django.core.exceptions.ValidationError: ['“” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:s
I have the following code snippet: user = User(username='[email protected]',email='[email protected]') user.set_password('pass') user.save() u = authenticate(username='[email protected]', p
I am trying to get started with openwisp-radius with django project. after setting up my django project with openwisp radius when i run py manage.py migrate i r
I know there are several questions/answers about this, but I can;t figure out what I should do. I wanted to get started with Django and installed it with pip i
When user enter email for password reset then error arise connection failure which is related to server failure error .
I am a newbie. Just got setup the apache server in windows. But now I need nginx to serve my static files and I think I have searched almost everywhere how to c
I am trying to docker-compose up my containers, one for backend and another one for the database (postgis). If I docker-compose up db, I see db_1 | 2021-11-23
Whenever i try to make a HTTP request to some url through my django application which is running on top of apache mod_python (Machine: Ubuntu 10.04 server editi
I am setting up a new Django project to deploy on Heroku, however when I am following the Django Heroku deployment guide I come across an error during 'pip inst
I'm new to Django, but an older programmer ;o) I've managed to create a functionally working site that has 5 tables. Where each one is a 1-to-M relationship to