Closed saevarom closed 11 years ago
Ok I see now that I can do this by seperating the model code into an app.
Hey, I am not sure I understood what you were trying to do, but yes, for creating models you must create an app. Which may seem to defeat the point of a single file framework, but the only way i know how to include models in same file is too "magical" for even my taste :-p
I've tried simply adding
django.db.models.Model
to importd.D, similar to other django builtins, but when I try to run syncdb I get an error: