Re: Should manage.py startapp create a urls.py file?

2008-02-11 Thread Empty
Rob, If you want, check out the django-command-extensions project on Google Code (http://code.google.com/p/django-command-extensions/). I added a create_app command extension that allows you to use a --template option for specifying your app directory structure. If no template is provided a def

Newforms fieldsets

2008-02-11 Thread Simon Litchfield
Anyone else think newforms' fields should be (optionally) groupable into fieldsets? I realise newforms-admin has implemented some extra functionality ontop of newforms for handling ModelAdmin-defined fieldsets; but I don't believe this has made it back into newforms as yet. In addition to the ob

Re: Bug saving NUL character?

2008-02-11 Thread Robert Gravsjö
Patryk Zawadzki wrote: --- 8< --- > What kind of injection? It did not terminate the SQL query, just the > contents of one field. SQL termination in the middle of a quoted > string would result in a failed transaction. Also, AFAIR Django uses > prepared statements so there's no possibility to

Re: Should manage.py startapp create a urls.py file?

2008-02-11 Thread ludvig.ericson
+0, but I think it's the wrong way to go about it. What is needed is an easy way to add to the skeleton, on a per-user (or rather, per- Python?) installation basis. Not saying that all files from a certain directory should be copied if they exist, rather something like: python manage.py start