<s> try : <EOL> from django . conf . urls import patterns , include , url <EOL> except ImportError : <EOL> from django . conf . urls . defaults import patterns , include , url <EOL> from django . views . generic . base import TemplateView <EOL> from example import views <EOL> urlpatterns = patterns ( '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , TemplateView . as_view ( template_name = '<STR_LIT>' ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , views . view_a , name = '<STR_LIT:a>' ) <EOL> ) </s>
