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
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
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
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
4 matches
Mail list logo