syncdb does not modify already existing tables.
so if you modified a model - syncdb will not modify the tables ....

On Jan 9, 12:01 am, rabbi <[email protected]> wrote:
> Hi,
> I've search around a bit and found a few references to this error, but
> it seems that everyone else was getting this when they migrated to
> Django 1.0 and newforms... for me it's a different situation, as I
> started on 1.0 from the beginning
>
> Background:
> Went through tutorial, got a basic site working fine on runserver
> Migrated site to Apache, site worked fine
>
> I wanted to extend the site a bit, so I modified the models and
> performed the following steps:
>    modified models.py (changed existing and added new)
>    modifed admin.py accordingly
>    ran python manage.py syncdb
>    restarted Apache
>    ALREADY REGISTERED error
>    deleted existing db file
>    ran python manage.py syncdb
>    ALREADY REGISTERED error
>
> Does anyone have any suggestions?
>
> Thanks,
> Alex

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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