Changes between Version 2 and Version 4 of Ticket #25216
- Timestamp:
- Aug 3, 2015, 7:07:55 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25216 – Description
v2 v4 1 1 Hi, 2 2 I am using python version 3.4 and django 1.8.3, I have the following very simple code: 3 3 {{{ 4 4 from django.contrib.auth.models import User 5 5 … … 8 8 name = models.CharField(max_length=100) 9 9 users = models.ManyToManyField(User, related_name='accessible_agents', default=[]) 10 10 }}} 11 11 and when I have an empty database, and do python manage.py migrate. 12 12 13 13 It gives me error, and I tested on 1.7.8, it works fine. 14 14 {{{ 15 15 Operations to perform: 16 16 Synchronize unmigrated apps: staticfiles, download, messages … … 81 81 _mysql.connection.query(self, query) 82 82 django.db.utils.OperationalError: (1005, "Can't create table 'portal_aperture.#sql-403_b3' (errno: 150)") 83 83 }}} 84 84 Thanks.