X-Git-Url: https://git.piment-noir.org/?p=webcomics.git;a=blobdiff_plain;f=settings.py;h=25c4a7ed071bd9f8248dc40aa194241bec4f8ea2;hp=4aaa947a589de80f185a00ad7fc9280d870d81b7;hb=408c105e9094953f98efc74fbd4a924d907484c7;hpb=0147396d221933d14bf8d1708716156a0608b65d diff --git a/settings.py b/settings.py index 4aaa947..25c4a7e 100644 --- a/settings.py +++ b/settings.py @@ -1,22 +1,23 @@ -# Django settings for comicsporn project. +# Django settings for django project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( ('Jerome BENOIT', 'jerome.benoit@grenouille.com'), + ('Toofik Medjamia', 'toofik@toofik.com'), ) 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 +110,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 +126,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