query.py refactoring by Malcolm: status?

2007-08-20 Thread Adrian Holovaty
Malcolm -- what's the status of the query.py refactoring you've been working on? We have a bunch of features waiting for that refactoring, including SQL aggregation support. It'd be great to land that refactoring once and for all. I just did a quick search of the django-developers archives and sa

Re: Adding SVN revision identifier to version

2007-08-20 Thread Adrian Holovaty
On 8/20/07, Deryck Hodge <[EMAIL PROTECTED]> wrote: > I opened ticket 5215[1] and added a patch that parses > django/.svn/entries. This has been tested on systems with both the > new version of the entries file and the old. Both seem to work fine. Thanks for your work on this, Deryck! I've chec

Re: A question about manage.py validation

2007-08-20 Thread Marty Alchin
On 8/20/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > There is indeed a reason: model field validation logic is in a > separate module so that the logic doesn't have to be loaded into > memory when you're using Django in production. As it stands, the > validation code is only loaded when you us

Re: A question about manage.py validation

2007-08-20 Thread Adrian Holovaty
On 8/20/07, Marty Alchin <[EMAIL PROTECTED]> wrote: > Is there a particular reason this validation is being performed there > instead of in the __init__ of each Field subclass? I haven't looked > over the entirety of it, but it seems like that's going to be > something of a barrier to custom subcl

Re: A question about manage.py validation

2007-08-20 Thread Marty Alchin
On 8/20/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > Now, as you correctly identify, this isn't really the right approach. > We have been slowly refactoring fields, with the end goal of allow any > user to define their own fields wrapping whatever database specific > types may be available

Re: A question about manage.py validation

2007-08-20 Thread Russell Keith-Magee
On 8/21/07, Marty Alchin <[EMAIL PROTECTED]> wrote: > Is there a particular reason this validation is being performed there > instead of in the __init__ of each Field subclass? I haven't looked > over the entirety of it, but it seems like that's going to be > something of a barrier to custom subc

[ANN] Vacation

2007-08-20 Thread Jacob Kaplan-Moss
Hi all -- A quick heads-up: I'm going on vacation until the 28th, and won't be checking my email. Don't let my absence slow anything down; assume that Adrian speaks (and votes) for me until I get back. I expect to see great things happen while I'm gone :P Jacob --~--~-~--~~

Re: A question about manage.py validation

2007-08-20 Thread Marty Alchin
On 8/20/07, Etienne Robillard <[EMAIL PROTECTED]> wrote: > Again, we should probably "see" better your problem with some raw examples. :) > Why should you need any management-specific methods for doing validation on > a file field ? > > from django.newforms import fields > class GenericFile(fields

Re: A question about manage.py validation

2007-08-20 Thread Etienne Robillard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure what to expect unless you give some more data, input, or whatever which should make senses regarding your issue with FileField. However, in my case i've managed to make FileField working reasonably well using the newforms-admin branch. I s

GSoC 2007 Status Update VIII: Django REST interface

2007-08-20 Thread Andreas Stuhlmüller
Hey Django developers, this is the last status update for my Summer of Code project [1] before (or while) the final evaluation takes place. After a few words on last week's changes, I would like to summarize what is currently possible using the REST interface, what is still left to do and why the

simple_tag decorator and context usage

2007-08-20 Thread Grigoriy Petukhov
Why simple_tag decorator does not allow to process context with takes_context directive like inclusion_tag does? It would be a nice feature. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group.

Re: Adding SVN revision identifier to version

2007-08-20 Thread Deryck Hodge
On 8/18/07, Sean Perry <[EMAIL PROTECTED]> wrote: > First line is the format version number of the entries file itself. > Versions >= 7 are no longer in XML format. As you can see, mine says > '8'. > > If it is XML, the structure should be: > > > > > Assuming I read subversion-1.4.4/subversi

A question about manage.py validation

2007-08-20 Thread Marty Alchin
In trying to refactor FileField into a self-contained entity (and allow exchangable backends), I ran across something I didn't remotely expect. I have a nearly-complete drop-in replacement for the existing FileField, which works fine as long as leave the instantiation the way it is currently (usi

[ANN] Babel/Django integration

2007-08-20 Thread Christopher Lenz
Hey folks, you may be interested in a contrib package I've added to the Babel repository, which enables using Babel from a Django app. See: It adds middleware and template filters. Also, there's a message extraction plugin for Django templates