def func():
     urlpatterns = patterns('urldecorators.tests.views',
         url(r'^$', 'sample_view', middleware_classes=["does.not.exist"]),
     )
 def func():
     urlpatterns = patterns('',
         url(r'^$', '', decorators=["urldecorators.tests.urls.decorator1"]),
     )