root/plesonet_accounts/trunk/settings_example.py

Revision 20, 0.7 KB (checked in by scater, 4 years ago)

move folders into trunk

Line 
1INSTALLED_APPS = (
2    'django.contrib.auth',
3    'django.contrib.contenttypes',
4    'django.contrib.sessions',
5    'django.contrib.sites',
6    'django.contrib.admin',
7    'django.contrib.sitemaps',
8   
9    'plesonet_captcha',
10   
11    # accounts, profiles, registration, avatars
12    'accounts',
13    'avatar',
14    'profiles',
15    'registration', 
16)
17
18
19#-------- Additiopnal part - settings per components
20
21# -- accounts, profiles, registration, avatars
22AUTH_PROFILE_MODULE = "accounts.UserProfile"
23LOGIN_URL = "/registration/login/"
24LOGIN_REDIRECT_URL = "/profiles/edit/"
25LOGOUT_URL = "/registration/logout/"
26ACCOUNT_ACTIVATION_DAYS = 3
27
28# --
29AVATAR_STORAGE_DIR = 'images/avatars'
30AVATAR_GRAVATAR_BACKUP = False
31AVATAR_DEFAULT_URL = '/static/img/noavatar.jpg'
Note: See TracBrowser for help on using the browser.