Warning, devils advocate post. It's meant to be constructive
criticism.

I have my fields listed in HTML, in forms.py (newforms), in models.py,
and in my database (post-syncdb). Four places no less.

Before we shout too much about DRY, newforms _for_model needs a tonne
more flexibility, and syncdb needs migration.

In my old PHP framework I only had my fields list in 2 places (HTML
and database), everything else worked itself out on the fly via
introspection.


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to