author | primal primal007@gmail.com |
Tue, 06 Dec 2011 10:20:43 +0530 | |
branch | 2011 |
changeset 512 | d41189cf344d |
parent 389 | fe49720e67bf |
permissions | -rw-r--r-- |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
1 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
2 |
import os |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
3 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
4 |
ADMINS = ( |
374
df1fe9447ff7
Remove admin@scipy.in email ID from the email List. The spam is too much.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
236
diff
changeset
|
5 |
#('Madhusudan.C.S', 'admin@scipy.in'), |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
6 |
) |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
7 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
8 |
MANAGERS = ADMINS |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
9 |
|
389 | 10 |
DEBUG=True |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
11 |
DATABASE_HOST = '' |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
12 |
DATABASE_PORT = '' |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
13 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
14 |
TIME_ZONE = 'Asia/Kolkata' |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
15 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
16 |
LANGUAGE_CODE = 'en-us' |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
17 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
18 |
# Absolute path to the directory that holds media. |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
19 |
# Example: "/home/media/media.lawrence.com/" |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
20 |
MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'media') |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
21 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
22 |
USER_MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'media', 'user') |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
23 |
USER_MEDIA_PDF = os.path.join(os.path.dirname(__file__), 'media', 'pdf') |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
24 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
25 |
# URL that handles the media served from MEDIA_ROOT. Make sure to use a |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
26 |
# trailing slash if there is a path component (optional in other cases). |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
27 |
# Examples: "http://media.lawrence.com", "http://example.com/media/" |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
28 |
MEDIA_URL = '/media/' |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
29 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
30 |
USER_MEDIA_URL = '/media/user/' |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
31 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
32 |
# Absolute path to the directory that holds static files. |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
33 |
# Example: "/home/static-files/static-files.lawrence.com/" |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
34 |
STATIC_ROOT = os.path.join(os.path.dirname(__file__), 'static') |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
35 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
36 |
# URL that handles the static files served from MEDIA_ROOT. Make sure to use a |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
37 |
# trailing slash if there is a path component (optional in other cases). |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
38 |
# Examples: "http://static-files.lawrence.com", "http://example.com/static-files/" |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
39 |
STATIC_URL = '/' |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
40 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
41 |
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
42 |
# trailing slash. |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
43 |
# Examples: "http://foo.com/media/", "/media/". |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
44 |
ADMIN_MEDIA_PREFIX = '/admin_media/' |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
45 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
46 |
# Don't share this with anybody. |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
47 |
SECRET_KEY = 'o)l1m*xi4%7*2dkbwcou2vc48vo8v48y3obyou3hb3bh$t25zd' |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
48 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
49 |
MIDDLEWARE_CLASSES = ( |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
50 |
'django.middleware.common.CommonMiddleware', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
51 |
'django.contrib.sessions.middleware.SessionMiddleware', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
52 |
'django.contrib.auth.middleware.AuthenticationMiddleware', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
53 |
'django.middleware.doc.XViewMiddleware', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
54 |
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
55 |
) |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
56 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
57 |
ROOT_URLCONF = 'project.urls' |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
58 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
59 |
TEMPLATE_LOADERS = ( |
152
64d37556e457
Reverted the template loaders path.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
150
diff
changeset
|
60 |
'django.template.loaders.filesystem.load_template_source', |
64d37556e457
Reverted the template loaders path.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
150
diff
changeset
|
61 |
'django.template.loaders.app_directories.load_template_source', |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
62 |
) |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
63 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
64 |
TEMPLATE_DIRS = ( |
147
c085ceb4652a
Made some style changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
131
diff
changeset
|
65 |
os.path.join(os.path.dirname(__file__), 'templates'), |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
66 |
) |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
67 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
68 |
AUTH_PROFILE_MODULE = 'user.UserProfile' |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
69 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
70 |
TEMPLATE_CONTEXT_PROCESSORS = ( |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
71 |
'django.core.context_processors.auth', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
72 |
'django.core.context_processors.debug', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
73 |
'django.core.context_processors.i18n', |
96
178b89a3ca4f
Removed unwanted files and made more changes to make SciPyCon a clean app.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
94
diff
changeset
|
74 |
'django.core.context_processors.media') |
22
2294c71a61ea
Made final changes to the mail to be sent.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
1
diff
changeset
|
75 |
|
389 | 76 |
DEFAULT_FROM_EMAIL = 'admin@scipy.in' |
23
3cb3f853a193
Moved ACCOUNT_ACTIVATION_DAYS to settings.py and added name as a template variable.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
22
diff
changeset
|
77 |
|
377
bbb0f40223be
changed current scope to scipy/2011
Parth buch <parth.buch.115@gmail.com>
parents:
374
diff
changeset
|
78 |
CURRENT_SCOPE = 'scipyin/2011' |
131
bf9cc0961c31
Modifed the LOGIN_URL variable for new scope based system.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
107
diff
changeset
|
79 |
|
147
c085ceb4652a
Made some style changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
131
diff
changeset
|
80 |
LOGIN_URL = '/%s/login' % (CURRENT_SCOPE) |
236 | 81 |
|
82 |
DATABASE_ENGINE = 'sqlite3' |
|
83 |
DATABASE_NAME = 'scipycon.db' |
|
84 |
DATABASE_USER = '' |
|
85 |
DATABASE_PASSWORD = '' |
|
86 |
||
87 |
INSTALLED_APPS = ( |
|
88 |
'django.contrib.auth', |
|
89 |
'django.contrib.contenttypes', |
|
90 |
'django.contrib.comments', |
|
91 |
'django.contrib.sessions', |
|
92 |
'django.contrib.admin', |
|
93 |
'django.contrib.sites', |
|
94 |
'django.contrib.flatpages', |
|
95 |
'django.contrib.markup', |
|
96 |
'django.contrib.sitemaps', |
|
97 |
'project.scipycon', |
|
98 |
'project.scipycon.base', |
|
99 |
'project.scipycon.proceedings', |
|
100 |
'project.scipycon.registration', |
|
101 |
'project.scipycon.user', |
|
102 |
'project.scipycon.talk', |
|
103 |
'tagging', |
|
104 |
'robots', |
|
105 |
) |
|
106 |