Re: Sharing tables between apps

2006-07-23 Thread Malcolm Tredinnick
On Mon, 2006-07-24 at 01:52 +, [EMAIL PROTECTED] wrote: > I'm completely new to Django and relatively new to databases, so > forgive me if this is a naive or stupid question. > > I'm designing a site for a radio station, and some models seem to have > much wider scope than others. For exampl

Re: Sharing tables between apps

2006-07-23 Thread [EMAIL PROTECTED]
Ok, I wasn't sure if this would import only the models and create new, empty tables in the playlist app, or if it would allow access to the original tables. Thanks! Matt SmileyChris wrote: > Hi Matt, > > Your playlist app can use the models in your schedule app by just > importing them. > > fro

Re: Sharing tables between apps

2006-07-23 Thread SmileyChris
Hi Matt, Your playlist app can use the models in your schedule app by just importing them. from schedule.models import Show Of course, it depends on your directory structure, but you get the idea? --~--~-~--~~~---~--~~ You received this message because you are

Re: Sharing tables between apps

2006-07-23 Thread [EMAIL PROTECTED]
Ok, I realize that I phrased my question poorly. I'm not really interested in a strict hierarchy (which I see is in development), but in whether or not there is a good way to share some more general data (like what would be stored in show and dj tables) with more specific data (like what would be

Sharing tables between apps

2006-07-23 Thread [EMAIL PROTECTED]
I'm completely new to Django and relatively new to databases, so forgive me if this is a naive or stupid question. I'm designing a site for a radio station, and some models seem to have much wider scope than others. For example, I want to create a playlist app and a schedule app. Both need acce