recreate my database, then run
> > syncdb etc to make sure I’ve got a clean start. Probably not practical once
> > I get into production.
>
> > From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com]
> > On Behalf Of Nick Arnett
> > Sent: Tuesday, August
gt;
>
> From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com]
> On Behalf Of Nick Arnett
> Sent: Tuesday, August 24, 2010 10:57 AM
> To: django-users@googlegroups.com
> Subject: Re: manage.py syncdb not working
>
>
>
>
>
> On Tue, Aug 24, 2010
esday, August 24, 2010 10:57 AM
To: django-users@googlegroups.com
Subject: Re: manage.py syncdb not working
On Tue, Aug 24, 2010 at 7:43 AM, Sithembewena Lloyd Dube
wrote:
Thanks Reinout. I have been seeing a lot of discussions regarding South
lately - time to dive in and find out what it i
Thanks Nick - this echoes a thought that occured to me i.e. "create new
table, copy data". The issue with constraints is what kept me from trying
this out (remembered previous jobs updating SQL Server schemas - not fun
with live data).
Regards,
Lloyd
On Tue, Aug 24, 2010 at 4:56 PM, Nick Arnett
On Tue, Aug 24, 2010 at 7:43 AM, Sithembewena Lloyd Dube
wrote:
> Thanks Reinout. I have been seeing a lot of discussions regarding South
> lately - time to dive in and find out what it is and what it means for me.
>
> I was under the impression that Django would add a field to my table. So,
> is
Thanks Reinout. I have been seeing a lot of discussions regarding South
lately - time to dive in and find out what it is and what it means for me.
I was under the impression that Django would add a field to my table. So, is
syncdb only good during initial database setup?
Many thanks,
Lloyd
On
On 08/24/2010 04:17 PM, Sithembewena Lloyd Dube wrote:
Hi all,
I have been working on some models and tried to run the manage.py syncdb
command. It says there are no fixtures found even after I just added a
field to a model.
No fixtures found: it means to tell you that it didn't find any
spec
Hello,
It is correct. Syncdb will not alter existing tables:
http://docs.djangoproject.com/en/1.2/ref/django-admin/#syncdb
The reason is that if you've changed you model with some kind of
constrains (unique fields, etc), Django will not try to guess how to
mantain the correctness of your
Hi all,
I have been working on some models and tried to run the manage.py syncdb
command. It says there are no fixtures found even after I just added a field
to a model.
A solution has been to drop the table in MySQL before running syncdb. This
doesn't seem feasible all the time. What could I be
9 matches
Mail list logo