[django/django] 68b89f: [1.7.x] Removed 'to_field' from ForeignKey(setting...

3 views
Skip to first unread message

GitHub

unread,
Jun 23, 2014, 1:23:21 PM6/23/14
to django-...@googlegroups.com
Branch: refs/heads/stable/1.7.x
Home: https://github.com/django/django
Commit: 68b89f4d13b69771b232c1fcb0fb598000b6eb98
https://github.com/django/django/commit/68b89f4d13b69771b232c1fcb0fb598000b6eb98
Author: Uriel Corfa <kor...@gmail.com>
Date: 2014-06-23 (Mon, 23 Jun 2014)

Changed paths:
M django/contrib/admin/migrations/0001_initial.py

Log Message:
-----------
[1.7.x] Removed 'to_field' from ForeignKey(settings.AUTH_USER_MODEL) in admin's initial migration.

This enables using a custom user model with a primary key with a name
different than 'id'; refs #22889.

Backport of bcd2e6c697 from master


Reply all
Reply to author
Forward
0 new messages