Chirolo schrieb: > Traceback (most recent call last): > File "<console>", line 1, in <module> > File "/usr/lib/python2.5/site-packages/django/db/models/base.py", > line 264, in save > ','.join(placeholders)), db_values) > File "/usr/lib/python2.5/site-packages/django/db/backends/util.py", > line 18, in execute > return self.cursor.execute(sql, params) > ProgrammingError: relation "People_person" does not exist > >
I guess you changed your model. Django does not automatically change our database.You have two options: - drop the old DB or tables, and call syncdb. (Data gets lost) - Modify the database with "ALTER TABLE" For the second solution, you can call "./manage.py sqlall old.sql" before and "./manage.py sqlall new.sql" after the update. Then compare both files with 'diff old.sql new.sql' HTH, Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---