# HG changeset patch # User Madhusudan.C.S # Date 1294379722 -19800 # Node ID 81994e525e699779da43bff7055a29c9c29a9d00 # Parent 3c8f3b0e5b0080b6e41cbd8487a9e1aa733c146f Removed the files which were accidentally committed. diff -r 3c8f3b0e5b00 -r 81994e525e69 project/__init__.py diff -r 3c8f3b0e5b00 -r 81994e525e69 project/development.py --- a/project/development.py Thu Jan 06 19:07:04 2011 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ - -from project.settings import * -DEBUG=True -TEMPLATE_DEBUG=DEBUG diff -r 3c8f3b0e5b00 -r 81994e525e69 project/production.py --- a/project/production.py Thu Jan 06 19:07:04 2011 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - -from project.settings import * diff -r 3c8f3b0e5b00 -r 81994e525e69 project/settings.py --- a/project/settings.py Thu Jan 06 19:07:04 2011 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,64 +0,0 @@ - -import os - -ADMINS = ( - # ('Your Name', 'your_email@domain.com'), -) - -MANAGERS = ADMINS - -DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. -DATABASE_NAME = 'project.db' -DATABASE_USER = '' # Not used with sqlite3. -DATABASE_PASSWORD = '' # Not used with sqlite3. -DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. -DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. - -TIME_ZONE = 'America/Chicago' - -LANGUAGE_CODE = 'en-us' - -# Absolute path to the directory that holds media. -# Example: "/home/media/media.lawrence.com/" -MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'media') - -# URL that handles the media served from MEDIA_ROOT. Make sure to use a -# trailing slash if there is a path component (optional in other cases). -# Examples: "http://media.lawrence.com", "http://example.com/media/" -MEDIA_URL = '/media/' - -# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a -# trailing slash. -# Examples: "http://foo.com/media/", "/media/". -ADMIN_MEDIA_PREFIX = '/admin_media/' - -# Don't share this with anybody. -SECRET_KEY = '%(7736-vn4562yhn4^@c%st00h3ed6-v@=ce1m(68c1j5c6!j4' - -MIDDLEWARE_CLASSES = ( - 'django.middleware.common.CommonMiddleware', - 'django.contrib.sessions.middleware.SessionMiddleware', - 'django.contrib.auth.middleware.AuthenticationMiddleware', - 'django.middleware.doc.XViewMiddleware', -) - -ROOT_URLCONF = 'project.urls' - - -INSTALLED_APPS = ( - 'django.contrib.auth', - 'django.contrib.contenttypes', - 'django.contrib.sessions', - 'django.contrib.admin', -) - -TEMPLATE_LOADERS = ( - 'django.template.loaders.filesystem.load_template_source', - 'django.template.loaders.app_directories.load_template_source', -) - -TEMPLATE_DIRS = ( - os.path.join(os.path.dirname(__file__), "templates"), -) - - diff -r 3c8f3b0e5b00 -r 81994e525e69 project/urls.py --- a/project/urls.py Thu Jan 06 19:07:04 2011 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ - -from django.conf.urls.defaults import patterns, include, handler500 -from django.conf import settings -from django.contrib import admin -admin.autodiscover() - -handler500 # Pyflakes - -urlpatterns = patterns( - '', - (r'^admin/(.*)', admin.site.root), - (r'^accounts/login/$', 'django.contrib.auth.views.login'), -) - -if settings.DEBUG: - urlpatterns += patterns('', - (r'^media/(?P.*)$', 'django.views.static.serve', - {'document_root': settings.MEDIA_ROOT}), - )