Re: Configuring a Django Project for Intranet Deployment

2007-11-11 Thread Martin J Hsu
> could change!)? However, at the same time I want to be able to run the > development environment at http://127.0.0.1/ and want any maintenance > overhead e.g. managing two sets of url.py files or changing any urls expanding on Stefan's solution: You probably want a separate settings.py or at

Re: {{ perms }} seems to be empty

2007-05-23 Thread Martin J Hsu
> 1. TEMPLATE_CONTEXT_PROCESSORS is not in my settings file. But the docs say > that its default is: ("django.core.context_processors.auth", etc... > That is correct: http://www.djangoproject.com/documentation/settings/#template-context-processors The default isn't explicitly defined in

Re: {{ perms }} seems to be empty

2007-05-23 Thread Martin J Hsu
> 1. TEMPLATE_CONTEXT_PROCESSORS is not in my settings file. But the docs say > that its default is: ("django.core.context_processors.auth", etc... > That is correct: http://www.djangoproject.com/documentation/settings/#template-context-processors The default isn't explicitly defined in

Re: {{ perms }} seems to be empty

2007-05-23 Thread Martin J Hsu
> 1. TEMPLATE_CONTEXT_PROCESSORS is not in my settings file. But the docs say > that its default is: ("django.core.context_processors.auth", etc... > That is correct: http://www.djangoproject.com/documentation/settings/#template-context-processors The default isn't explicitly defined in

Re: generic views 'extra_context' value via function call utility

2007-04-10 Thread Martin J Hsu
On Apr 10, 4:26 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > > It complicates the implementation, and, as you noted, slows down > slightly for all existing use cases of a callable. > > This isn't a problem in and of itself, except that the only benefit > you get for the complexity and

Re: generic views 'extra_context' value via function call utility

2007-04-10 Thread Martin J Hsu
google groups gobbled my response and I don't see it...sorry if this turns out to be a repost. On Apr 10, 12:26 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 4/10/07, Martin J Hsu <[EMAIL PROTECTED]> wrote: > > > > > I saw this as a minor inc

Re: generic views 'extra_context' value via function call utility

2007-04-09 Thread Martin J Hsu
On Apr 10, 10:14 am, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 4/9/07, Martin J Hsu <[EMAIL PROTECTED]> wrote: > > > > > The a value (a callable) in the 'extra_context' dict passed to a > > generic view (like django.views.generic.list_d

generic views 'extra_context' value via function call utility

2007-04-08 Thread Martin J Hsu
I'm new to Django and have been trying to read up on generic views and sessions. I might be missing something, so please correct me as needed. The a value (a callable) in the 'extra_context' dict passed to a generic view (like django.views.generic.list_detail.object_list) can be used to