I'm creating an app containing 3 multiple choice questions. The second multiple choice options are dependent on the response to the first question. To accomplis
I'm trying to cancel one "posted" delivery when the user clicks on the button "cancel", but it cancels all the posted deliveries below is the views.py . views d
In my template I have for loop. As you can see the id for each radiobutton is represented by {{stud.id}} . {{stud.nameAndSurname}} shows the name and the surnam
I just started using session in Django framework. I have create an object cart from Cart model. And when i wan to set cart inside request.session with session['
I'm trying to generate a data structure following this sample: [ { "name": "groupname", "key": "grouping1", "base_templates": [ { "i
Following the documentation and online tutorials on setting up my gunicorn.service results in ModuleNotFoundError: No module named 'my-app' when I run sudo syst
So i want to make models form to upload file mp3. I was copy the code from website, but suddenly it's not work. there's no error message in terminal or console
I have developed a web app in Django and deployed it then I found out that admin page is not loading with CSS. I was gettting the admin page with css in local s
I have a dockerized DRF project with installed NGINX in it. All works fine except one thing: Django debug toolbar requires INTERNAL_IPS parameter to be specifie
I am trying to run the following command in docker-composer, to start project with django-admin: docker-compose run app sh -c "django-admin startproject app ."
I'm using django-ckeditor with this config: 'enterMode': 2, 'forceEnterMode': 'true', 'basicEntities': 'false', 'fillE
I have a bit of a strange problem that I'm not quite able to explain. I have a django project with some old, stale objects lying around. For example, lets say
I have a model and UUID as primary key field. UUID id is way too long. I'd like to have it short similar to YouTube. class Video(models.Model): id = models
This is my views file: I have made a token file to generate a link and info file for details like EMAIL_HOST_USER and etc. current_site = get_current_s
I have changed the password of the digitalocean droplet then after that the website is not working at all and the api's for the mobile application is not workin
I have a Django app which returns a large JSON while calling an API. The problem is when I'm requesting the data, the data itself is truncated which is crashing
Say I have the following models: class ParentModel(models.Model): parent_field_1 = models.CharField(max_length=10) parent_field_2 = models.CharField(max
There are a lot of questions similar to this one, but none quite capture the situation I am in. I am coding a Django/ React app and I have integrated with Spoti
I'm having a problem with running unit tests in django while using ElephantSQL, when running command python manage.py runserver everything works just fine, I'm
How do i check whether a date has expired or not with respect to today in filter condition. eg: task = Task.objects.filter(job=obj, status__in = ["in-progress"