KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to create a new model, something like: user_name = models.ForeignKey(u"Username", User), but when I try to syncdb, I get this error message: "AttributeError: 'unicode' object has no attribute '_meta'" When I look at some tutorials, everything seems to be the same as in my model, and the problem with _meta is never mentioned.
Tags (comma-separated)
Save Edits
Cancel