|
From: <far...@us...> - 2006-11-16 21:18:21
|
Revision: 670
http://svn.sourceforge.net/hackndev/?rev=670&view=rev
Author: farcaller
Date: 2006-11-16 13:14:34 -0800 (Thu, 16 Nov 2006)
Log Message:
-----------
Removed Paths:
-------------
cmh/trunk/apps/
cmh/trunk/manage.py
cmh/trunk/media2/
cmh/trunk/settings.py
cmh/trunk/templates/
cmh/trunk/urls.py
Deleted: cmh/trunk/manage.py
===================================================================
--- cmh/trunk/manage.py 2006-11-16 21:08:00 UTC (rev 669)
+++ cmh/trunk/manage.py 2006-11-16 21:14:34 UTC (rev 670)
@@ -1,11 +0,0 @@
-#!/usr/bin/env python
-from django.core.management import execute_manager
-try:
- import settings # Assumed to be in the same directory.
-except ImportError:
- import sys
- sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
- sys.exit(1)
-
-if __name__ == "__main__":
- execute_manager(settings)
Deleted: cmh/trunk/settings.py
===================================================================
--- cmh/trunk/settings.py 2006-11-16 21:08:00 UTC (rev 669)
+++ cmh/trunk/settings.py 2006-11-16 21:14:34 UTC (rev 670)
@@ -1,108 +0,0 @@
-# Django settings for cmh project.
-
-ROOT_DIR = '/home/farcaller/develop/cmh/'
-
-DEBUG = True
-TEMPLATE_DEBUG = DEBUG
-
-ADMINS = (
- ('Farcaller', 'far...@gm...'),
-)
-
-MANAGERS = ADMINS
-DEFAULT_FROM_EMAIL = 'rob...@ha...'
-SERVER_EMAIL = DEFAULT_FROM_EMAIL
-INTERNAL_IPS = (
- '127.0.0.1',
-)
-
-DATABASE_ENGINE = 'sqlite3'
-DATABASE_NAME = ROOT_DIR + 'db/db.sqlite'
-DATABASE_USER = ''
-DATABASE_PASSWORD = ''
-DATABASE_HOST = ''
-DATABASE_PORT = ''
-
-# http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
-TIME_ZONE = 'GMT'
-LANGUAGE_CODE = 'en-us'
-SITE_ID = 1
-
-# If you set this to False, Django will make some optimizations so as not
-# to load the internationalization machinery.
-USE_I18N = False
-
-# Absolute path to the directory that holds media.
-# Example: "/home/media/media.lawrence.com/"
-MEDIA_ROOT = ROOT_DIR + 'media/'
-
-# URL that handles the media served from MEDIA_ROOT.
-# Example: "http://media.lawrence.com"
-MEDIA_URL = 'http://localhost/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 = '/media/'
-
-# Make this unique, and don't share it with anybody.
-SECRET_KEY = 'k^+wg^dwo!87(f@l9zh07a8^xy299*oo)#lfogst72u87tx&eu'
-
-# List of callables that know how to import templates from various sources.
-TEMPLATE_LOADERS = (
- 'django.template.loaders.filesystem.load_template_source',
- 'django.template.loaders.app_directories.load_template_source',
-# 'django.template.loaders.eggs.load_template_source',
-)
-
-MIDDLEWARE_CLASSES = (
- 'django.middleware.common.CommonMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django.middleware.doc.XViewMiddleware',
-)
-
-APPEND_SLASH = True
-PREPEND_WWW = False
-
-DATE_FORMAT = 'N j, Y'
-DATETIME_FORMAT = 'N j, Y, H:i'
-TIME_FORMAT = 'H:i'
-YEAR_MONTH_FORMAT = 'F Y'
-MONTH_DAY_FORMAT = 'F j'
-
-# This saves bandwidth but slows down performance
-USE_ETAGS = False
-
-ROOT_URLCONF = 'cmh.urls'
-
-TEMPLATE_DIRS = (
- ROOT_DIR + 'templates/',
-)
-
-TEMPLATE_CONTEXT_PROCESSORS = (
- 'django.core.context_processors.auth',
- 'django.core.context_processors.debug',
- 'django.core.context_processors.i18n',
- 'cmh.apps.projects.context_processors.category',
-)
-
-NEWS_ARTICLE_INTRO_SIZE = 300
-
-INSTALLED_APPS = (
- 'django.contrib.auth',
- 'django.contrib.contenttypes',
- 'django.contrib.sessions',
- 'django.contrib.sites',
- 'django.contrib.admin',
-
- 'django.contrib.humanize',
-
- 'cmh.apps.syscore',
- 'cmh.apps.news',
- 'cmh.apps.frontpage',
- 'cmh.apps.projects',
- 'cmh.apps.forums',
- 'cmh.apps.users',
- 'cmh.apps.polls',
-)
Deleted: cmh/trunk/urls.py
===================================================================
--- cmh/trunk/urls.py 2006-11-16 21:08:00 UTC (rev 669)
+++ cmh/trunk/urls.py 2006-11-16 21:14:34 UTC (rev 670)
@@ -1,30 +0,0 @@
-from django.conf.urls.defaults import *
-
-urlpatterns = patterns('',
- # Front page
- (r'^$', 'cmh.apps.frontpage.views.index'),
-
- # Admin
- (r'^admin/', include('django.contrib.admin.urls')),
-
- # News
- (r'^news/', include('cmh.apps.news.urls')),
-
- # Forum
- ##(r'^forum/', include('cmh.apps.forum.urls')),
-
- # Projects
- (r'^projects/', include('cmh.apps.projects.urls')),
-
- # RPC (AJAX callback stuff)
- ##(r'^rpc/', include('cmh.apps.rpc.urls')),
-
- # Downloads
- ##(r'^downloads/', include('cmh.apps.downloads.urls')),
-
- # Links
- ##(r'^links/', include('cmh.apps.links.urls')),
-
- # Resources (for testing)
- (r'^media2/(.*)$', 'django.views.static.serve', {'document_root': '/home/farcaller/develop/cmh/media2'}),
-)
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|