|
Revision 20, 0.7 KB
(checked in by scater, 4 years ago)
|
|
move folders into trunk
|
| Line | |
|---|
| 1 | INSTALLED_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 |
|---|
| 22 | AUTH_PROFILE_MODULE = "accounts.UserProfile" |
|---|
| 23 | LOGIN_URL = "/registration/login/" |
|---|
| 24 | LOGIN_REDIRECT_URL = "/profiles/edit/" |
|---|
| 25 | LOGOUT_URL = "/registration/logout/" |
|---|
| 26 | ACCOUNT_ACTIVATION_DAYS = 3 |
|---|
| 27 | |
|---|
| 28 | # -- |
|---|
| 29 | AVATAR_STORAGE_DIR = 'images/avatars' |
|---|
| 30 | AVATAR_GRAVATAR_BACKUP = False |
|---|
| 31 | AVATAR_DEFAULT_URL = '/static/img/noavatar.jpg' |
|---|