root/trunk/djangoid/settings.py
| Revision 8, 3.2 kB (checked in by nicolast, 5 years ago) |
|---|
| Line | |
|---|---|
| 1 | #Djangoid - Django-based OpenID server/provider |
| 2 | #Copyright (C) 2006 Nicolas Trangez <ikke nicolast be> |
| 3 | # |
| 4 | #This program is free software; you can redistribute it and/or modify |
| 5 | #it under the terms of the GNU General Public License as published by |
| 6 | #the Free Software Foundation; either version 2 of the License. |
| 7 | # |
| 8 | #This program is distributed in the hope that it will be useful, |
| 9 | #but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | #GNU General Public License for more details. |
| 12 | # |
| 13 | #You should have received a copy of the GNU General Public License |
| 14 | #along with this program; if not, write to the Free Software |
| 15 | #Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 16 | # |
| 17 | #EOL |
| 18 | # Django settings for djangoid project. |
| 19 | |
| 20 | DEBUG = True |
| 21 | TEMPLATE_DEBUG = DEBUG |
| 22 | |
| 23 | ADMINS = ( |
| 24 | # ('Your Name', 'your_email@domain.com'), |
| 25 | ) |
| 26 | |
| 27 | MANAGERS = ADMINS |
| 28 | |
| 29 | DATABASE_ENGINE = 'sqlite3' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. |
| 30 | DATABASE_NAME = 'db.dat' # Or path to database file if using sqlite3. |
| 31 | DATABASE_USER = '' # Not used with sqlite3. |
| 32 | DATABASE_PASSWORD = '' # Not used with sqlite3. |
| 33 | DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. |
| 34 | DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. |
| 35 | |
| 36 | # Local time zone for this installation. All choices can be found here: |
| 37 | # http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE |
| 38 | TIME_ZONE = 'America/Chicago' |
| 39 | |
| 40 | # Language code for this installation. All choices can be found here: |
| 41 | # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes |
| 42 | # http://blogs.law.harvard.edu/tech/stories/storyReader$15 |
| 43 | LANGUAGE_CODE = 'en-us' |
| 44 | |
| 45 | SITE_ID = 1 |
| 46 | |
| 47 | # Absolute path to the directory that holds media. |
| 48 | # Example: "/home/media/media.lawrence.com/" |
| 49 | MEDIA_ROOT = '' |
| 50 | |
| 51 | # URL that handles the media served from MEDIA_ROOT. |
| 52 | # Example: "http://media.lawrence.com" |
| 53 | MEDIA_URL = '' |
| 54 | |
| 55 | # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a |
| 56 | # trailing slash. |
| 57 | # Examples: "http://foo.com/media/", "/media/". |
| 58 | ADMIN_MEDIA_PREFIX = '/media/' |
| 59 | |
| 60 | # Make this unique, and don't share it with anybody. |
| 61 | SECRET_KEY = 'j=*#$h%7pi0x+4wydvg6yhioyp2qq_r^10l(#z^j_-mbyzmkd%' |
| 62 | |
| 63 | # List of callables that know how to import templates from various sources. |
| 64 | TEMPLATE_LOADERS = ( |
| 65 | 'django.template.loaders.filesystem.load_template_source', |
| 66 | 'django.template.loaders.app_directories.load_template_source', |
| 67 | # 'django.template.loaders.eggs.load_template_source', |
| 68 | ) |
| 69 | |
| 70 | MIDDLEWARE_CLASSES = ( |
| 71 | 'django.middleware.common.CommonMiddleware', |
| 72 | 'django.contrib.sessions.middleware.SessionMiddleware', |
| 73 | 'django.contrib.auth.middleware.AuthenticationMiddleware', |
| 74 | 'django.middleware.doc.XViewMiddleware', |
| 75 | ) |
| 76 | |
| 77 | ROOT_URLCONF = 'djangoid.urls' |
| 78 | |
| 79 | TEMPLATE_DIRS = ( |
| 80 | # Put strings here, like "/home/html/django_templates". |
| 81 | # Always use forward slashes, even on Windows. |
| 82 | "templates", |
| 83 | ) |
| 84 | |
| 85 | INSTALLED_APPS = ( |
| 86 | 'django.contrib.auth', |
| 87 | 'django.contrib.contenttypes', |
| 88 | 'django.contrib.sessions', |
| 89 | 'django.contrib.sites', |
| 90 | 'django.contrib.admin', |
| 91 | 'djangoid.server', |
| 92 | 'djangoid.users', |
| 93 | ) |
| 94 | |
| 95 | BASE_URL = "http://localhost:8000/" |
Note: See TracBrowser for help on using the browser.
