forked from zsoldosp/django-currentuser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix makemigrations warning for user model case
Fix issue where a warning is raised when running makemigrations when user model is passed with different case to the default. This commonly happens when the default is `auth.User` and `auth.user` is passed in the `to` field. The fix is to detect the case difference, and update the incoming args to match the default. Relates to zsoldosp#43.
- Loading branch information
1 parent
b32c42a
commit 2d9ad14
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters