django-pagination icon indicating copy to clipboard operation
django-pagination copied to clipboard

no STATIC_URL in context w/ django 1.3?

Open q opened this issue 14 years ago • 3 comments

MEDIA_URL gets set, however STATIC_URL does not. With django 1.3 shipping with staticfiles now, it would make sense to add this into the context of the template.

q avatar Mar 08 '11 10:03 q

Same problem here. Actually, this tag should receive the full context of the tag that called it IMHO. Not just STATIC_URL but also stuff that is contained contributed by RequestContextProcessors etc.

dokterbob avatar Mar 11 '11 16:03 dokterbob

I believe this has already been fixed in a pull request: https://github.com/ericflo/django-pagination/pull/10

That makes this a duplicate issue...

dokterbob avatar Mar 11 '11 16:03 dokterbob

yea if you look, i actually commented on that issue afterwards.

q avatar Mar 11 '11 16:03 q