Django 1.10 generates a warning
sobolevn opened this issue · 2 comments
sobolevn commented
After just the basic setup from readme this warning is shown. No extra steps are required.
WARNINGS:
security.PasswordExpiry.user: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
funkaoshi commented
Thanks for the update. We will look at making the change.