Skip to content

Instantly share code, notes, and snippets.

@tristan-k
Created January 24, 2017 16:13
Show Gist options
  • Save tristan-k/0304999055e39708b50d993b5057d18d to your computer and use it in GitHub Desktop.
Save tristan-k/0304999055e39708b50d993b5057d18d to your computer and use it in GitHub Desktop.
./manage.py update_default_roles
$ ./manage.py update_default_roles
System check identified some issues:
WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DIRS, TEMPLATE_DEBUG.
core.BookRole.members: (fields.W340) null has no effect on ManyToManyField.
core.Role.permissions: (fields.W340) null has no effect on ManyToManyField.
messaging.Endpoint.config: (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.
Role registered_users has been created.
Role anonymous_users has been created.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment