Thursday, September 9, 2010

Re: TEMPLATE_CONTEXT_PROCESSORS doesn't seem to be present in settings.py by default

Never mind. Just saw http://code.djangoproject.com/ticket/6851

- Sandip

On Fri, Sep 10, 2010 at 3:51 AM, Sandip Bhattacharya
<sandipb@foss-community.com> wrote:
> Is this variable supposed to be present in default generation of
> settings.py after a startproject? Because I don't see this variable in
> any of the projects that I am creating.
>
> The doc
> (http://docs.djangoproject.com/en/dev/ref/settings/#std:setting-TEMPLATE_CONTEXT_PROCESSORS)
> makes it seem as if this is pre-populated by default.
>
>    $ python -c 'import django;print django.VERSION'
>    (1, 2, 2, 'final', 0)
>
>    $ django-admin.py startproject testprocessor
>
>    $ grep TEMPLATE_CONTEXT_PROCESSORS testprocessor/settings.py
>
>    $
>
>
> Thanks,
>  Sandip
>

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment