example:

apps/manage/models.py

from django.db import models
from your_project.apps.models import Forum

class ForumManager(models.Model):
    forum  models.ForeignKey(Forum)
... and so on

but model Forum will be in

apps/forum/models.py

Haku writes:
> Hi all, this is my second help request in the ML, sorry i i'm wrong
> with something!
>
> I have a question:
> Suppose i need a db table named "users".
> Now, this table should be used by 2 aplication of my site: "forum" and
> "Manage".
>
> How can i do it? I mean, where i define the table in "Forum" or in
> "Manage"?
> And how to set the sharing?
>
> Sorry for my ugly english!!
>
> Thnx in advance.
>
> Haku
>
>
> >
>   

-- 
Artiom Diomin, Development Dep, "Comunicatii Libere" S.R.L.
http://www.asterisksupport.ru
http://www.asterisk-support.com


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to