manage.py and pyc's

2013-08-09 Thread jdetaeye
The patch in ticket #8280 finds management commands shipped in .pyc, .pyo, .zip, .egg files, etc I find it strange and un-pythonic that the current code uses a walk over the file system, rather than the proper python APIs to discover the contents of packages... Johan -- You received this

Re: Optimization request - give ``request.session`` lazy read

2012-10-02 Thread jdetaeye
If the query is a problem for you that requires optimization, you're probably better off using cookie-based sessions. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com.

Tagging 1.4 django release in Subversion

2012-03-25 Thread jdetaeye
Can a developer please tag the 1.4 release in the SVN repository please? Ie create http://code.djangoproject.com/svn/django/tags/releases/1.4 Looks like it was forgotten... Johan -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view

Re: If form_for_model is deprecated, what is its replacement?

2008-04-08 Thread jdetaeye
Simon, Ran in the same issue as you. I filed documentation ticket #6690 to document a clean way to dynamically create ModelForm instances. The ticket got closed because the runtime creation of forms "isn't common enough"... See also the thread "ModelForm: Dynamically change model and fields"

Re: Undocumented admin feature for filtering rows?

2008-01-07 Thread jdetaeye
On Jan 7, 4:55 pm, Nathaniel Whiteinge <[EMAIL PROTECTED]> wrote: > On Dec 26 2007, 2:50 pm, jdetaeye <[EMAIL PROTECTED]> wrote: > > > The implementation is not based on customizing the admin, but > > implementing a generic view with very similar capabilities as

Re: Undocumented admin feature for filtering rows?

2007-12-26 Thread jdetaeye
Mingers, I have pretty much the same use case as you: I wanted the filtering in the admin to be more "like a spreadsheet". See the screenshot on my website to see how I solved the issue: http://www.frepple.com/screenshots/miniadmin.png It allows the user to enter the filter value, select a

Re: Choice lookups

2007-11-05 Thread jdetaeye
>It'd be nice if we could do this: >Profile.objects.filter(favorite_skit__display='parrot') As Rob already hints, this gets a bit more complicated when internationalization comes in the picture... The choices are then defined as lazy_translations rather than strings literals: CHOICES = (

Migrating to new-admin...

2007-09-15 Thread jdetaeye
Hi, I just finished migrating an application that uses the admin interface to the new admin. It took me quite a while to gather all changes correctly from the mailing list, google search through tickets, and looking at the code, ... :-( Does it make sense to update the page