src/hp/settings.py
changeset 38 0fe2f3f5466f
parent 37 b4ed8cdc654c
child 41 b6010b3d6ea8
equal deleted inserted replaced
37:b4ed8cdc654c 38:0fe2f3f5466f
   113     'django.contrib.contenttypes',
   113     'django.contrib.contenttypes',
   114     'django.contrib.sessions',
   114     'django.contrib.sessions',
   115     'django.contrib.sites',
   115     'django.contrib.sites',
   116     'django.contrib.messages',
   116     'django.contrib.messages',
   117     'django.contrib.staticfiles',
   117     'django.contrib.staticfiles',
   118     # Uncomment the next line to enable the admin:
   118     'django.contrib.admin',
   119     # 'django.contrib.admin',
   119     'sorl.thumbnail',
       
   120     'south',
       
   121     'hp',
   120     # Uncomment the next line to enable admin documentation:
   122     # Uncomment the next line to enable admin documentation:
   121     # 'django.contrib.admindocs',
   123     # 'django.contrib.admindocs',
   122 )
   124 )
       
   125 
       
   126 TEMPLATE_CONTEXT_PROCESSORS = ( 
       
   127     "django.core.context_processors.request",
       
   128     "django.contrib.auth.context_processors.auth",
       
   129     "django.core.context_processors.debug",
       
   130     "django.core.context_processors.i18n",
       
   131     "django.core.context_processors.media",
       
   132     "django.core.context_processors.static",
       
   133     'hp.context_processors.hp_context',
       
   134 )
       
   135 
   123 
   136 
   124 # A sample logging configuration. The only tangible logging
   137 # A sample logging configuration. The only tangible logging
   125 # performed by this configuration is to send an email to
   138 # performed by this configuration is to send an email to
   126 # the site admins on every HTTP 500 error when DEBUG=False.
   139 # the site admins on every HTTP 500 error when DEBUG=False.
   127 # See http://docs.djangoproject.com/en/dev/topics/logging for
   140 # See http://docs.djangoproject.com/en/dev/topics/logging for
   148             'propagate': True,
   161             'propagate': True,
   149         },
   162         },
   150     }
   163     }
   151 }
   164 }
   152 
   165 
       
   166 LDT_DOMAIN = 'http://localhost'
       
   167 LDT_API_URL = LDT_DOMAIN + '/~ymh/hp_ldt/ldtplatform/api/ldt/1.0/'
   153 
   168 
   154 from .config import *
   169 from .config import * #@UnusedWildImport
       
   170