On Sep 16, 2:56 pm, Thomas wrote:
> Thanks. I haven't heard of Django Evolution. Just searched for it on
> Google; it sounds exactly like what I'm looking for. In the meantime,
> I've found 'python manage.py inspectdb ' which helps a
> lot. It seems to general model classes by inspecting the
Thanks. I haven't heard of Django Evolution. Just searched for it on
Google; it sounds exactly like what I'm looking for. In the meantime,
I've found 'python manage.py inspectdb ' which helps a
lot. It seems to general model classes by inspecting the DB the app.
is connected to in settings.py.
ok only comment is you use django_evolution
http://code.google.com/p/django-evolution/
"When you run ./manage.py syncdb, Django will look for any new models that
have been defined, and add a database table to represent those new models.
However, if you make a change to an existing model, ./manage.
Thanks for the advice. I just wanted to ensure I wasn't missing
something overtly obvious. A bit strange, but I both like, and
dislike the ORM at the same time. SQL is relatively clean, and
straightforward... I'd rather abstract more complicated things. I do
like the idea about adding a column
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas declared:
> I've been teaching myself Django over the past couple of days. Thus
> far, everything has been going smoothly, as I typically do a lot of
> non-web based Python coding, so am familiar with the language.
> However, Django's DB API i
That is a short-coming of the Django ORM, unfortunately solving the
problem of iterative schema changes is pretty difficult.
There are some projects around that attempt to fix this issue, in
varying stages of completion:
http://south.aeracode.org/wiki/Alternatives is a decent list.
As for your s
I've been teaching myself Django over the past couple of days. Thus
far, everything has been going smoothly, as I typically do a lot of
non-web based Python coding, so am familiar with the language.
However, Django's DB API is my first look into ORM and how it works.
I understand the basics; how
7 matches
Mail list logo