common.py 19.8 KB
Newer Older
1 2 3 4
"""
This is the common settings file, intended to set sane defaults. If you have a
piece of configuration that's dependent on a set of feature flags being set,
then create a function that returns the calculated value based on the value of
5
MITX_FEATURES[...]. Modules that extend this one can change the feature
6 7 8
configuration in an environment specific config file and re-calculate those
values.

9
We should make a method that calls all these config methods so that you just
10
make one call at the end of your site-specific dev file to reset all the
11 12
dependent variables (like INSTALLED_APPS) for you.

13
Longer TODO:
14
1. Right now our treatment of static content in general and in particular
15 16 17
   course-specific static content is haphazard.
2. We should have a more disciplined approach to feature flagging, even if it
   just means that we stick them in a dict called MITX_FEATURES.
18
3. We need to handle configuration for multiple courses. This could be as
19 20
   multiple sites, but we do need a way to map their data assets.
"""
21
import sys
22
import os
Piotr Mitros committed
23
import tempfile
24
from xmodule.static_content import write_module_styles, write_module_js
25

26 27
from path import path

28
from .discussionsettings import *
29

30 31
################################### FEATURES ###################################
COURSEWARE_ENABLED = True
32
ENABLE_JASMINE = False
33

34 35 36
GENERATE_RANDOM_USER_CREDENTIALS = False
PERFSTATS = False

Arjun Singh committed
37 38 39 40
DISCUSSION_SETTINGS = {
    'MAX_COMMENT_DEPTH': 2,
}

41 42
# Features
MITX_FEATURES = {
Calen Pennington committed
43 44 45 46 47
    'SAMPLE': False,
    'USE_DJANGO_PIPELINE': True,
    'DISPLAY_HISTOGRAMS_TO_STAFF': True,
    'REROUTE_ACTIVATION_EMAIL': False,		# nonempty string = address for all activation emails
    'DEBUG_LEVEL': 0,				# 0 = lowest level, least verbose, 255 = max level, most verbose
48 49 50

    ## DO NOT SET TO True IN THIS FILE
    ## Doing so will cause all courses to be released on production
51
    'DISABLE_START_DATES': False,  # When True, all courses will be active, regardless of start date
52

53 54 55
    # When True, will only publicly list courses by the subdomain. Expects you
    # to define COURSE_LISTINGS, a dictionary mapping subdomains to lists of
    # course_ids (see dev_int.py for an example)
Calen Pennington committed
56
    'SUBDOMAIN_COURSE_LISTINGS': False,
57

58 59 60 61 62
    # When True, will override certain branding with university specific values
    # Expects a SUBDOMAIN_BRANDING dictionary that maps the subdomain to the
    # university to use for branding purposes
    'SUBDOMAIN_BRANDING': False,

Calen Pennington committed
63
    'FORCE_UNIVERSITY_DOMAIN': False,  	# set this to the university domain to use, as an override to HTTP_HOST
64 65
                                        # set to None to do no university selection

Calen Pennington committed
66
    'ENABLE_TEXTBOOK': True,
67
    'ENABLE_DISCUSSION_SERVICE': True,
68

Calen Pennington committed
69
    'ENABLE_PSYCHOMETRICS': False,  	# real-time psychometrics (eg item response theory analysis in instructor dashboard)
70

71 72
    'ENABLE_SQL_TRACKING_LOGS': False,
    'ENABLE_LMS_MIGRATION': False,
73
    'ENABLE_MANUAL_GIT_RELOAD': False,
74

75
    'DISABLE_LOGIN_BUTTON': False,  # used in systems where login is automatic, eg MIT SSL
76

Calen Pennington committed
77
    'STUB_VIDEO_FOR_TESTING': False,   # do not display video when running automated acceptance tests
78

79 80 81
    # extrernal access methods
    'ACCESS_REQUIRE_STAFF_FOR_COURSE': False,
    'AUTH_USE_OPENID': False,
Calen Pennington committed
82
    'AUTH_USE_MIT_CERTIFICATES': False,
83
    'AUTH_USE_OPENID_PROVIDER': False,
84

85 86
    # Flip to True when the YouTube iframe API breaks (again)
    'USE_YOUTUBE_OBJECT_API': False,
87 88
}

89 90 91 92 93 94
# Used for A/B testing
DEFAULT_GROUPS = []

# If this is true, random scores will be generated for the purpose of debugging the profile graphs
GENERATE_PROFILE_SCORES = False

95
# Used with XQueue
Calen Pennington committed
96
XQUEUE_WAITTIME_BETWEEN_REQUESTS = 5   # seconds
97

98

99
############################# SET PATH INFORMATION #############################
100 101 102 103
PROJECT_ROOT = path(__file__).abspath().dirname().dirname()  # /mitx/lms
REPO_ROOT = PROJECT_ROOT.dirname()
COMMON_ROOT = REPO_ROOT / "common"
ENV_ROOT = REPO_ROOT.dirname()  # virtualenv dir /mitx is in
104 105 106 107
COURSES_ROOT = ENV_ROOT / "data"

DATA_DIR = COURSES_ROOT

108
sys.path.append(REPO_ROOT)
109 110
sys.path.append(PROJECT_ROOT / 'djangoapps')
sys.path.append(PROJECT_ROOT / 'lib')
111
sys.path.append(COMMON_ROOT / 'djangoapps')
112
sys.path.append(COMMON_ROOT / 'lib')
113

114
# For Node.js
115 116 117 118 119

system_node_path = os.environ.get("NODE_PATH", None)
if system_node_path is None:
    system_node_path = "/usr/local/lib/node_modules"

120
node_paths = [COMMON_ROOT / "static/js/vendor",
121 122
              COMMON_ROOT / "static/coffee/src",
              system_node_path
123
              ]
124
NODE_PATH = ':'.join(node_paths)
125

126

127
# Where to look for a status message
128
STATUS_MESSAGE_PATH = ENV_ROOT / "status_message.json"
129

130
############################ OpenID Provider  ##################################
131
OPENID_PROVIDER_TRUSTED_ROOTS = ['cs50.net', '*.cs50.net']
132

133
################################## MITXWEB #####################################
134 135
# This is where we stick our compiled template files. Most of the app uses Mako
# templates
136
MAKO_MODULE_DIR = tempfile.mkdtemp('mako')
Piotr Mitros committed
137
MAKO_TEMPLATES = {}
138
MAKO_TEMPLATES['main'] = [PROJECT_ROOT / 'templates',
139
                          COMMON_ROOT / 'templates',
140
                          COMMON_ROOT / 'lib' / 'capa' / 'capa' / 'templates',
141
                          COMMON_ROOT / 'djangoapps' / 'pipeline_mako' / 'templates']
Piotr Mitros committed
142

143
# This is where Django Template lookup is defined. There are a few of these
144 145 146
# still left lying around.
TEMPLATE_DIRS = (
    PROJECT_ROOT / "templates",
147 148 149
    COMMON_ROOT / 'templates',
    COMMON_ROOT / 'lib' / 'capa' / 'capa' / 'templates',
    COMMON_ROOT / 'djangoapps' / 'pipeline_mako' / 'templates',
150 151 152 153
)

TEMPLATE_CONTEXT_PROCESSORS = (
    'django.core.context_processors.request',
154
    'django.core.context_processors.static',
155
    'django.contrib.messages.context_processors.messages',
156
    #'django.core.context_processors.i18n',
Calen Pennington committed
157 158
    'django.contrib.auth.context_processors.auth',   # this is required for admin
    'django.core.context_processors.csrf',   # necessary for csrf protection
159

160 161 162 163 164
    # Added for django-wiki
    'django.core.context_processors.media',
    'django.core.context_processors.tz',
    'django.contrib.messages.context_processors.messages',
    'sekizai.context_processors.sekizai',
165
    'course_wiki.course_nav.context_processor',
166 167
)

Calen Pennington committed
168
STUDENT_FILEUPLOAD_MAX_SIZE = 4 * 1000 * 1000   # 4 MB
169
MAX_FILEUPLOADS_PER_INPUT = 20
170

171 172
# FIXME:
# We should have separate S3 staged URLs in case we need to make changes to
173
# these assets and test them.
174
LIB_URL = '/static/js/'
175 176 177

# Dev machines shouldn't need the book
# BOOK_URL = '/static/book/'
Calen Pennington committed
178
BOOK_URL = 'https://mitxstatic.s3.amazonaws.com/book_images/'   # For AWS deploys
179
# RSS_URL = r'lms/templates/feed.rss'
180
# PRESS_URL = r''
181
RSS_TIMEOUT = 600
182

183 184 185 186
# Configuration option for when we want to grab server error pages
STATIC_GRAB = False
DEV_CONTENT = True

187
# FIXME: Should we be doing this truncation?
188
TRACK_MAX_EVENT = 10000
189
DEBUG_TRACK_LOG = False
190

191 192
MITX_ROOT_URL = ''

193 194 195
LOGIN_REDIRECT_URL = MITX_ROOT_URL + '/accounts/login'
LOGIN_URL = MITX_ROOT_URL + '/accounts/login'

196 197 198 199
COURSE_NAME = "6.002_Spring_2012"
COURSE_NUMBER = "6.002x"
COURSE_TITLE = "Circuits and Electronics"

200
### Dark code. Should be enabled in local settings for devel.
201 202 203

ENABLE_MULTICOURSE = False     # set to False to disable multicourse display (see lib.util.views.mitxhome)

204 205
WIKI_ENABLED = False

206 207
###

208 209
COURSE_DEFAULT = '6.002x_Fall_2012'
COURSE_SETTINGS =  {'6.002x_Fall_2012': {'number' : '6.002x',
210 211
                                          'title'  :  'Circuits and Electronics',
                                          'xmlpath': '6002x/',
212
                                          'location': 'i4x://edx/6002xs12/course/6.002x_Fall_2012',
213 214 215
                                          }
                    }

Victor Shnayder committed
216 217 218
# IP addresses that are allowed to reload the course, etc.
# TODO (vshnayder): Will probably need to change as we get real access control in.
LMS_MIGRATION_ALLOWED_IPS = []
219

220 221 222 223 224
######################## subdomain specific settings ###########################
COURSE_LISTINGS = {}
SUBDOMAIN_BRANDING = {}


225
############################### XModule Store ##################################
226
MODULESTORE = {
227
    'default': {
228
        'ENGINE': 'xmodule.modulestore.xml.XMLModuleStore',
229 230 231 232 233 234
        'OPTIONS': {
            'data_dir': DATA_DIR,
            'default_class': 'xmodule.hidden_module.HiddenDescriptor',
        }
    }
}
235
CONTENTSTORE = None
236

237 238 239
############################ SIGNAL HANDLERS ################################
# This is imported to register the exception signal handling that logs exceptions
import monitoring.exceptions  # noqa
240

241 242 243 244
############################### DJANGO BUILT-INS ###############################
# Change DEBUG/TEMPLATE_DEBUG in your environment settings files, not here
DEBUG = False
TEMPLATE_DEBUG = False
245

246 247
# Site info
SITE_ID = 1
248
SITE_NAME = "edx.org"
249
HTTPS = 'on'
250
ROOT_URLCONF = 'lms.urls'
251
IGNORABLE_404_ENDS = ('favicon.ico')
252

253
# Email
254
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
255 256
DEFAULT_FROM_EMAIL = 'registration@edx.org'
DEFAULT_FEEDBACK_EMAIL = 'feedback@edx.org'
257
ADMINS = (
258
    ('edX Admins', 'admin@edx.org'),
259 260 261
)
MANAGERS = ADMINS

262
# Static content
263 264
STATIC_URL = '/static/'
ADMIN_MEDIA_PREFIX = '/static/admin/'
265
STATIC_ROOT = ENV_ROOT / "staticfiles"
266

267
STATICFILES_DIRS = [
268
    COMMON_ROOT / "static",
269
    PROJECT_ROOT / "static",
270
]
271

272
# Locale/Internationalization
Calen Pennington committed
273 274
TIME_ZONE = 'America/New_York'   # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
LANGUAGE_CODE = 'en'   # http://www.i18nguy.com/unicode/language-identifiers.html
275 276
USE_I18N = True
USE_L10N = True
277

278 279 280
# Messages
MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'

281 282 283 284 285 286
#################################### GITHUB #######################################
# gitreload is used in LMS-workflow to pull content from github
# gitreload requests are only allowed from these IP addresses, which are
# the advertised public IPs of the github WebHook servers.
# These are listed, eg at https://github.com/MITx/mitx/admin/hooks

287
ALLOWED_GITRELOAD_IPS = ['207.97.227.253', '50.57.128.197', '108.171.174.178']
288

289
#################################### AWS #######################################
290
# S3BotoStorage insists on a timeout for uploaded assets. We should make it
291
# permanent instead, but rather than trying to figure out exactly where that
292
# setting is, I'm just bumping the expiration time to something absurd (100
293 294
# years). This is only used if DEFAULT_FILE_STORAGE is overriden to use S3
# in the global settings.py
Calen Pennington committed
295
AWS_QUERYSTRING_EXPIRE = 10 * 365 * 24 * 60 * 60   # 10 years
296

297
################################# SIMPLEWIKI ###################################
298 299
SIMPLE_WIKI_REQUIRE_LOGIN_EDIT = True
SIMPLE_WIKI_REQUIRE_LOGIN_VIEW = False
300

301 302
################################# WIKI ###################################
WIKI_ACCOUNT_HANDLING = False
303
WIKI_EDITOR = 'course_wiki.editors.CodeMirror'
Calen Pennington committed
304 305
WIKI_SHOW_MAX_CHILDREN = 0   # We don't use the little menu that shows children of an article in the breadcrumb
WIKI_ANONYMOUS = False   # Don't allow anonymous access until the styling is figured out
306 307 308 309
WIKI_CAN_CHANGE_PERMISSIONS = lambda article, user: user.is_staff or user.is_superuser
WIKI_CAN_ASSIGN = lambda article, user: user.is_staff or user.is_superuser

WIKI_USE_BOOTSTRAP_SELECT_WIDGET = False
310
WIKI_LINK_LIVE_LOOKUPS = False
311
WIKI_LINK_DEFAULT_LEVEL = 2
312

313 314
################################# Staff grading config  #####################

315 316 317 318 319 320 321 322
#By setting up the default settings with an incorrect user name and password,
# will get an error when attempting to connect
STAFF_GRADING_INTERFACE = {
    'url': 'http://sandbox-grader-001.m.edx.org/staff_grading',
    'username': 'incorrect_user',
    'password': 'incorrect_pass',
    }

323 324 325
# Used for testing, debugging
MOCK_STAFF_GRADING = False

326 327 328
################################# Pearson TestCenter config  ################

PEARSONVUE_SIGNINPAGE_URL = "https://www1.pearsonvue.com/testtaker/signin/SignInPage/EDX"
329
# TESTCENTER_ACCOMMODATION_REQUEST_EMAIL = "exam-help@edx.org"
330

331
################################# Peer grading config  #####################
332 333 334 335 336 337 338 339 340 341

#By setting up the default settings with an incorrect user name and password,
# will get an error when attempting to connect
PEER_GRADING_INTERFACE = {
    'url': 'http://sandbox-grader-001.m.edx.org/peer_grading',
    'username': 'incorrect_user',
    'password': 'incorrect_pass',
    }

# Used for testing, debugging
342
MOCK_PEER_GRADING = False
343

344
################################# Jasmine ###################################
345
JASMINE_TEST_DIRECTORY = PROJECT_ROOT + '/static/coffee'
346

347 348 349 350
################################# Middleware ###################################
# List of finder classes that know how to find static files in
# various locations.
STATICFILES_FINDERS = (
351 352
    'staticfiles.finders.FileSystemFinder',
    'staticfiles.finders.AppDirectoriesFinder',
353 354 355 356
)

# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
357 358
    'mitxmako.makoloader.MakoFilesystemLoader',
    'mitxmako.makoloader.MakoAppDirectoriesLoader',
359

360 361
    # 'django.template.loaders.filesystem.Loader',
    # 'django.template.loaders.app_directories.Loader',
362

363 364 365
)

MIDDLEWARE_CLASSES = (
366
    'contentserver.middleware.StaticContentServer',
Rocky Duan committed
367
    'django_comment_client.middleware.AjaxExceptionMiddleware',
368 369 370
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
371 372

    # Instead of AuthenticationMiddleware, we use a cached backed version
373 374
    #'django.contrib.auth.middleware.AuthenticationMiddleware',
    'cache_toolbox.middleware.CacheBackedAuthenticationMiddleware',
375

376 377 378
    'django.contrib.messages.middleware.MessageMiddleware',
    'track.middleware.TrackMiddleware',
    'mitxmako.middleware.MakoMiddleware',
379

380
    'course_wiki.course_nav.Middleware',
381

382
    'django.middleware.transaction.TransactionMiddleware',
383
    # 'debug_toolbar.middleware.DebugToolbarMiddleware',
384 385

    'django_comment_client.utils.ViewNameMiddleware',
386 387
)

388 389 390 391
############################### Pipeline #######################################

STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'

392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408
from xmodule.hidden_module import HiddenDescriptor
from rooted_paths import rooted_glob, remove_root

write_module_styles(PROJECT_ROOT / 'static/sass/module', [HiddenDescriptor])
module_js = remove_root(
    PROJECT_ROOT / 'static',
    write_module_js(PROJECT_ROOT / 'static/coffee/module', [HiddenDescriptor])
)

courseware_js = (
    [
        'coffee/src/' + pth + '.coffee'
        for pth in ['courseware', 'histogram', 'navigation', 'time']
    ] +
    sorted(rooted_glob(PROJECT_ROOT / 'static', 'coffee/src/modules/**/*.coffee'))
)

409 410
# 'js/vendor/RequireJS.js' - Require JS wrapper.
# See https://edx-wiki.atlassian.net/wiki/display/LMS/Integration+of+Require+JS+into+the+system
411
main_vendor_js = [
412
  'js/vendor/RequireJS.js',
413
  'js/vendor/json2.js',
414 415 416 417 418
  'js/vendor/jquery.min.js',
  'js/vendor/jquery-ui.min.js',
  'js/vendor/jquery.cookie.js',
  'js/vendor/jquery.qtip.min.js',
  'js/vendor/swfobject/swfobject.js',
419
  'js/vendor/jquery.ba-bbq.min.js',
420 421 422
]

discussion_js = sorted(rooted_glob(PROJECT_ROOT / 'static', 'coffee/src/discussion/**/*.coffee'))
423
staff_grading_js = sorted(rooted_glob(PROJECT_ROOT / 'static', 'coffee/src/staff_grading/**/*.coffee'))
Calen Pennington committed
424
open_ended_js = sorted(rooted_glob(PROJECT_ROOT / 'static', 'coffee/src/open_ended/**/*.coffee'))
425

426 427
PIPELINE_CSS = {
    'application': {
428
        'source_filenames': ['sass/application.scss'],
429
        'output_filename': 'css/lms-application.css',
430
    },
Kyle Fiedler committed
431
    'course': {
432 433 434 435 436 437 438 439 440
        'source_filenames': [
            'js/vendor/CodeMirror/codemirror.css',
            'css/vendor/jquery.treeview.css',
            'css/vendor/ui-lightness/jquery-ui-1.8.22.custom.css',
            'css/vendor/jquery.qtip.min.css',
            'sass/course.scss'
        ],
        'output_filename': 'css/lms-course.css',
    },
441 442
    'ie-fixes': {
        'source_filenames': ['sass/ie.scss'],
443
        'output_filename': 'css/lms-ie.css',
444
    },
445 446
}

447
PIPELINE_ALWAYS_RECOMPILE = ['sass/application.scss', 'sass/ie.scss', 'sass/course.scss']
448 449
PIPELINE_JS = {
    'application': {
450

451
        # Application will contain all paths not in courseware_only_js
452 453 454
        'source_filenames': sorted(
            set(rooted_glob(COMMON_ROOT / 'static', 'coffee/src/**/*.coffee') +
                rooted_glob(PROJECT_ROOT / 'static', 'coffee/src/**/*.coffee')) -
Vik Paruchuri committed
455
            set(courseware_js + discussion_js + staff_grading_js + open_ended_js)
456
        ) + [
457 458 459 460
            'js/form.ext.js',
            'js/my_courses_dropdown.js',
            'js/toggle_login_modal.js',
            'js/sticky_filter.js',
461
            'js/query-params.js',
462
        ],
463
        'output_filename': 'js/lms-application.js'
464
    },
465
    'courseware': {
466
        'source_filenames': courseware_js,
467
        'output_filename': 'js/lms-courseware.js'
468
    },
469 470
    'main_vendor': {
        'source_filenames': main_vendor_js,
471
        'output_filename': 'js/lms-main_vendor.js',
472
    },
473
    'module-js': {
474
        'source_filenames': module_js,
475
        'output_filename': 'js/lms-modules.js',
476
    },
477 478
    'discussion': {
        'source_filenames': discussion_js,
479
        'output_filename': 'js/discussion.js'
480
    },
Calen Pennington committed
481
    'staff_grading': {
482 483
        'source_filenames': staff_grading_js,
        'output_filename': 'js/staff_grading.js'
484
    },
Calen Pennington committed
485
    'open_ended': {
486 487
        'source_filenames': open_ended_js,
        'output_filename': 'js/open_ended.js'
488
    }
489 490
}

491 492
PIPELINE_DISABLE_WRAPPER = True

493 494 495
# Compile all coffee files in course data directories if they are out of date.
# TODO: Remove this once we move data into Mongo. This is only temporary while
# course data directories are still in use.
496 497 498 499 500 501 502 503 504 505 506 507 508
if os.path.isdir(DATA_DIR):
    for course_dir in os.listdir(DATA_DIR):
        js_dir = DATA_DIR / course_dir / "js"
        if not os.path.isdir(js_dir):
            continue
        for filename in os.listdir(js_dir):
            if filename.endswith('coffee'):
                new_filename = os.path.splitext(filename)[0] + ".js"
                if os.path.exists(js_dir / new_filename):
                    coffee_timestamp = os.stat(js_dir / filename).st_mtime
                    js_timestamp     = os.stat(js_dir / new_filename).st_mtime
                    if coffee_timestamp <= js_timestamp:
                        continue
509
                os.system("rm %s" % (js_dir / new_filename))
510 511
                os.system("coffee -c %s" % (js_dir / filename))

512
PIPELINE_COMPILERS = [
513 514
    'pipeline.compilers.sass.SASSCompiler',
    'pipeline.compilers.coffee.CoffeeScriptCompiler',
515 516
]

517
PIPELINE_SASS_ARGUMENTS = '-t compressed -r {proj_dir}/static/sass/bourbon/lib/bourbon.rb'.format(proj_dir=PROJECT_ROOT)
518 519

PIPELINE_CSS_COMPRESSOR = None
520
PIPELINE_JS_COMPRESSOR = None
521

522
STATICFILES_IGNORE_PATTERNS = (
523 524
    "sass/*",
    "coffee/*",
525 526
)

527 528 529
PIPELINE_YUI_BINARY = 'yui-compressor'
PIPELINE_SASS_BINARY = 'sass'
PIPELINE_COFFEE_SCRIPT_BINARY = 'coffee'
530

531 532 533
# Setting that will only affect the MITx version of django-pipeline until our changes are merged upstream
PIPELINE_COMPILE_INPLACE = True

534
################################### APPS #######################################
535 536 537 538 539 540 541 542 543 544
INSTALLED_APPS = (
    # Standard ones that are always installed...
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.humanize',
    'django.contrib.messages',
    'django.contrib.sessions',
    'django.contrib.sites',
    'south',

545 546 547
    # For asset pipelining
    'pipeline',
    'staticfiles',
548
    'static_replace',
549

550 551 552 553 554 555 556 557 558 559
    # Our courseware
    'circuit',
    'courseware',
    'perfstats',
    'student',
    'static_template_view',
    'staticbook',
    'simplewiki',
    'track',
    'util',
560
    'certificates',
561
    'instructor',
562
    'open_ended_grading',
563
    'psychometrics',
564
    'licenses',
565
    'course_groups',
566

567
    #For the wiki
Calen Pennington committed
568
    'wiki',   # The new django-wiki from benjaoming
569
    'django_notify',
Calen Pennington committed
570
    'course_wiki',   # Our customizations
571 572
    'mptt',
    'sekizai',
573
    #'wiki.plugins.attachments',
574
    'wiki.plugins.links',
575
    'wiki.plugins.notifications',
576
    'course_wiki.plugins.markdownedx',
577

Victor Shnayder committed
578 579 580
    # foldit integration
    'foldit',

581
    # For testing
582
    'django.contrib.admin',   # only used in DEBUG mode
583

584
    # Discussion forums
585
    'django_comment_client',
586
)