

def add_view(self, regex, view, app=None, *args, **kw):
    'Take a view and add it to the app using regex arguments.'
    regex = self.generate_mount_url(regex, view, app)
    if regex:
        patterns = self.patterns('', self.surl(regex, view, *args, **urlpatterns))
        urlpatterns = self.get_urlpatterns()
        urlpatterns += patterns
        django.core.urlresolvers.clear_url_caches()

dataset/ETHPy150Open amitu/importd/importd/__init__.py D.add_view/VarMisuse@64/94 `kw`->`urlpatterns`