I am trying a tutorial on Django called blog. I have the following structure: FirstBlog|FirstBlog settings urls __init__ etc blog templates | index.html migra
I fetch a proto object from an api , is there anyway I can validate that the response is a proto object. One thing which I did was check content-type as mentio
I am trying to run a filter in Python/django. All the data is coming from DB. This query currently works but I want to able show it in ascending order of Name f
My config is as follows: STATIC_URL = '/static/' MEDIA_URL = '/static/media/' And since I upgraded django 2.1 to 2.2 I get: "runserver can't serve media if
I am looking to shift out of Postgres to SnowFlake as some of my features require run time analysis which is faster in Snowflake. I could only get the Python c
I am using Django 1.9. Base on the Django documentation: " To log a user in, from a view, use login(). It takes an HttpRequest object and a User object. login()
I'm trying to write the code to enable form data to be sent to the backend database. The form is just a few fields, name, website, and portfolio address created
I have implemented mypy in my django rest framework but I am getting errors ModuleNotFoundError: No module named 'config' while running mypy.Is there any wrong
I'm currently building an API with Django Rest Framework and I want to have two viewsets. One related to my User model, and one single route to verify a User em
How can I configure Azure PostgreSQL database in Django settings.py using Managed Identity in Azure?
I have created an app in Django and want to use Google Cloud Storage to keep my statics and media files. However, when running python manage.py collectstatic It
I was trying to find a way to start an animation only if the user is on it, at first I tried getting screen size, and its works, but its not an optimal solution
I'm trying to write a Celery(v. 4.2.1) integration test for my Django(v. 2.2.3) application. There is a bunch of outdated articles about this around, but non o
In my Django project I have a user_manage app. I create a model named UserManage in my user_manage app's model.py: from django.db import models from django.co
When a user in my Django app cancels their account, I set is_active=False in the auth_user table. However, if that use signs up again, Allauth complains that th
How can a user login in multiple devices because what we have is just a single Token Authentication on our django app. As an authenticated user when I login on
I want to set an image as a submit button form: <form action="/final" method="post">{% csrf_token %} <input type="hidden" name="title" value="nilo
I think this should be a fairly straightforward question . . . I have ONE Django form with TWO different submit buttons. The first submit button is just for SAV
I have develop a project with Django/Docker/Postgresql and use docker-compose to deploy on a linux remote server. I want to deploy 2 apps based on the same code
We are currently deploying our Django APP on AWS Elastic Beanstalk. There we execute the django db migrations using container commands, where we assure we only