I'm trying to create two extensions of the Category class.  Each would
add a couple attributes, but more importantly, one is the parent of
the other.

In my ChildCategory class, I have:
parent = models.ForeignKey(ParentCategory)

My intention here is to override the parent from Satchmo's Category
and force the ChildCategory to have a parent of class ParentCategory.
Syncdb seems happy, and Django Admin seems happy, but when I add a
ChildCategory, I get an OperationalError: no such column:
my_category_ParentCategory.category_ptr_id.

Looking at the log, it's trying to pull the category_ptr_id from the
ParentCategory table without actually including the ParentCategory
table in the FROM clause.

Any ideas?  Does this make sense at all?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" 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/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to