Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not sure if this is still maintained. Tiny fix to add STATIC_URL to the templatetag context. Thanks! #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rolo
Copy link

@rolo rolo commented Mar 29, 2011

Pass STATIC_URL to templatetag context as per new convention in Django 1.3

@jor123
Copy link

jor123 commented Jan 24, 2012

or 'keep' the whole context like in pull request #10

@hedleyroos
Copy link
Collaborator

STATIC_URL is already set by the django.core.context_processors.static context processor. You should add that to settings. Passing MEDIA_URL here is redundant because there is a context processor for that as well. Just adhering to DRY.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants