Stano you are inattentive,
Then you define your model User
in ManyToManyField you write Project, but it must be 'Project', in quotes.
I wrote  this in my preview post.

so your model will look like this

class User(models.Model):
    ..... # definition of User model
    projects = models.ManyToManyField('Project',   # <<<<< here you need quotes
                filter_interface=models.HORIZONTAL)


class Project(models.Model):
    ... # definition of Project model


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