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

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

src/d/j/django-any-imagefield-0.8.1/any_imagefield/models/fields.py   django-any-imagefield(Download)
# Include the imagefield.
if 'filebrowser' in settings.INSTALLED_APPS:
    from .backends import filebrowser as active_backend
elif 'sorl.thumbnail' in settings.INSTALLED_APPS:
    from .backends import sorl as active_backend

src/d/j/django-any-imagefield-HEAD/any_imagefield/models/fields.py   django-any-imagefield(Download)
# Include the imagefield.
if 'filebrowser' in settings.INSTALLED_APPS:
    from .backends import filebrowser as active_backend
elif 'sorl.thumbnail' in settings.INSTALLED_APPS:
    from .backends import sorl as active_backend