X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=settings.py;h=25c4a7ed071bd9f8248dc40aa194241bec4f8ea2;hb=c353166371ae3e3d4e4ac553a7d335bcf74aa4e1;hp=07341ae90a5be30f451c22765762aecedd6cb37a;hpb=428a4f111af4ff4e79fdafe754cbb62b9dd14838;p=webcomics.git diff --git a/settings.py b/settings.py index 07341ae..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 = ( - # ('Your Name', 'your_email@example.com'), + ('Jerome BENOIT', 'jerome.benoit@grenouille.com'), + ('Toofik Medjamia', 'toofik@toofik.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. - 'NAME': '', # Or path to database file if using sqlite3. - 'USER': '', # Not used with sqlite3. - 'PASSWORD': '', # Not used with sqlite3. - 'HOST': '', # 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. } } @@ -31,7 +32,12 @@ ALLOWED_HOSTS = [] # timezone as the operating system. # If running in a Windows environment this must be set to the same as your # system time zone. -TIME_ZONE = 'America/Chicago' +TIME_ZONE = 'Europe/Paris' + +# When USE_TZ is False, this is the time zone in which Django will store all datetimes. +# When USE_TZ is True, this is the default time zone that Django will use to display datetimes +# in templates and to interpret datetimes entered in forms. +# USE_TZ = True # Introduced in Django 1.4.X # Language code for this installation. All choices can be found here: # http://www.i18nguy.com/unicode/language-identifiers.html @@ -104,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". @@ -120,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