Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added basic project for django website

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@7 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e87e3688499ca0a06c8f974d2ec3114b5174a492 1 parent f88aaae
jacob authored
View
0  django_website/__init__.py
No changes.
View
0  django_website/apps/__init__.py
No changes.
View
0  django_website/settings/__init__.py
No changes.
View
15 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',
+)
View
16 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/"
View
7 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')),
+)
View
5 django_website/settings/urls/main.py
@@ -0,0 +1,5 @@
+from django.conf.urls.defaults import *
+
+urlpatterns = patterns('',
+ (r'', include('django.conf.urls.flatfiles')),
+)
Please sign in to comment.
Something went wrong with that request. Please try again.