On Sun, Jun 15, 2008 at 11:29 AM, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > One of the things django does for you is make 'settings' available > everywhere. So if you want to use these constants in a template, you > should be able to do this in a view:
Er. No, no it doesn't. If you want access to the settings, you import them like any other Python code. And if you want something to be available in every template, you write and enable a context processor and use RequestContext. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---