A simple Django template tag to access settings from a template.
1 2 3 4 5 6 7 8 | |
And you can use it in a template like this:
1 2 3 | |
Note: Make sure you have the __init__.py file in your appname/templatetags directory. Also, if you had to add it, you will need to restart the server for the tag to be available.