"James Bennett" <[EMAIL PROTECTED]> writes:

> On 5/11/07, Nic James Ferrier <[EMAIL PROTECTED]> wrote:
>> Something needs to be done though... or ongoing maintenance of Django
>> apps is going to be really hard.
>
> I haven't found it terribly hard with a little coding discipline; the
> way we've handled it is to write the necessary SQL and commit it to
> our repository along with model changes, so we have a history of how
> the model has evolved over time. Some way of specifying "revision
> numbers" of models and having Django find the necessary SQL files to
> execute (where those files were manually constructed) is really all
> the automation I'd like to see :)

That works. Good plan. But it's getting away from the ORM principle
isn't it?

I don't mind that personally... I think that ORMs are over-rated
(hence my "I hate frameworks") but they sure do help with things like
form validation and such (because the necessary authoritative meta
data is in python rather than SQL).


-- 
Nic Ferrier
http://www.tapsellferrier.co.uk   

--~--~---------~--~----~------------~-------~--~----~
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