增加用户排名功能

This commit is contained in:
virusdefender
2016-04-24 13:21:22 +08:00
parent 5f6ee73b47
commit 794ce8ff46
7 changed files with 124 additions and 3 deletions

View File

@@ -139,6 +139,8 @@ urlpatterns = [
url(r'^reset_password/t/(?P<token>\w+)/$', "account.views.reset_password_page", name="reset_password_page"),
url(r'^api/two_factor_auth/$', TwoFactorAuthAPIView.as_view(), name="two_factor_auth_api"),
url(r'^two_factor_auth/$', TemplateView.as_view(template_name="oj/account/two_factor_auth.html"), name="two_factor_auth_page"),
url(r'^rank/(?P<page>\d+)/$', "account.views.user_rank_page", name="user_rank_page"),
url(r'^rank/$', "account.views.user_rank_page", name="user_rank_page"),
]