Django-Compressor cannot find files when it's actually there

I just installed django-compressor to my project and I am getting below error message. TemplateSyntaxError at / Caught UncompressableFileError while rendering: 'js/jquery-1.7.2.min.js' could not...

Installing pyOpenSSL, cryptography on heroku

I'm using the following requirements.txt for...

Pycharm Django Debugging is really slow

I have a moderate size website but it takes about 30 seconds for PyCharm to start Runserver and be ready to run the app. If I "Run" the app instead of "Debugging" it will only take about 3 seconds...

mportError: PILKit was unable to import the Python Imaging Library. Please confirm it`s installed and available on your current Python path

everyone. I home some problem. I have django project. The project use django-imagekit. If I run app with help command: python3 manage.py runserver - all works! BUT! If I use mod_wsgi I get...

Django error django.contrib.messages.storage.fallback.FallbackStorage

I tried to install celery with redis, on localhost works OK, but on production server i got this error: Internal Server Error: / Traceback (most recent call last): File...

error to execute djangocms -f -p . mysite

I have a problem when I execute djangocms -f -p . mysite the process started but failed when it have to create an admin user. Creating admin...

Django app defaults?

I'm looking for a way to have application defaults and settings that are easy to use, difficult to get wrong, and have little overhead.. Currently I have it organized as...

Could not find a version that satisfies the requirement pkg-resources==0.0.0

My app is deployed on heroku. When I push my code via git push heroku master. It gives me this error Collecting pkg-resources==0.0.0 (from -r requirements.txt (line 14)) remote: Could not...

How do I resolve the "'mathfilter' tag 'addition' stopped working since replicating django project" error?

Recently I moved a Django Project to a new virtual environment. Everything appears to be working fine, with the exception of the following error: TemplateSyntaxError at /profile/ Invalid filter:...

Docker - Python dependencies for installing modules via pip

I am building a Django implementation with docker. I'm using the python container as base, but in my requirements file I have the...

ImportError: cannot import name 'hex_regex'

I'm working on adding django-location-field. However when I add the following code from django.contrib.gis.geos import Point from location_field.models.spatial import LocationField address =...

i am getting error The 'make' utility is missing from PATH when i am building Docker file

when i build docker file i am getting error as 'The make' utility is missing from PATH. This is my Docker file FROM python:3.6-alpine ...

render() unexpected keyword error in Wagtail admin templates

I'm in the process of upgrading from Django 1.11 and Wagtail 2.0 to latest versions of both. Everything seems to be working except when I try to edit or create one specific page type I get a...

KeyError: 'collectstatic' When deploying the Django application to pythonanywhere

During the implementation of my Django application on pythonanywhere for the first time I encountered such an error. Previous applications with a very similar structure were able to be implemented...

'OAuth2Token' object has no attribute 'authorize' even with google-auth-httplib2 installed

Trying to build a Google API resource I'm getting an error saying 'OAuth2Token' object has no attribute 'authorize' I read here that a solution is installing google-auth-httplib2 however I have...

Error connecting django-rq: ImportError: cannot import name get_failed_queue

Never worked with django-rq, redis. The problem should be solved easily, I think, but I do not know how. When I start the server, I get this error ImportError: cannot import name...

ModuleNotFoundError: No module named 'django_project'

After running makemigrations Django falls with ModuleNotFoundError: No module named 'django_project' $ python3 manage.py makemigrations Traceback: Traceback (most recent call last): File...

Django website is loading slow on Heroku, it is not because of QuerySets

Have website that is running on simple generic Class-Based Views. First I thought - the QuerySets are the issue but since all my queries are lower than 8ms, that is not the issue. Locally the...

Docker & Python, Speed up when your requirements.pip list is huge?

Say you have a rather large requirements.pip when you modify a requirements.pip, it takes ages to build Docker image because it has to download and install all packages in requirements.pip Is...

requirements.txt Issues while deploying Django on AWS Elastic Beanstalk

I am trying to deploy a Django APP on AWS Elastic Beanstalk, but i have been dealing with this requirements.txt file invalid error for hours. Please any help would be apppreciated Erros...

I am unable to deploy my django 2.2 project due to a static files error

I am trying to deploy my Django 2.2 project with Keroku to see what it looks like during production, but it does not seem to work and I am finding it hard to debug the issue as there isn't solid...

Invalid template library specified. ImportError raised when trying to load 'compressor.templatetags.compress': cannot import name 'six'

I'm trying to add .scss to project by this tutorial. With Django 2 it works fine. But with Django 3.0 I'm getting an error. I'm creating new project with django-admin startproject mysite Then...

Django - django-cookie-consent not working

https://github.com/haricot/django-cookie-consent https://django-cookie-consent.readthedocs.io/en/latest/index.html I found a fork of the django-cookie-consent github project for managing cookies...

Django Web App Heroku Deployement : No matching distribution found for decouple==0.0.7

I am deploying a web app made in Django on Heroku. I am following a tutorial in which tutor has made a w/s without any CSS / Image input from User. But my app has lot of style and profile pics...

Not able to start `django` project in local as well as in docker

I am using Docker to deploy Python2.7 application with Django1.8. I am facing some issue from last two days and I found error as below. Docker Image:...

Using pip on OSX Mojave forces me to install recently release python packages

So I recently updated an old macbook pro up to Mojave (osx 10.14) and decided to use it as a side laptop for development. Using python 3.7, I created a virtualenv like so: python3.7 -m venv...

DjangoCMS TypeError: from_db_value() missing 1 required positional argument: 'context' after upgrade to 3.7.2 w/ Django 3.0.1

I had a working DjangoCMS application running DjangoCMS 3.7.1 and Django 2.2, however after I just bumped the DjangoCMS version to 3.7.2 and with it, Django to 3.0.1, I am now getting a render...

ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/tmp/build/80754af9/asgiref_1594338739818/work'

While deploying my website on heroku. I also updated my requirements.txt file still there is this issue. git push heroku master Enumerating objects: 98, done. Counting objects: 100% (98/98),...

Django error: Process finished with exit code 134 (interrupted by signal 6: SIGABRT) python2.7 django project

I'm facing a very strange error from few days now. I have a python2.7 project that was running smoothly but since few days its been throwing an error: Process finished with exit code 134...

psycopg2.errors.SyntaxError at or near "WITH ORDINALITY" with and PostgreSQL

I am trying puplish my django project on Cpanel this is my site (http://qhse-erp.com/) I had used pip install django==2.1 --use-feature=2020-resolver for install all my package but I got following...