X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=settings.py;h=e759e7644e5b099f407fe81c5bdcc44189067f7f;hb=662464aed641dcc6a111404d1c006de1a2c7e970;hp=4aaa947a589de80f185a00ad7fc9280d870d81b7;hpb=0147396d221933d14bf8d1708716156a0608b65d;p=webcomics.git diff --git a/settings.py b/settings.py index 4aaa947..e759e76 100644 --- a/settings.py +++ b/settings.py @@ -1,22 +1,22 @@ -# Django settings for comicsporn project. +# Django settings for django project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( - ('Jerome BENOIT', 'jerome.benoit@grenouille.com'), + ('Jérôme BENOIT', 'jerome.benoit@piment-noir.org'), ) 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. - 'USER': 'django', # Not used with sqlite3. - 'PASSWORD': 'django', # Not used with sqlite3. - 'HOST': 'localhost', # Set to empty string for localhost. Not used with sqlite3. - 'PORT': '', # Set to empty string for default. Not used with sqlite3. + 'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. + '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. + 'PORT': '', # Set to empty string for default. Not used with sqlite3. } } @@ -109,7 +109,7 @@ MIDDLEWARE_CLASSES = ( 'django.contrib.messages.middleware.MessageMiddleware', ) -ROOT_URLCONF = 'comicsporn.urls' +ROOT_URLCONF = 'urls' TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". @@ -125,9 +125,10 @@ 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', + 'comicsporn', ) # A sample logging configuration. The only tangible logging