Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
e6832b71
Commit
e6832b71
authored
Feb 06, 2012
by
Sofia Papagiannaki
Browse files
Merge branch 'master' of
https://code.grnet.gr/git/astakos
parents
1fefe48c
4b07ae98
Changes
1
Hide whitespace changes
Inline
Side-by-side
astakos/settings.py
View file @
e6832b71
...
...
@@ -83,23 +83,6 @@ TEMPLATE_DIRS = (
join
(
PROJECT_PATH
,
'im/admin/templates/'
)
)
conf
=
join
(
PROJECT_PATH
,
'settings.local'
)
if
exists
(
conf
):
execfile
(
conf
)
elif
exists
(
'/etc/astakos/settings.local'
):
execfile
(
'/etc/astakos/settings.local'
)
INSTALLED_APPS
=
(
'astakos.im'
,
'south'
,
'django.contrib.auth'
,
'django.contrib.contenttypes'
,
'django.contrib.messages'
,
'django.contrib.sites'
,
'django.contrib.sessions'
)
TEMPLATE_CONTEXT_PROCESSORS
=
(
'django.contrib.messages.context_processors.messages'
,
'django.contrib.auth.context_processors.auth'
,
...
...
@@ -127,4 +110,20 @@ USE_X_FORWARDED_HOST = False
#umask(0077)
# The URL where requests are redirected for login, especially when using the login_required() decorator.
LOGIN_URL
=
'/im'
\ No newline at end of file
LOGIN_URL
=
'/im'
conf
=
join
(
PROJECT_PATH
,
'settings.local'
)
if
exists
(
conf
):
execfile
(
conf
)
elif
exists
(
'/etc/astakos/settings.local'
):
execfile
(
'/etc/astakos/settings.local'
)
INSTALLED_APPS
=
(
'astakos.im'
,
'south'
,
'django.contrib.auth'
,
'django.contrib.contenttypes'
,
'django.contrib.messages'
,
'django.contrib.sites'
,
'django.contrib.sessions'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment