Excellent. A little bit of experimentation later and I see I can then import core models into another app with "import sitename.core.models"
Many thanks. On Sep 14, 11:35 am, Chris Hoeppner <[EMAIL PROTECTED]> wrote: > I always have an app called "core" for that kind of stuff, like non-app > related views, forms, middleware, models... etc. > > El vie, 14-09-2007 a las 03:09 -0700, Stewart escribi?: > > > Hi > > > I'm considering writing an web application in Django but I'm a little > > confused about the Site-App model. > > > Say, for instance, I am writing a site that has both a blog and a > > forum application. Each application has its own data models, but there > > is also some data that is common between both. Is it possible to have > > a site level models.py, is there a way for one application to > > reference another's models, or do both forum and blog have to be part > > of the same application in order to share data? > > > Thanks, > > Stewart. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---