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
efc05710
Commit
efc05710
authored
Apr 19, 2012
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove references to unused TEXTBOOK_DIR, add comments
parent
0316d971
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
envs/common.py
+5
-10
No files found.
envs/common.py
View file @
efc05710
...
...
@@ -88,10 +88,6 @@ TEMPLATE_CONTEXT_PROCESSORS = (
)
# FIXME: We're not checking this out in this location yet
# TEXTBOOK_DIR = ENV_ROOT / "books" / "circuits_agarwal_lang" # What it should eventually be
TEXTBOOK_DIR
=
ENV_ROOT
/
"book_images"
# FIXME:
# We should have separate S3 staged URLs in case we need to make changes to
# these assets and test them.
...
...
@@ -142,12 +138,8 @@ STATICFILES_DIRS = (
PROJECT_ROOT
/
"static"
,
ASKBOT_ROOT
/
"askbot"
/
"skins"
,
# Something like this will probably need to be enabled when we're really doing
# multiple courses.
# ("circuits", DATA_DIR / "images"),
# ("handouts", DATA_DIR / "handouts"),
# ("subs", DATA_DIR / "subs"),
# ("book", TEXTBOOK_DIR)
# This is how you would use the textbook images locally
# ("book", ENV_ROOT / "book_images")
)
# Locale/Internationalization
...
...
@@ -209,8 +201,11 @@ MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware'
,
'django.contrib.sessions.middleware.SessionMiddleware'
,
'django.middleware.csrf.CsrfViewMiddleware'
,
# Instead of AuthenticationMiddleware, we use a cached backed version
#'django.contrib.auth.middleware.AuthenticationMiddleware',
'cache_toolbox.middleware.CacheBackedAuthenticationMiddleware'
,
'django.contrib.messages.middleware.MessageMiddleware'
,
'track.middleware.TrackMiddleware'
,
'mitxmako.middleware.MakoMiddleware'
,
...
...
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