[django/django] bcd2e6: Removed 'to_field' from ForeignKey(settings.AUTH_U...

2 views
Skip to first unread message

GitHub

unread,
Jun 23, 2014, 1:22:33 PM6/23/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: bcd2e6c697ee29ab1c1240a6b30281d53329b333
https://github.com/django/django/commit/bcd2e6c697ee29ab1c1240a6b30281d53329b333
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:
-----------
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.


Reply all
Reply to author
Forward
0 new messages