Re: Table shared by 2 application

2007-07-09 Thread Haku
Ok, thank you KpoH! This is cool! Haku On 9 Lug, 17:15, KpoH <[EMAIL PROTECTED]> wrote: > mistype > > from your_project.apps.forum.models import Forum > > KpoH пишет: > > > > > example: > > > apps/manage/models.py > > > from django.db import models > > from your_project.apps.models import Forum

Re: Table shared by 2 application

2007-07-09 Thread KpoH
mistype from your_project.apps.forum.models import Forum KpoH пишет: > 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 Foru

Re: Table shared by 2 application

2007-07-09 Thread KpoH
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

Table shared by 2 application

2007-07-09 Thread Haku
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 "Man