Chen, what is the error? is it the same as what i reported here 
<https://groups.google.com/forum/#!topic/django-users/7gCtiVIAPN4>

On Tuesday, August 4, 2015 at 4:24:01 AM UTC+4:30, Chen Xu wrote:
>
> Hi Everyone,
> Does anyone experience a bug in 1.8.3 on creating ManyToMany relations? I 
> have the following very simple code:
>
> from django.contrib.auth.models import User
>
> class Agent(models.Model):
>
>     name = models.CharField(max_length=100)
>     users = models.ManyToManyField(User, related_name='accessible_agents', 
> default=[])
>
> and when I have an empty database, and do python manage.py migrate.
>
> It gives me error, and I tested on 1.7.8, it works fine.
>
>
> Can anyone help?
>
> Thanks
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/a754207c-170d-448d-9268-3c2d7f3b3d98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to