Re: The same table in 2 apps

2010-10-25 Thread robos85
Yes that's exactly what I mean. I have defined class "Links" in one of the app, and want to use it in another app (user profile) to show all user's links. After reading this links I see, that there's nothing wrong in linking models from another apps. I read that part of manual, but I didn't remembe

Re: The same table in 2 apps

2010-10-23 Thread werefr0g
Hello, You have defined "MyClass" for "foo" application in its models.py, and you want to use that class in your application "bar"? You'll find how to use models from another app in Django documentation [1]. A widly spread example is the import of User in your app from django.contrib.auth [2

The same table in 2 apps

2010-10-23 Thread robos85
Hi. I'm new in Django so I have a very simple problem. I have 1 table that will be used in 2 models (maybe more). Should I declare that table in each application's model? Or how to do that in proper way? -- You received this message because you are subscribed to the Google Groups "Django users"