server/python/django2/renkanmanager/settings.py
changeset 615 f3875fbe206a
parent 589 0ae11aa255a3
child 665 69d13e7dd286
equal deleted inserted replaced
614:23416a833ca8 615:f3875fbe206a
       
     1 # Settings for the renkanmanager project
       
     2 from django.conf import settings as django_settings
       
     3 from django.contrib.auth import get_user_model
       
     4 
       
     5 RENKAN_USER_DISPLAY_FIELD = getattr(django_settings, "RENKAN_USER_DISPLAY_FIELD", get_user_model().USERNAME_FIELD)
       
     6 RENKAN_AUTO_CURRENT_REVISION = getattr(django_settings, "RENKAN_AUTO_CURRENT_REVISION", True)