mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-10-31 15:50:03 +01:00 
			
		
		
		
	remove django guardian settings
This commit is contained in:
		| @@ -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/ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user