def add_view(self, regex, view, app=None, *args, **kw):
        regex = self.generate_mount_url(regex, view, app)
        if regex:
            patterns = self.patterns("", self.surl(regex, view, *args, **kw))
            urlpatterns = self.get_urlpatterns()
            urlpatterns += patterns
            django.core.urlresolvers.clear_url_caches()
Take a view and add it to the app using regex arguments.
dataset/ETHPy150Open amitu/importd/importd/__init__.py/D.add_view