On Saturday 06 May 2006 09:50, [EMAIL PROTECTED] wrote:
> Anyone interested in a django project generator I just hacked up?  Take
> a look at
> http://ross.lazarus.googlepages.com/dJingle.py
>
> It's a python program that loads enough django to create a complete
> project - it takes a delimited file path as the CL parameter, reads the
> header, sniffs column lengths, bangs out a complete sqlite django
> project and app, loads all the data (!) and starts the built-in server.
> Kind of scary. Needs a full 0.95+ django install and sqlite to work of
> course, but py2exe does beckon...
>
> sqlite only so there's no requirement for any backend configuration.
> Seems to work ok on windows if everything's there. The fugly hack I'm
> using to start the built in server and spawn a webbrowser to the new,
> shiny admin interface doesn't work right on linux yet.
>
> Needs lots of work, but the proof of concept is definitely there. If
> anyone else wants to help me with this, please get in touch.

Hey Ross,

I just gave your script a cursory glance.  It looks interesting.  I wonder if 
you considered using the Python csv module.  I think it does a lot of the 
csv/tab drudgery that you are doing near the top of your script.  If it meets 
your needs, it might clean up your script a bit.

Have fun,

Eric.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to