Did I find the right examples for you? yes no

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

src/d/j/django-maintenance-0.1/maintenance/admin.py   django-maintenance(Download)
from django.contrib import admin
 
from models import Maintenance, MaintenanceFilter
 
class MaintenanceFilterInline(admin.StackedInline):

src/d/j/django-maintenance-0.1/maintenance/tests.py   django-maintenance(Download)
 
from middleware import MaintenanceMiddleware
from models import Maintenance, MaintenanceFilter
 
class MaintenanceMiddlewareTest(TestCase):
        maintenance.description = "Testing enabled and filtered object"
        maintenance.save()
        filter = MaintenanceFilter()
        filter.maintenance = maintenance
        filter.path = '/blog/'