remove django guardian settings

This commit is contained in:
Pierre-antoine Comby 2020-03-09 18:06:51 +01:00
parent 6aa6a5499a
commit 3990009400
1 changed files with 0 additions and 5 deletions

View File

@ -128,7 +128,6 @@ PASSWORD_HASHERS = [
AUTHENTICATION_BACKENDS = ( AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend', # this is default 'django.contrib.auth.backends.ModelBackend', # this is default
'guardian.backends.ObjectPermissionBackend',
) )
REST_FRAMEWORK = { 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 # Internationalization
# https://docs.djangoproject.com/en/2.2/topics/i18n/ # https://docs.djangoproject.com/en/2.2/topics/i18n/