python - Attaching extra information to model instance - django -
I have a dynamic model that I want to attach an additional piece of information, depending on the environment according to the example (The user who is logged in) For this reason, I do not want to do this at the database level.
Is that okay? Or there are problems that I'm not predicting
"Type 'foo' or 'bar'" "def __init __ (auto, type): self.type = typeviews.py
Additional credit questions: Is there a more efficient method of calling a method on many items i.e. the last with some clever To change the line?
OK, it does not work to destroy a Trying FooOrBar
objects about a complaint
/ OperationalError on such a table: test_FooCheck
get around this I just fuoraba Inherit'm not going to happen, but if anyone has any suggestions on better ways to do it so I'd be interested in hearing it
Comments
Post a Comment