diff --git a/opal/static/js/opal/routes.js b/opal/static/js/opal/routes.js index 6462ffb3d..b9c64b1da 100644 --- a/opal/static/js/opal/routes.js +++ b/opal/static/js/opal/routes.js @@ -41,7 +41,7 @@ }) .when('/account', { controller: 'AccountCtrl', - templateUrl: '/accounts/templates/account_detail.html' + templateUrl: '/accounts/account_detail.html' }) .otherwise({redirectTo: '/'}); diff --git a/opal/urls.py b/opal/urls.py index fc9a21380..1f5d258d2 100644 --- a/opal/urls.py +++ b/opal/urls.py @@ -28,9 +28,6 @@ 'password_change_form': ChangePasswordForm}, name='change-password'), - url(r'^accounts/templates/account_detail.html', - views.AccountDetailTemplateView.as_view()), - url(r'^accounts/banned', views.BannedView.as_view(), name='banned'), url(r'^admin/', include(admin.site.urls)), diff --git a/opal/views.py b/opal/views.py index 5a6c7b576..a0815c587 100644 --- a/opal/views.py +++ b/opal/views.py @@ -215,10 +215,6 @@ def get_template_names(self): return [template_name] -class AccountDetailTemplateView(TemplateView): - template_name = 'accounts/account_detail.html' - - class BannedView(TemplateView): template_name = 'accounts/banned.html'