<s> try : <EOL> from django . conf . urls import patterns , include , handler500 , url <EOL> except ImportError : <EOL> from django . conf . urls . defaults import patterns , include , handler500 , url <EOL> from django . conf import settings <EOL> from django . contrib import admin <EOL> import authority <EOL> admin . autodiscover ( ) <EOL> authority . autodiscover ( ) <EOL> handler500 <EOL> from exampleapp . forms import SpecialUserPermissionForm <EOL> urlpatterns = patterns ( '<STR_LIT>' , <EOL> ( r'<STR_LIT>' , admin . site . root ) , <EOL> url ( r'<STR_LIT>' , <EOL> view = '<STR_LIT>' , <EOL> name = "<STR_LIT>" , <EOL> kwargs = { '<STR_LIT>' : True , '<STR_LIT>' : SpecialUserPermissionForm } <EOL> ) , <EOL> url ( r'<STR_LIT>' , <EOL> view = '<STR_LIT>' , <EOL> name = "<STR_LIT>" , <EOL> kwargs = { '<STR_LIT>' : False , '<STR_LIT>' : SpecialUserPermissionForm } <EOL> ) , <EOL> ( r'<STR_LIT>' , include ( '<STR_LIT>' ) ) , <EOL> ( r'<STR_LIT>' , '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , '<STR_LIT>' , { '<STR_LIT>' : '<STR_LIT>' } ) , <EOL> ) <EOL> if settings . DEBUG : <EOL> urlpatterns += patterns ( '<STR_LIT>' , <EOL> ( r'<STR_LIT>' , '<STR_LIT>' , { <EOL> '<STR_LIT>' : settings . MEDIA_ROOT , <EOL> } ) , <EOL> ) </s>
