Skip to content

Commit

Permalink
Added basic project for django website
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@7 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jacob committed Jul 13, 2005
1 parent f88aaae commit e87e368
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 0 deletions.
Empty file added django_website/__init__.py
Empty file.
Empty file added django_website/apps/__init__.py
Empty file.
Empty file.
15 changes: 15 additions & 0 deletions django_website/settings/admin.py
@@ -0,0 +1,15 @@
from worldonline_settings.pam.djangoproject import *

PREPEND_WWW = False
TEMPLATE_DIRS = (
'/home/html/templates/admin.djangoproject.com/',
'/home/html/templates/shared-admin/',
)
ROOT_URLCONF = 'worldonline_settings.pam.urls.djangoproject_admin'
MIDDLEWARE_CLASSES = (
'django.middleware.admin.AdminUserRequired',
'django.middleware.common.CommonMiddleware',
)
ADMIN_FOR = (
'worldonline_settings.pam.djangoproject',
)
16 changes: 16 additions & 0 deletions django_website/settings/main.py
@@ -0,0 +1,16 @@
SERVER_EMAIL = 'root@pam.servers.ljworld.com'
MANAGERS = (('Wilson Miner','wminer@ljworld.com'),)

DEBUG = True
PREPEND_WWW = True
DATABASE_NAME = 'djangoproject'
SITE_ID = 1
TEMPLATE_DIRS = (
'/home/html/templates/djangoproject.com/',
'/home/html/templates/default/',
)
ROOT_URLCONF = 'worldonline_settings.pam.urls.djangoproject'
INSTALLED_APPS = (
)
MEDIA_ROOT = "/home/html/djangoproject.com/m/"
MEDIA_URL = "http://www.djangoproject.com.com/m/"
7 changes: 7 additions & 0 deletions django_website/settings/urls/admin.py
@@ -0,0 +1,7 @@
from django.conf.urls.defaults import *

urlpatterns = patterns('',
(r'^password_reset/', include('django.conf.urls.admin_password_reset')),
(r'^r/', include('django.conf.urls.shortcut')),
(r'', include('django.conf.urls.admin')),
)
5 changes: 5 additions & 0 deletions django_website/settings/urls/main.py
@@ -0,0 +1,5 @@
from django.conf.urls.defaults import *

urlpatterns = patterns('',
(r'', include('django.conf.urls.flatfiles')),
)

0 comments on commit e87e368

Please sign in to comment.