Skip to content
Snippets Groups Projects
Commit c0fff202 authored by Pierre-antoine Comby's avatar Pierre-antoine Comby
Browse files

remove django guardian settings

parent 2aed4051
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,6 @@ PASSWORD_HASHERS = [
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend', # this is default
'guardian.backends.ObjectPermissionBackend',
)
REST_FRAMEWORK = {
......@@ -143,10 +142,6 @@ REST_FRAMEWORK = {
]
}
ANONYMOUS_USER_NAME = None # Disable guardian anonymous user
GUARDIAN_GET_CONTENT_TYPE = 'polymorphic.contrib.guardian.get_polymorphic_base_content_type'
# Internationalization
# https://docs.djangoproject.com/en/2.2/topics/i18n/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment