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
Nicholas J Anderson
whats-open
Commits
1743d869
Commit
1743d869
authored
Dec 14, 2013
by
Daniel W Bond
Browse files
moved to a settings directory for similarity with other SRCT projects
parent
4495c95d
Changes
5
Show whitespace changes
Inline
Side-by-side
manage.py
View file @
1743d869
...
@@ -3,7 +3,7 @@ import os
...
@@ -3,7 +3,7 @@ import os
import
sys
import
sys
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"
whats_open
.settings"
)
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"
settings
.settings"
)
from
django.core.management
import
execute_from_command_line
from
django.core.management
import
execute_from_command_line
...
...
whats_open
/__init__.py
→
settings
/__init__.py
View file @
1743d869
File moved
whats_open
/settings.py
→
settings
/settings.py
View file @
1743d869
...
@@ -107,10 +107,10 @@ MIDDLEWARE_CLASSES = (
...
@@ -107,10 +107,10 @@ MIDDLEWARE_CLASSES = (
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
)
)
ROOT_URLCONF
=
'
whats_open
.urls'
ROOT_URLCONF
=
'
settings
.urls'
# Python dotted path to the WSGI application used by Django's runserver.
# Python dotted path to the WSGI application used by Django's runserver.
WSGI_APPLICATION
=
'
whats_open
.wsgi.application'
WSGI_APPLICATION
=
'
settings
.wsgi.application'
TEMPLATE_DIRS
=
(
TEMPLATE_DIRS
=
(
# os.path.join(PROJECT_PATH, 'templates'),
# os.path.join(PROJECT_PATH, 'templates'),
...
...
whats_open
/urls.py
→
settings
/urls.py
View file @
1743d869
File moved
whats_open
/wsgi.py
→
settings
/wsgi.py
View file @
1743d869
File moved
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