On 12 jan 2006, at 15.40, Grigory Fateyev wrote:

Hello!

In my project need lots of time to create class Category for any apps
(news, faq, clubs) and now whant to create global class Category that
will many-to-one for other classes. How this class can be done?

Put your Category model in a separate app. And then have a look at http://www.djangoproject.com/documentation/db_api/#relationships- across-applications for how joins work across applications.

- Daniel


Reply via email to