essais reectriture du AUTH_USER_MODEL

This commit is contained in:
Paul Marillonnet 2017-04-10 09:55:35 +02:00
parent 462090453a
commit d33d763a30
2 changed files with 10 additions and 0 deletions

7
doc.md
View File

@ -1443,6 +1443,13 @@ class UserSAMLIdentifier(models.Model):
related_name='saml_identifiers')
$ python manage.py makemigrations
SystemCheckError: System check identified some issues:
ERRORS:
saml.SupAnnUser.user_ptr: (fields.E301) Field defines a relation with the model 'auth.User', which has been swapped out.
HINT: Update the relation to point at 'settings.AUTH_USER_MODEL'.
//CURRENT

View File

@ -1113,6 +1113,9 @@ http://stackoverflow.com/questions/1549801/differences-between-isinstance-and-ty
* Django Documentation : Template Inheritance
https://docs.djangoproject.com/en/1.10/ref/templates/language/#template-inheritance
* Django Documentation : django.contrib.auth
https://docs.djangoproject.com/en/1.10/ref/contrib/auth/
//bibbm