Did I find the right examples for you? yes no

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

src/d/j/django-dbtemplates-1.3/dbtemplates/management/commands/sync_templates.py   django-dbtemplates(Download)
from django.template.loaders.app_directories import app_template_dirs
 
from dbtemplates.conf import settings
from dbtemplates.models import Template
 

src/d/j/django-dbtemplates-1.3/dbtemplates/utils/cache.py   django-dbtemplates(Download)
from django.template.defaultfilters import slugify
 
from dbtemplates.conf import settings
 
 

src/d/j/django-dbtemplates-1.3/dbtemplates/models.py   django-dbtemplates(Download)
from django.contrib.sites.managers import CurrentSiteManager
 
from dbtemplates.conf import settings
from dbtemplates.utils.cache import add_template_to_cache, remove_cached_template
from dbtemplates.utils.template import get_template_source

src/d/j/django-dbtemplates-1.3/dbtemplates/admin.py   django-dbtemplates(Download)
from django.utils.safestring import mark_safe
 
from dbtemplates.conf import settings
from dbtemplates.models import (Template,
    remove_cached_template, add_template_to_cache)

src/d/j/django-dbtemplates-1.3/dbtemplates/test_cases.py   django-dbtemplates(Download)
from django.contrib.sites.models import Site
 
from dbtemplates.conf import settings
from dbtemplates.models import Template
from dbtemplates.utils.cache import get_cache_backend, get_cache_key