> I subclassed Discounts to do the same, but did not store the FK to
> user here. I created a separate object to store the permissions
> mappings for a promotion to a user (e.g., num uses, userid, allowed
good idea, thank you. I'll try it out.
Just a question, which model-inheritance model do you need to use for
discount subclasses to work? I'm guessing that just doing class
MyDiscout(Discount) won't work
--
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde
|_|0|_|
|_|_|0|
|0|0|0|
(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.
--
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.