def get_urls(self):
    urlpatterns = [url(regex='^$', view=self.index_view.as_view(**self.get_index_kwargs()), name='dashboard'), url(regex='^auth/user/(?P<pk>\\d+)/update/password/$', view=views.PasswordChangeView.as_view(), name='password_change'), url(regex='^password_change_done/$', view=views.PasswordChangeDoneView.as_view(), name='password_change_done'), url(regex='^logout/$', view=views.LogoutView.as_view(), name='logout'), url(regex='^(?P<app_label>\\w+)/$', view=self.app_index_view.as_view(**self.get_app_index_kwargs()), name='app_index'), url(regex='^api/v0/$', view=self.api_index_view.as_view(**self.get_api_index_kwargs()), name='api_index')]
    for (model, model_admin) in self.registry.items():
        model_options = utils.model_options(model)
        urlpatterns += [url('^{}/{}/'.format(model_options.app_label, model_options.object_name.lower()), model_admin.urls), url('^api/v0/{}/{}/'.format(model_options.app_label, model_options.object_name.lower()), model_admin.api_urls)]
    return urlpatterns
def get_urls(self):
    urlpatterns = [url(regex='^$', view=self.index_view.as_view(**self.get_index_kwargs()), name='dashboard'), url(regex='^auth/user/(?P<pk>\\d+)/update/password/$', view=views.PasswordChangeView.as_view(), name='password_change'), url(regex='^password_change_done/$', view=views.PasswordChangeDoneView.as_view(), name='password_change_done'), url(regex='^logout/$', view=views.LogoutView.as_view(), name='logout'), url(regex='^(?P<app_label>\\w+)/$', view=self.app_index_view.as_view(**self.get_app_index_kwargs()), name='app_index'), url(regex='^api/v0/$', view=self.api_index_view.as_view(**self.get_api_index_kwargs()), name='api_index')]
    for (model, model_admin) in self.registry.items():
        model_options = utils.model_options(model)
        urlpatterns += [url('^{}/{}/'.format(model_options.app_label, model_options.object_name.lower()), model_admin.urls), url('^api/v0/{}/{}/'.format(model_options.app_label, model_options.object_name.lower()), model_admin.api_urls)]
    return urlpatterns