From d243a81ef17b2320a5cbed5057875c98b714c33c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 30 Oct 2013 23:36:41 +0100 Subject: [PATCH] Further tweaks : rename of the main DB, main project name, etc. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- settings.py | 10 +++++----- urls.py | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/settings.py b/settings.py index 4aaa947..e2dd4a0 100644 --- a/settings.py +++ b/settings.py @@ -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 a6af397..07576d3 100644 --- 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)), ) -- 2.34.1