src/hp/config.py.tmpl
changeset 60 4a0bfe0002b1
parent 58 265e12141bba
child 62 0cdd0bb4141c
equal deleted inserted replaced
59:d58d795a3258 60:4a0bfe0002b1
    46 # Example: "/home/media/media.lawrence.com/static/"
    46 # Example: "/home/media/media.lawrence.com/static/"
    47 STATIC_ROOT = os.path.abspath(BASE_ROOT + "../../static/site").rstrip("/")+"/"
    47 STATIC_ROOT = os.path.abspath(BASE_ROOT + "../../static/site").rstrip("/")+"/"
    48 
    48 
    49 # URL prefix for static files.
    49 # URL prefix for static files.
    50 # Example: "http://media.lawrence.com/static/"
    50 # Example: "http://media.lawrence.com/static/"
    51 STATIC_URL = BASE_STATIC_URL + "site"
    51 STATIC_URL = BASE_STATIC_URL + "site/"
    52 
    52 
    53 # A sample logging configuration. The only tangible logging
    53 # A sample logging configuration. The only tangible logging
    54 # performed by this configuration is to send an email to
    54 # performed by this configuration is to send an email to
    55 # the site admins on every HTTP 500 error when DEBUG=False.
    55 # the site admins on every HTTP 500 error when DEBUG=False.
    56 # See http://docs.djangoproject.com/en/dev/topics/logging for
    56 # See http://docs.djangoproject.com/en/dev/topics/logging for
   105 }
   105 }
   106 
   106 
   107 LDT_NETLOC = "%(ldt_netloc)s"
   107 LDT_NETLOC = "%(ldt_netloc)s"
   108 LDT_DOMAIN = 'http://'+LDT_NETLOC
   108 LDT_DOMAIN = 'http://'+LDT_NETLOC
   109 LDT_BASE_URL = LDT_DOMAIN + '%(ldt_baseurl)s'
   109 LDT_BASE_URL = LDT_DOMAIN + '%(ldt_baseurl)s'
   110 LDT_URL = LDT_BASE_URL + "'%(ldt_url)s'"
   110 LDT_URL = LDT_BASE_URL + '%(ldt_url)s'
   111 LDT_API_URL = LDT_URL + 'api/ldt/1.0/'
   111 LDT_API_URL = LDT_URL + 'api/ldt/1.0/'
   112 LDT_STATIC_URL = LDT_BASE_URL + "static/site/"
   112 LDT_STATIC_URL = LDT_BASE_URL + "static/site/"
   113 
   113 
   114 PER_PAGE = 9
   114 PER_PAGE = 9
   115 LDT_MAX_FETCH = 200
   115 LDT_MAX_FETCH = 200