Ñò
w<Mc           @   s»  d  Z  d d k Z d d k Z d d k TdS Z dT Z e Z d „  Z e d ƒ Z e d ƒ Z	 d Z
 d	 Z d
 Z e Z e d ƒ d Z d Z d Z d Z dU Z dV Z e Z d! Z dW Z e d' ƒ f Z dX Z d= Z e Z d> Z d? Z d@ Z dA Z  dB Z! d Z# e$ Z% e$ Z& dY Z' e Z( e$ Z) e* e+ dC ƒ ƒ e# o e dD e# f f 7Z n e, o e i- i. e/ dE ƒ f Z0 n e dF ƒ f Z0 d dG k1 l2 Z2 l3 Z3 l4 Z4 d dH k5 l6 Z6 d dI k7 l8 Z8 e2 i9 e0 dJ ƒ Z: dK „  Z; e; ƒ  d d k< Z< e i- i. e/ dL ƒ e< _= e i- i> e< i= ƒ p e i? e< i= ƒ n e@ ZA eA o e dZ 7Z n e@ o e iB dN e i@ dO dP ƒ n e iB dN e iC dO dP ƒ e@ p5 h  ZD dQ „  ZE d dR kF lG ZG eE eG iH ƒ eG _H n d S([   sæ   This is a standard module defining some Django settings, as well as some
settings specific to Pootle.

Note that some of this can also be specified in localsettings.py in order to have a
configuration override outside of the code.iÿÿÿÿN(   t   *s	   127.0.0.1c         C   s   |  S(    (    (   t   x(    (    s"   /var/www/Pootle/pootle/settings.pyt   <lambda>(   s    s   Pootle Demos¬  <div dir="ltr" lang="en">
<h2 class="title">This is a demo installation of Pootle.</h2>
<p class="about">You can also visit the official <a href="http://pootle.locamotion.org">Pootle server</a>. The server administrator has not provided contact information or a description of this server. If you are the administrator for this server, edit this description in your preference file or in the administration interface.</p>
</div>s   Africa/Johannesburgs   en-usi   t   htmlt   /s   /html/s   /media/s2   ^&4$dlpce2_pnronsi289xd7-9ke10q_%wa@9srm@zaa!ig@1ks7   django.template.loaders.filesystem.load_template_sources<   django.template.loaders.app_directories.load_template_sources0   pootle_misc.middleware.baseurl.BaseUrlMiddlewares3   django.middleware.transaction.TransactionMiddlewares6   pootle_misc.middleware.siteconfig.SiteConfigMiddlewares-   django.middleware.cache.UpdateCacheMiddlewares/   django.middleware.http.ConditionalGetMiddlewares%   django.middleware.gzip.GZipMiddlewares-   django.contrib.csrf.middleware.CsrfMiddlewares4   django.contrib.sessions.middleware.SessionMiddlewares7   django.contrib.auth.middleware.AuthenticationMiddlewares)   django.middleware.locale.LocaleMiddlewares%   pootle.middleware.setlocale.SetLocales6   pootle_misc.middleware.errorpages.ErrorPagesMiddlewares)   django.middleware.common.CommonMiddlewares+   pootle.middleware.captcha.CaptchaMiddlewares0   django.middleware.cache.FetchFromCacheMiddlewares   pootle.urlss#   django.core.context_processors.auths#   django.core.context_processors.i18ns$   django.core.context_processors.medias&   django.core.context_processors.requests-   pootle_misc.context_processors.pootle_contextt	   templatess   django.contrib.sessionss   django.contrib.auths   django.contrib.contenttypess   django.contrib.sitess   django.contrib.admint
   pootle_appt   pootle_misct   pootle_storet   pootle_languaget   pootle_projectt   pootle_translationprojectt   pootle_profilet   pootle_statisticst   pootle_notificationst   pootle_autonoticest   pootle_terminologyt   registrationt   profiless   djblets.siteconfigs   djblets.utilt   contact_form_i18ns   pootle_profile.PootleProfilei   i
   i %& i<   iX  s   localsettings.pyt   CONTACTt   pootlet   mo(   t   overridet   gettext_livet   gettext(   t   translation(   t
   trans_reali    c           C   se   d „  t  _ d „  t _ t i t  _ t i t  _ t o t i t _  t i t	 ƒ n t i t
 ƒ d S(   s-   sabotage django's fascist linguistical regimec         S   s   t  S(    (   t   True(   t	   lang_code(    (    s"   /var/www/Pootle/pootle/settings.pyR   Î   s    c         S   s   t  S(    (   R   (   R   (    (    s"   /var/www/Pootle/pootle/settings.pyR   Ï   s    N(   R   t   check_for_languageR   R   t   get_language_from_requestt   get_language_bidit   LIVE_TRANSLATIONt   translation_dummyt   override_gettextR   R   (    (    (    s"   /var/www/Pootle/pootle/settings.pyt   hijack_translationÊ   s    s   .tmps$   django.core.context_processors.debugt   levelt   formats%   %(asctime)s %(levelname)s %(message)sc            s   ‡  f d †  } | S(   Nc            s)   |  t  j o ˆ  |  ƒ t  |  <n t  |  S(   N(   t   template_cache(   t   template_name(   t   f(    s"   /var/www/Pootle/pootle/settings.pyt   decorated_fÿ   s    (    (   R)   R*   (    (   R)   s"   /var/www/Pootle/pootle/settings.pyt   cache_templatesþ   s    (   t   loader(   s	   127.0.0.1(    (   s7   django.template.loaders.filesystem.load_template_sources<   django.template.loaders.app_directories.load_template_source(   s0   pootle_misc.middleware.baseurl.BaseUrlMiddlewares3   django.middleware.transaction.TransactionMiddlewares6   pootle_misc.middleware.siteconfig.SiteConfigMiddlewares-   django.middleware.cache.UpdateCacheMiddlewares/   django.middleware.http.ConditionalGetMiddlewares%   django.middleware.gzip.GZipMiddlewares-   django.contrib.csrf.middleware.CsrfMiddlewares4   django.contrib.sessions.middleware.SessionMiddlewares7   django.contrib.auth.middleware.AuthenticationMiddlewares)   django.middleware.locale.LocaleMiddlewares%   pootle.middleware.setlocale.SetLocales6   pootle_misc.middleware.errorpages.ErrorPagesMiddlewares)   django.middleware.common.CommonMiddlewares+   pootle.middleware.captcha.CaptchaMiddlewares0   django.middleware.cache.FetchFromCacheMiddleware(   s#   django.core.context_processors.auths#   django.core.context_processors.i18ns$   django.core.context_processors.medias&   django.core.context_processors.requests-   pootle_misc.context_processors.pootle_context(   s   django.contrib.sessionss   django.contrib.auths   django.contrib.contenttypess   django.contrib.sitess   django.contrib.adminR   R   R   R	   R
   R   R   R   R   R   R   R   R   s   djblets.siteconfigs   djblets.utilR   (    (   s$   django.core.context_processors.debug(I   t   __doc__t   loggingt   ost   pootle.install_dirst   INTERNAL_IPSt   ADMINSt   MANAGERSt   _t   TITLEt   DESCRIPTIONt	   TIME_ZONEt   LANGUAGE_CODEt   SITE_IDR   t   USE_I18Nt	   data_patht
   MEDIA_ROOTt	   MEDIA_URLt   ADMIN_MEDIA_PREFIXt
   SECRET_KEYt   TEMPLATE_LOADERSt   MIDDLEWARE_CLASSESt   CACHE_MIDDLEWARE_ANONYMOUS_ONLYt   ROOT_URLCONFt   TEMPLATE_CONTEXT_PROCESSORSt   TEMPLATE_DIRSt   INSTALLED_APPSt   AUTH_PROFILE_MODULEt   ENABLE_ALT_SRCt   TOPSTAT_SIZEt   ACCOUNT_ACTIVATION_DAYSt   OBJECT_CACHE_TIMEOUTt   MIN_AUTOTERMSt   MAX_AUTOTERMSt   Nonet   CONTACT_EMAILt   Falset   USE_CAPTCHAt   AUTOSYNCt   MT_BACKENDSt   CAN_CONTACTt   EMAIL_SEND_HTMLt   execfilet   config_pathR!   t   patht   joint   PODIRECTORYt   LOCALE_PATHSt   pootle.i18nR   R   R   t   django.utilsR   t   django.utils.translationR   t   find_languagest	   LANGUAGESR$   t   tempfilet   tempdirt   existst   mkdirt   DEBUGt   TEMPLATE_DEBUGt   basicConfigt   INFOR'   R+   t   django.templateR,   t   get_template(    (    (    s"   /var/www/Pootle/pootle/settings.pyt   <module>   sØ   
		                                       						