ScoreboardView,get_score,CustomObtainAuthToken,create_tokens,issue_count,get_scoreboard) from rest_framework.authtoken import views favicon_view = RedirectView.as_view(url='/static/favicon.ico', permanent=True) admin.autodiscover() urlpatterns = [ url(r'^$', website.views.index, name='index'), path(settings.ADMIN_URL + '/', admin.site.urls), url(r'^like_issue/(?P<issue_pk>\d+)/$', website.views.like_issue, name="like_issue"), url(r'^save_issue/(?P<issue_pk>\d+)/$', website.views.save_issue, name="save_issue"), url(r'^unsave_issue/(?P<issue_pk>\d+)/$', website.views.unsave_issue, name="unsave_issue"), url(r'^issue/edit/$', website.views.IssueEdit), url(r'^issue/update/$', website.views.UpdateIssue), url(r'^issue/(?P<slug>\w+)/$', IssueView.as_view(), name="issue_view"), url(r'^follow/(?P<user>[^/]+)/', website.views.follow_user,name="follow_user"), url(r'^all_activity/$', AllIssuesView.as_view(), name="all_activity"), url(r'^label_activity/$', SpecificIssuesView.as_view(), name="all_activity"), url(r'^leaderboard/$', LeaderboardView.as_view(), name="leaderboard"), url(r'^scoreboard/$', ScoreboardView.as_view(), name="scoreboard"), url(r'^issue/$', IssueCreate.as_view(), name="issue"), url(r'^upload/(?P<time>[^/]+)/(?P<hash>[^/]+)/', UploadCreate.as_view(), name="upload"), url(r'^profile/(?P<slug>[^/]+)/$', UserProfileDetailView.as_view(), name="profile"), url(r'^domain/(?P<slug>[^/]+)/$', DomainDetailView.as_view(), name="domain"), url(r'^email/(?P<slug>[^/]+)/$', EmailDetailView.as_view(), name="email"), url(r'^.well-known/acme-challenge/(?P<token>[^/]+)/$', website.views.find_key, name="find_key"),
path(settings.ADMIN_URL + "/", admin.site.urls), re_path(r"^like_issue/(?P<issue_pk>\d+)/$", website.views.like_issue, name="like_issue"), re_path(r"^save_issue/(?P<issue_pk>\d+)/$", website.views.save_issue, name="save_issue"), re_path( r"^unsave_issue/(?P<issue_pk>\d+)/$", website.views.unsave_issue, name="unsave_issue", ), re_path(r"^issue/edit/$", website.views.IssueEdit, name="edit_issue"), re_path(r"^issue/update/$", website.views.UpdateIssue, name="update_issue"), re_path(r"^issue/(?P<slug>\w+)/$", IssueView.as_view(), name="issue_view"), re_path(r"^follow/(?P<user>[^/]+)/", website.views.follow_user, name="follow_user"), re_path(r"^all_activity/$", AllIssuesView.as_view(), name="all_activity"), re_path(r"^label_activity/$", SpecificIssuesView.as_view(), name="all_activity"), re_path(r"^leaderboard/$", LeaderboardView.as_view(), name="leaderboard"), re_path(r"^scoreboard/$", ScoreboardView.as_view(), name="scoreboard"), re_path(r"^issue/$", IssueCreate.as_view(), name="issue"), re_path( r"^upload/(?P<time>[^/]+)/(?P<hash>[^/]+)/", UploadCreate.as_view(), name="upload", ),