Fwd: Oldforms-admin to Newforms-Admin helper script

2008-06-11 Thread Will Hardy
Thanks for the links, I was sure someone had done this before. Looks like they're scanning the models.py source code and finding the information there. I think it would be easier and cleaner to generate it dynamically. @oggie rob, @russ magee Yep, it would only ever be needed once, and

Re: Oldforms-admin to Newforms-Admin helper script

2008-06-11 Thread Russell Keith-Magee
On Wed, Jun 11, 2008 at 1:22 PM, Will Hardy <[EMAIL PROTECTED]> wrote: > > Hi all, > > is anyone planning to write, or has anyone already written a script to > help people convert their oldforms-admin to newforms-admin? ... > Would this be useful enough to include in django itself? If someone

Re: Oldforms-admin to Newforms-Admin helper script

2008-06-11 Thread RKnobelspies
You might want to checkout this conversion utility http://groups.google.com/group/satchmo-developers/browse_thread/thread/ac4de8c3435cac61/7f1e768116b1b6fd http://nilsliberg.se/python/django/newforms_gen2.html On 11 Jun., 07:22, "Will Hardy" <[EMAIL PROTECTED]> wrote: > Hi all, > > is anyone

Oldforms-admin to Newforms-Admin helper script

2008-06-10 Thread Will Hardy
Hi all, is anyone planning to write, or has anyone already written a script to help people convert their oldforms-admin to newforms-admin? If not, I was thinking of writing a little script (mangement comand) that would find all the oldforms-admin definitions in installed models and output a