Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(0)  |  Derive(0)  |  Import(14)

src/d/j/django-hotsauce-0.5.0/examples/lib/helloworld/config/urls.py   Django-hotsauce(Download)
 
try:
    from notmm.utils.django_settings import SettingsProxy
    settings = SettingsProxy('local_settings', autoload=True).get_settings()
 

src/d/j/django-hotsauce-0.5.0/examples/lib/helloworld/configuration.py   Django-hotsauce(Download)
 
"""
from notmm.utils.django_settings import SettingsProxy
 
settings = SettingsProxy(autoload=True).get_settings()

src/d/j/django-hotsauce-0.5.0/examples/demo.py   Django-hotsauce(Download)
log = logging.getLogger('notmm.controllers.wsgi')
 
from notmm.utils.django_settings import SettingsProxy
from notmm.utils.configparse import has_conf, loadconf
from notmm.utils.http import get_bind_addr, HTTPServer

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/template/configuration.py   Django-hotsauce(Download)
import os
from notmm.utils.template        import TemplateLoaderFactory
from notmm.utils.django_settings import SettingsProxy
 
__all__ = ('get_template_loader', 'get_app_conf')

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/schema/blogengine_025.py   Django-hotsauce(Download)
# XXX django compat <= 1.3
from notmm.utils.decorators import permalink
from notmm.utils.django_settings import SettingsProxy
 
# this requires the markdown2 package, available separately

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/schema/blogengine_024.py   Django-hotsauce(Download)
# XXX django compat <= 1.3
from notmm.utils.decorators import permalink
from notmm.utils.django_settings import SettingsProxy
 
# this requires the markdown2 package, available separately

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/schema/blogengine_023.py   Django-hotsauce(Download)
# XXX django compat <= 1.3
from notmm.utils.decorators import permalink
from notmm.utils.django_settings import SettingsProxy
 
# this requires the markdown2 package, available separately

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/schema/blogengine_022.py   Django-hotsauce(Download)
# XXX django compat <= 1.3
from notmm.utils.decorators import permalink
from notmm.utils.django_settings import SettingsProxy
 
# this requires the markdown2 package, available separately

src/d/j/django-hotsauce-0.5.0/extras/blogengine/blogengine/config/context_processors.py   Django-hotsauce(Download)
def settings(request):
    from notmm.utils.django_settings import SettingsProxy
    settings = SettingsProxy(autoload=True).get_settings()
    return dict(settings=settings)
 

src/d/j/django-hotsauce-0.5.0/lib/notmm/utils/log.py   Django-hotsauce(Download)
def configure_logging(logger, level=40, loggingClass=logging.FileHandler):
    #XXX: use DJANGO_DEBUG_FILENAME here
 
    from notmm.utils.django_settings import SettingsProxy
    settings = SettingsProxy(autoload=True).get_settings()

  1 | 2  Next