"Current" timezone in admin

2012-01-12 Thread Danny W. Adair
Hi, With 1.4 timezone support I was wondering if/how django admin supports the current user's timezone. There's no corresponding HTTP header like "Accept-Language" so I guess the timezone must be set in the session (looked up from a profile or whatever). Is there a hook that allows the "current" t

App namespace/packages?

2011-08-30 Thread Danny W. Adair
Hi, There are "reusable" apps which provide functionality in a variety of contexts. However, some apps only make sense (because of dependencies) in the context of one or more other apps. For example, I have a relatively big piece of software consisting of (like a good boy) multiple apps, which work

Flatten template?

2011-01-10 Thread Danny W. Adair
Hi, I need to get the template source of a template "after inheritance", i.e. render just the loader tags "include", "extends" and "block" (incl. variable block.super), so that I end up with one independent template which is otherwise unrendered. Has anyone done this before or has pointers? I'm s

Re: Localized admin and date field formats

2010-06-25 Thread Danny W. Adair
Hi Alexander, On Jun 15, 9:54 am, Alexander Jeliuc wrote: > Thank You, I found a patch for that. My version is already 1.2.1 > After pathching fields.py and widgets.py it start working fine It helps others if you mention where they can find such a patch. I assume it was this: http://code.djangop