You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. # Django settings for oscar project.
  2. DEBUG = True
  3. TEMPLATE_DEBUG = DEBUG
  4. ADMINS = (
  5. # ('Your Name', 'your_email@domain.com'),
  6. )
  7. MANAGERS = ADMINS
  8. DATABASES = {
  9. 'default': {
  10. 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
  11. 'NAME': '', # Or path to database file if using sqlite3.
  12. 'USER': '', # Not used with sqlite3.
  13. 'PASSWORD': '', # Not used with sqlite3.
  14. 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
  15. 'PORT': '', # Set to empty string for default. Not used with sqlite3.
  16. }
  17. }
  18. # Local time zone for this installation. Choices can be found here:
  19. # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
  20. # although not all choices may be available on all operating systems.
  21. # On Unix systems, a value of None will cause Django to use the same
  22. # timezone as the operating system.
  23. # If running in a Windows environment this must be set to the same as your
  24. # system time zone.
  25. TIME_ZONE = 'America/Chicago'
  26. # Language code for this installation. All choices can be found here:
  27. # http://www.i18nguy.com/unicode/language-identifiers.html
  28. LANGUAGE_CODE = 'en-us'
  29. SITE_ID = 1
  30. # If you set this to False, Django will make some optimizations so as not
  31. # to load the internationalization machinery.
  32. USE_I18N = True
  33. # If you set this to False, Django will not format dates, numbers and
  34. # calendars according to the current locale
  35. USE_L10N = True
  36. # Absolute path to the directory that holds media.
  37. # Example: "/home/media/media.lawrence.com/"
  38. MEDIA_ROOT = ''
  39. # URL that handles the media served from MEDIA_ROOT. Make sure to use a
  40. # trailing slash if there is a path component (optional in other cases).
  41. # Examples: "http://media.lawrence.com", "http://example.com/media/"
  42. MEDIA_URL = ''
  43. # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
  44. # trailing slash.
  45. # Examples: "http://foo.com/media/", "/media/".
  46. ADMIN_MEDIA_PREFIX = '/media/'
  47. # Make this unique, and don't share it with anybody.
  48. SECRET_KEY = '$)a7n&o80u!6y5t-+jrd3)3!%vh&shg$wqpjpxc!ar&p#!)n1a'
  49. # List of callables that know how to import templates from various sources.
  50. TEMPLATE_LOADERS = (
  51. 'django.template.loaders.filesystem.Loader',
  52. 'django.template.loaders.app_directories.Loader',
  53. # 'django.template.loaders.eggs.Loader',
  54. )
  55. MIDDLEWARE_CLASSES = (
  56. 'django.middleware.common.CommonMiddleware',
  57. 'django.contrib.sessions.middleware.SessionMiddleware',
  58. 'django.middleware.csrf.CsrfViewMiddleware',
  59. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  60. 'django.contrib.messages.middleware.MessageMiddleware',
  61. )
  62. ROOT_URLCONF = 'urls'
  63. TEMPLATE_DIRS = (
  64. # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
  65. # Always use forward slashes, even on Windows.
  66. # Don't forget to use absolute paths, not relative paths.
  67. )
  68. INSTALLED_APPS = (
  69. 'django.contrib.auth',
  70. 'django.contrib.contenttypes',
  71. 'django.contrib.sessions',
  72. 'django.contrib.sites',
  73. 'django.contrib.messages',
  74. 'django.contrib.admin',
  75. 'django_extensions',
  76. 'south',
  77. 'oscar.payment',
  78. 'oscar.order',
  79. 'oscar.product',
  80. 'oscar.basket',
  81. 'oscar.offer',
  82. )
  83. # Local overrides
  84. try:
  85. from local_settings import *
  86. except ImportError:
  87. pass