[billreminder] Further changes to get the server to run as well as added admin tables.



commit 4bb548fddfb38b376c29fb148e6782188dc6c909
Author: Og B. Maciel <ogmaciel gnome org>
Date:   Fri Jul 24 00:25:09 2009 -0400

    Further changes to get the server to run as well as added admin tables.

 src/settings.py |    3 ++-
 src/urls.py     |    6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/settings.py b/src/settings.py
index 3543de6..5cd006f 100644
--- a/src/settings.py
+++ b/src/settings.py
@@ -74,7 +74,7 @@ MIDDLEWARE_CLASSES = (
     'django.contrib.auth.middleware.AuthenticationMiddleware',
 )
 
-ROOT_URLCONF = 'src.urls'
+ROOT_URLCONF = 'urls'
 
 TEMPLATE_DIRS = (
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
@@ -84,6 +84,7 @@ TEMPLATE_DIRS = (
 
 INSTALLED_APPS = (
     'django.contrib.auth',
+    'django.contrib.admin',
     'django.contrib.contenttypes',
     'django.contrib.sessions',
     'django.contrib.sites',
diff --git a/src/urls.py b/src/urls.py
index 783261e..19bd717 100644
--- a/src/urls.py
+++ b/src/urls.py
@@ -1,8 +1,8 @@
 from django.conf.urls.defaults import *
 
 # Uncomment the next two lines to enable the admin:
-# from django.contrib import admin
-# admin.autodiscover()
+from django.contrib import admin
+admin.autodiscover()
 
 urlpatterns = patterns('',
     # Example:
@@ -13,5 +13,5 @@ urlpatterns = patterns('',
     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
 
     # Uncomment the next line to enable the admin:
-    # (r'^admin/(.*)', admin.site.root),
+    (r'^admin/(.*)', admin.site.root),
 )



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]