Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
ceffe4a8
Commit
ceffe4a8
authored
Mar 19, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating pointers to new merged repo locations
parent
a20b01c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
settings.py
+7
-4
No files found.
settings.py
View file @
ceffe4a8
...
...
@@ -22,6 +22,9 @@ GENERATE_PROFILE_SCORES = False # If this is true, random scores will be generat
# Our parent dir (mitx_all) is the BASE_DIR
BASE_DIR
=
os
.
path
.
abspath
(
os
.
path
.
join
(
__file__
,
".."
,
".."
))
PROJECT_DIR
=
os
.
path
.
abspath
(
os
.
path
.
join
(
__file__
,
".."
))
sys
.
path
.
append
(
BASE_DIR
+
"/mitx/djangoapps"
)
sys
.
path
.
append
(
BASE_DIR
+
"/mitx/lib"
)
COURSEWARE_ENABLED
=
True
ASKBOT_ENABLED
=
True
...
...
@@ -266,15 +269,15 @@ if 'TEXTBOOK_DIR' not in locals():
if
'TEMPLATE_DIRS'
not
in
locals
():
TEMPLATE_DIRS
=
(
BASE
_DIR
+
'/templates/'
,
PROJECT
_DIR
+
'/templates/'
,
DATA_DIR
+
'/templates'
,
TEXTBOOK_DIR
,
)
if
'STATICFILES_DIRS'
not
in
locals
():
STATICFILES_DIRS
=
(
BASE
_DIR
+
'/3rdParty/static'
,
BASE
_DIR
+
'/static'
,
PROJECT
_DIR
+
'/3rdParty/static'
,
PROJECT
_DIR
+
'/static'
,
)
...
...
@@ -651,7 +654,7 @@ ot = MAKO_TEMPLATES
MAKO_TEMPLATES
[
'course'
]
=
[
DATA_DIR
]
MAKO_TEMPLATES
[
'sections'
]
=
[
DATA_DIR
+
'/sections'
]
MAKO_TEMPLATES
[
'custom_tags'
]
=
[
DATA_DIR
+
'/custom_tags'
]
MAKO_TEMPLATES
[
'main'
]
=
[
BASE
_DIR
+
'/templates/'
,
DATA_DIR
+
'/info'
]
MAKO_TEMPLATES
[
'main'
]
=
[
PROJECT
_DIR
+
'/templates/'
,
DATA_DIR
+
'/info'
]
MAKO_TEMPLATES
.
update
(
ot
)
...
...
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