Hi,
I got at question, that may or may not sound familiar and gives me some
direction where to search.
I made a normal model description including
class Element(models.Model):
name = models.CharField()
elementtype = models.IntegerField()
database connection is ok, filled fields of a record of class Element,
still on element.save() I get the error below:
Exception Value:
relation "db_model" does not exist
LINE 1: INSERT INTO "db_model" ("id") VALUES (DEFAULT)
Seems like the name of the table is not set to element.
What am I missing?
Kind regards,
Petr van Blokland
-----------------------------------------------
Petr van Blokland
[email protected] | petr.com | twitter.com/petrvanblokland
-----------------------------------------------
______________________________________________________________________
This email has been scanned by the McAfee® Email Security System.
For more information please visit http://www.mcafee.com
______________________________________________________________________
--
You received this message because you are subscribed to the Google Groups
"Django developers" 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-developers?hl=en.