Skip to content

Commit

Permalink
Don't inject model admin default if it is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
javrasya committed Nov 17, 2019
1 parent 229b727 commit f6bd39e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion river/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __getattr__(self, item):
'USER_CLASS': settings.AUTH_USER_MODEL,
'PERMISSION_CLASS': Permission,
'GROUP_CLASS': Group,
'INJECT_MODEL_ADMIN': True
'INJECT_MODEL_ADMIN': False
}
if item in allowed_configurations.keys():
default_value = allowed_configurations[item]
Expand Down

0 comments on commit f6bd39e

Please sign in to comment.