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

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

src/d/j/django-options-HEAD/django_options/testapp/app/options.py   django-options(Download)
    def unload_options(cls, request, response):
        from django_options import get_option, delete_option
        delete_option('options_loader_prompted_value')

src/d/j/django-options-HEAD/django_options/testapp/app/views.py   django-options(Download)
from django.views.generic import TemplateView
from django_options import update_option, delete_option, get_option
from django_options.decorators import with_options
 
 
    def wrapped(request, response):
#        logger.debug(name + ' View UNload options')
        key = name + '_view_prompted_value'
        delete_option(key)
    return wrapped