I'm running into an error after deploying my django app to lambda using zappa. This is the error: {'message': 'An uncaught exception happened while servicing th
i've been trying to get crispy forms working for 3 hours now it's driving me nuts, please help! (or suggest another/better way to style forms in django?!) i hav
I am trying to install django in python. This is my code. conda create -n djangoenv python=3.8.5 anaconda conda activate djangoenv conda install -c anaconda
output: 'static' in the STATICFILES_DIRS setting does not exist. I've tried os.path.join(BASE_DIR, '/static'), but it is doesn't work. I didn't have this probl
Given a Point (django.contrib.gis.geos.Point) how do I find another point 1 mile east from that Point object? (A) ---[ 1 mile ]---> (B) My failed attempt
I am using django 3.0.4 and python 3.6.9. I have to use hset operation to set some values in redis cache. My try: from django.core.cache import caches cache.s
I created static directory which included css and image files in my Django project. When I run my project the css do display("GET /static/website/barber.css HTT
This is a well-known issue it seems but I have spent 8 hours trying to fix the issue without any success. I have been running a Django project with Apache2 on t
I want to create one page site with navbar links which redirect to some part of the page. How add class "active" to a link if url is based on anchor (#)? <
I am learning to build a Website on Python Django, but when I create a HTML file in VS code, this Editor don't recognize this file. You can see in following pic
I have no knowledge of what I'm trying to understand, surfing the internet brought me here and now I need this in my code. I use django-rest-framework, gunicorn
When I run my Django Web application with Apache2.4.41 + Python 3.8.1 + Django 3.0.2 + MySQL 8.0.19 on Windows 10 Professional version it throws Value Error at
I just got Black and Pre-Commit set up for my Django repository. I used the default config for Black from the tutorial I followed and it's been working great,
How to show multiple charts on Django use python-highcharts ? When I Show multiple charts, it shows Uncaught Error: Highcharts error #16: www.highcharts.com/er
I am using SQLite3, Ubuntu server. I have checked the read and write permissions of the database file. It is: -rw-r--r-- Doesn't this mean that the file has rea
I have a model class myModel(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete = models.CASCADE,null=True) start_price = model
I've been trying to solve this one all week, help very much appreciated. I have various schemas in a postgres db and I would like to be able to map to them fro
In django my posts are deleted but the files are not. I have a image field in the model which i want to deelete whenever the author deletes it. I'm using generi
I have a Django app hosted on Heroku, and my stylesheet isn't loading. Now I've taken the time to read the other questions on this issue, but I believe each sit
I have a django project where I have kept all the static files in a project level static directory. I have included STATIC_URL = "/static/" STATIC_ROOT = os.pat