Ticket #9057: 9057.1.patch

File 9057.1.patch, 576 bytes (added by Henrik Vendelbo, 16 years ago)

Add extra global settings

  • django/conf/global_settings.py

    a b LOGIN_REDIRECT_URL = '/accounts/profile/'  
    375375# The number of days a password reset link is valid for
    376376PASSWORD_RESET_TIMEOUT_DAYS = 3
    377377
     378# The class to use as the default AUTH_USER for the authentication system.
     379AUTH_USER_MODULE = 'django.contrib.auth.default_user.DefaultUser'
     380
     381# Trigger superuser creation after syncdb
     382AUTH_AUTO_CREATE_SUPERUSER = True
     383
     384# Trigger permissions creation after syncdb
     385AUTH_AUTO_CREATE_PERMISSIONS = True
     386
    378387###########
    379388# TESTING #
    380389###########
Back to Top