app/settings.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 18 Sep 2009 03:05:47 +0530
changeset 2946 69be8ea0b597
parent 2904 395cff83dc83
child 3027 a223fff4cca8
permissions -rwxr-xr-x
Added GHOP views helper to INSTALLED_APPS in django settings.py. Adding this path to INSTALLED_APPS enables GHOP specific templatetags that resides in this path.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     1
# Copyright 2008 the Melange authors.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     2
#
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     3
# Licensed under the Apache License, Version 2.0 (the "License");
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     4
# you may not use this file except in compliance with the License.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     5
# You may obtain a copy of the License at
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     6
#
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     7
#     http://www.apache.org/licenses/LICENSE-2.0
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     8
#
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     9
# Unless required by applicable law or agreed to in writing, software
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    10
# distributed under the License is distributed on an "AS IS" BASIS,
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    12
# See the License for the specific language governing permissions and
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    13
# limitations under the License.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    14
2066
1855c783934f Add missing docstrings to main.py and settings.py.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 832
diff changeset
    15
"""Module containing Melange Django settings.
1855c783934f Add missing docstrings to main.py and settings.py.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 832
diff changeset
    16
"""
1855c783934f Add missing docstrings to main.py and settings.py.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 832
diff changeset
    17
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    18
__authors__ = [
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    19
  '"Augie Fackler" <durin42@gmail.com>',
832
1a20acbfbc88 Fix typo in settings.py (missing '>' character).
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 273
diff changeset
    20
  '"Pawel Solyga" <pawel.solyga@gmail.com>',
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    21
  ]
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    22
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    23
import os
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    24
77
778b5f9d6e7c Debug flag value depends now on App Engine environment.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 66
diff changeset
    25
# Debug flag True only on App Engine development environment (dev_appserver.py)
778b5f9d6e7c Debug flag value depends now on App Engine environment.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 66
diff changeset
    26
# dev_appserver sets SERVER_SOFTWARE to 'Development/1.0'
778b5f9d6e7c Debug flag value depends now on App Engine environment.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 66
diff changeset
    27
DEBUG = os.environ['SERVER_SOFTWARE'].startswith('Dev')
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    28
TEMPLATE_DEBUG = DEBUG
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    29
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    30
ADMINS = (
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    31
    # ('Your Name', 'your_email@domain.com'),
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    32
)
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    33
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    34
MANAGERS = ADMINS
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    35
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    36
# 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    37
DATABASE_ENGINE = 'dummy'
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    38
# None of the following are used with appengine
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    39
DATABASE_NAME = ''             # Or path to database file if using sqlite3.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    40
DATABASE_USER = ''             # Not used with sqlite3.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    41
DATABASE_PASSWORD = ''         # Not used with sqlite3.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    42
# Set to empty string for localhost. Not used with sqlite3.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    43
DATABASE_HOST = ''
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    44
# Set to empty string for default. Not used with sqlite3.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    45
DATABASE_PORT = ''
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    46
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    47
# Local time zone for this installation. Choices can be found here:
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    48
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    49
# although not all choices may be available on all operating systems.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    50
# If running in a Windows environment this must be set to the same as your
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    51
# system time zone.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    52
TIME_ZONE = 'UTC'
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    53
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    54
# Language code for this installation. All choices can be found here:
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    55
# http://www.i18nguy.com/unicode/language-identifiers.html
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    56
LANGUAGE_CODE = 'en-us'
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    57
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    58
SITE_ID = 1
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    59
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    60
# If you set this to False, Django will make some optimizations so as not
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    61
# to load the internationalization machinery.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    62
USE_I18N = True
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    63
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    64
# Absolute path to the directory that holds media.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    65
# Example: "/home/media/media.lawrence.com/"
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    66
MEDIA_ROOT = ''
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    67
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    68
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    69
# trailing slash if there is a path component (optional in other cases).
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    70
# Examples: "http://media.lawrence.com", "http://example.com/media/"
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    71
MEDIA_URL = ''
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    72
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    73
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    74
# trailing slash.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    75
# Examples: "http://foo.com/media/", "/media/".
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    76
ADMIN_MEDIA_PREFIX = '/media/'
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    77
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    78
# TODO  Make this unique, and don't share it with anybody.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    79
SECRET_KEY = 'hvhxfm5u=^*v&doo#oq8x*eg8+1&9sxbye@=umutgn^t_sg_nx'
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    80
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    81
# List of callables that know how to import templates from various sources.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    82
TEMPLATE_LOADERS = (
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    83
    'django.template.loaders.filesystem.load_template_source',
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    84
    'django.template.loaders.app_directories.load_template_source',
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    85
#     'django.template.loaders.eggs.load_template_source',
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    86
)
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    87
2904
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
    88
# The order of the middleware is as follows because:
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
    89
# - The ValueStore middleware should be before any other middleware
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
    90
#   so that the value store is available to it.
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
    91
# - The ExceptionHandler should be the outermost handler (after the
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
    92
#   ValueStore) so as to catch as many errors as possible.
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
    93
# - The Profile middleware should be as outmost as possible, so that
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
    94
#   as many function calls as possible, but it cannot be before the
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
    95
#   ExceptionHandler (so as to catch exceptions thrown by it).
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
    96
# - The MaintenanceMiddleware should be after the Profiler, since we
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
    97
#   do want it's actions profiled.
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    98
MIDDLEWARE_CLASSES = (
2904
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
    99
    'soc.middleware.value_store.ValueStoreMiddleware',
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
   100
    'soc.middleware.exception_handler.ExceptionHandlerMiddleware',
2832
2a0a7e081caf Profiling patch
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2404
diff changeset
   101
    'app_profiler.app_profiler.ProfileMiddleware',    
2904
395cff83dc83 Enable the new middleware and empty the view decorator
Sverre Rabbelier <srabbelier@gmail.com>
parents: 2896
diff changeset
   102
    'soc.middleware.maintenance.MaintenanceMiddleware',
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   103
#    'django.middleware.common.CommonMiddleware',
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   104
#    'django.contrib.sessions.middleware.SessionMiddleware',
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   105
#    'django.contrib.auth.middleware.AuthenticationMiddleware',
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   106
#    'django.middleware.doc.XViewMiddleware',
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   107
)
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   108
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   109
ROOT_URLCONF = 'urls'
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   110
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   111
ROOT_PATH = os.path.dirname(__file__)
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   112
TEMPLATE_DIRS = (
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   113
    # TODO(proto): customize the template search directories
66
8c86470746fc Finished migrating the "proto" app (which only contained a Person profile edit
Todd Larsen <tlarsen@google.com>
parents: 54
diff changeset
   114
    os.path.join(ROOT_PATH, 'gsoc', 'templates'),
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   115
    os.path.join(ROOT_PATH, 'soc', 'templates'),
2335
366e64ecba91 Add web based python shell to Melange.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 2066
diff changeset
   116
    os.path.join(ROOT_PATH, 'shell', 'templates'),
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   117
)
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   118
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   119
INSTALLED_APPS = (
273
b97d08ebac0e Move helpers/templatetags to helper/templatetags.
Todd Larsen <tlarsen@google.com>
parents: 91
diff changeset
   120
    'soc.views.helper',
2946
69be8ea0b597 Added GHOP views helper to INSTALLED_APPS in django settings.py.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 2904
diff changeset
   121
    'soc.modules.ghop.views.helper',
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   122
#    'django.contrib.auth',
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   123
#    'django.contrib.contenttypes',
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   124
#    'django.contrib.sessions',
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   125
#    'django.contrib.sites',
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
   126
)
2333
221482a54238 First step in the module design
Sverre Rabbelier <sverre@rabbelier.nl>
parents: 2066
diff changeset
   127
2404
4f87bab3c6b3 Remove getCallback indirection in modules
Sverre Rabbelier <sverre@rabbelier.nl>
parents: 2397
diff changeset
   128
MODULE_FMT = 'soc.modules.%s.callback'
2896
5a3c5a2f567f Moved enabling GHOP to settings.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2832
diff changeset
   129
# TODO: to enable GHOP change the MODULES line have the following entries:
5a3c5a2f567f Moved enabling GHOP to settings.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2832
diff changeset
   130
#MODULES = ['ghop']
5a3c5a2f567f Moved enabling GHOP to settings.py.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2832
diff changeset
   131
MODULES = []