it looks like you changed the model after running syncdb, syncdb is able to
create tables but not to add or remove columns.

for that you should take a look at south, it is called database migrations.

you may also delete the database and recreate


On Mon, Sep 23, 2013 at 10:53 AM, Beverly Block
<beverly.bl...@comcast.net>wrote:

> I'm trying to use the admin interface, and while it's working for my User
> object, when I try to access the Event object I get this:
>
> Request Method: GET  Request URL: http://localhost:8000/admin/test1/event/  
> Django
> Version: 1.5.4  Exception Type: DatabaseError  Exception Value:
>
> no such column: test1_event.track
>
>  Exception Location: 
> C:\Python33\lib\site-packages\django\db\backends\sqlite3\base.py
> in execute, line 362  Python Executable: C:\Python33\python.exe  Python
> Version: 3.3.2
> Event does have a foreign key referencing User; I've seen other posts
> about that causing complications, but not this specific one.
>
> I've tried resyncing the db, but it doesn't help.
>
> Thoughts?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to