get attribute "urlpatterns" form the self.urlconf_module, substitute it for patterns, if the attribute doesnt exist,
patterns = getattr ( self . urlconf_module , "urlpatterns" , self . urlconf_module )