1 2 3 4 5 6 | # <mysite>/globaltags/__init__.py
from django.template import add_to_builtins
add_to_builtins('globaltags.pyif')
add_to_builtins('globaltags.expr')
add_to_builtins('globaltags.dbinfo')
|
More like this
- Template tag to dump database query info by pryankster 6 years, 2 months ago
- decorator to add author to extra_fields in snippets 635 by gehel 5 years, 1 month ago
- strip_tags like php one by homm 3 years, 1 month ago
- (Modified/Improved) MultiQuerySet by joonas 4 years, 6 months ago
- Template range filter by zalun 4 years, 3 months ago
Comments
Took me a second to realize I still had to add
'<mysite>.globaltags'toINSTALLED_APPS, then it worked like a charm! Thanks.#