Opened 17 years ago
Last modified 17 years ago
#4715 closed
syncdb attempt to create existing tables — at Initial Version
Reported by: | anonymous | Owned by: | Jacob |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hi, I`have a problem, I run manage.py syndb first time all go well, but if I run another time (changing a model or no) I obtain the error
Creating table django_admin_log
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/lib/python2.5/site-packages/django/core/management.py", line 1736, in execute_manager
execute_from_command_line(action_mapping, argv)
File "/usr/lib/python2.5/site-packages/django/core/management.py", line 1633, in execute_from_command_line
action_mapping[action](int(options.verbosity), options.interactive)
File "/usr/lib/python2.5/site-packages/django/core/management.py", line 572, in syncdb
cursor.execute(statement)
File "/usr/lib/python2.5/site-packages/django/db/backends/util.py", line 18, in execute
return self.cursor.execute(sql, params)
psycopg2.ProgrammingError: la relación «django_admin_log» ya existe
in emglish: the relation <<django_admin_log>> exists.
Sorry, but my english is very bad
Tanks
Luis