Hi everyone,
I am a Django newbie and I'm facing the problem related with binding 
applications. 

My intention is to make a new functionality to manage comments (i don't 
want to use disqus) and for that reason i want to create an application and 
integrate with another one that i've created in first place.

What is the best way to do that? How can i bind them? 

It is simply like when i use django contrib auth model?
 
from django.db import models
from django.contrib.auth.models import User

class Group(models.Model):
    groupName =  models.CharField(max_length=200)
    users = models.ManyToManyField(User, through='GroupWatcher')
    def __unicode__(self):
        return self.groupName




something like this...

from django.db import models
from app2.models import MyApp2Model

class Group(models.Model):
    groupName =  models.CharField(max_length=200)
    users = models.ManyToManyField(MyApp2Model, through='GroupWatcher')
    def __unicode__(self):
        return self.groupName

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ca41151f-bc0f-412e-bf85-780916f90cf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to