Further tweaks : rename of the main DB, main project name, etc.
authorJérôme Benoit <jerome.benoit@grenouille.com>
Wed, 30 Oct 2013 22:36:41 +0000 (23:36 +0100)
committerJérôme Benoit <jerome.benoit@grenouille.com>
Wed, 30 Oct 2013 22:36:41 +0000 (23:36 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@grenouille.com>
settings.py
urls.py

index 4aaa947a589de80f185a00ad7fc9280d870d81b7..e2dd4a053bc7998e4e50bb6197b37d8bb1bd01ff 100644 (file)
@@ -1,4 +1,4 @@
-# Django settings for comicsporn project.
+# Django settings for django project.
 
 DEBUG = True
 TEMPLATE_DEBUG = DEBUG
@@ -12,7 +12,7 @@ MANAGERS = ADMINS
 DATABASES = {
     'default': {
         'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
-        'NAME': 'comicsporn',                      # Or path to database file if using sqlite3.
+        'NAME': 'django',                      # Or path to database file if using sqlite3.
         'USER': 'django',                      # Not used with sqlite3.
         'PASSWORD': 'django',                  # Not used with sqlite3.
         'HOST': 'localhost',                      # Set to empty string for localhost. Not used with sqlite3.
@@ -109,7 +109,7 @@ MIDDLEWARE_CLASSES = (
     'django.contrib.messages.middleware.MessageMiddleware',
 )
 
-ROOT_URLCONF = 'comicsporn.urls'
+ROOT_URLCONF = 'django.urls'
 
 TEMPLATE_DIRS = (
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
@@ -125,9 +125,9 @@ INSTALLED_APPS = (
     'django.contrib.messages',
     'django.contrib.staticfiles',
     # Uncomment the next line to enable the admin:
-    'django.contrib.admin',
+    'django.contrib.admin',
     # Uncomment the next line to enable admin documentation:
-    'django.contrib.admindocs',
+    'django.contrib.admindocs',
 )
 
 # A sample logging configuration. The only tangible logging
diff --git a/urls.py b/urls.py
index a6af397a5f2b9a65392d577ddc853fc0453312c4..07576d32f92512339e1432108226c542e25973aa 100644 (file)
--- a/urls.py
+++ b/urls.py
@@ -6,12 +6,12 @@ from django.conf.urls.defaults import patterns, include, url
 
 urlpatterns = patterns('',
     # Examples:
-    # url(r'^$', 'comicsporn.views.home', name='home'),
-    # url(r'^comicsporn/', include('comicsporn.foo.urls')),
+    # url(r'^$', 'django.views.home', name='home'),
+    # url(r'^django/', include('django.foo.urls')),
 
     # Uncomment the admin/doc line below to enable admin documentation:
-    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
+    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
 
     # Uncomment the next line to enable the admin:
-    url(r'^admin/', include(admin.site.urls)),
+    url(r'^admin/', include(admin.site.urls)),
 )