Hello i’m trying to deploy a django app which uses the {{ STATIC_URL }} tag.
When I put my code up on EC2 (in debug mode) I get the following error:
Module "django.core.context_processors" does not define a "static" callable
request processor
This doesn’t happen on ./manage.py runserver
This also disapears when I remove the django.core.context_processors.static from my template context processors (but then I don’t get static media)
Anyone know whats going on?
The
staticcontext_processor – and the staticfiles app – were added in version 1.3. It looks like you’re running an older version in production.