name='submission_single_query'), url(r'^submission_testcases$', submission.SubmissionTestCaseQuery.as_view(), name='submission_testcases_query'), url(r'^detect_timezone$', widgets.DetectTimezone.as_view(), name='detect_timezone'), url(r'^status-table$', status.status_table, name='status_table'), url(r'^template$', problem.LanguageTemplateAjax.as_view(), name='language_template_ajax'), url( r'^select2/', include([ url(r'^user_search$', UserSearchSelect2View.as_view(), name='user_search_select2_ajax'), url(r'^contest_users/(?P<contest>\w+)$', ContestUserSearchSelect2View.as_view(), name='contest_user_search_select2_ajax'), url(r'^ticket_user$', TicketUserSelect2View.as_view(), name='ticket_user_select2_ajax'), url(r'^ticket_assignee$', AssigneeSelect2View.as_view(), name='ticket_assignee_select2_ajax'), ])), url( r'^preview/', include([ url(r'^default$',
url(r'^license/(?P<key>[-\w.]+)$', license.LicenseDetail.as_view(), name='license'), url(r'^mailgun/mail_activate/$', mailgun.MailgunActivationView.as_view(), name='mailgun_activate'), url(r'^widgets/', include([ url(r'^rejudge$', widgets.rejudge_submission, name='submission_rejudge'), url(r'^single_submission$', submission.single_submission_query, name='submission_single_query'), url(r'^submission_testcases$', submission.SubmissionTestCaseQuery.as_view(), name='submission_testcases_query'), url(r'^detect_timezone$', widgets.DetectTimezone.as_view(), name='detect_timezone'), url(r'^status-table$', status.status_table, name='status_table'), url(r'^template$', problem.LanguageTemplateAjax.as_view(), name='language_template_ajax'), url(r'^select2/', include([ url(r'^user_search$', UserSearchSelect2View.as_view(), name='user_search_select2_ajax'), url(r'^contest_users/(?P<contest>\w+)$', ContestUserSearchSelect2View.as_view(), name='contest_user_search_select2_ajax'), url(r'^ticket_user$', TicketUserSelect2View.as_view(), name='ticket_user_select2_ajax'), url(r'^ticket_assignee$', AssigneeSelect2View.as_view(), name='ticket_assignee_select2_ajax'), ])), url(r'^preview/', include([ url(r'^problem$', preview.ProblemMarkdownPreviewView.as_view(), name='problem_preview'), url(r'^blog$', preview.BlogMarkdownPreviewView.as_view(), name='blog_preview'), url(r'^contest$', preview.ContestMarkdownPreviewView.as_view(), name='contest_preview'), url(r'^comment$', preview.CommentMarkdownPreviewView.as_view(), name='comment_preview'), url(r'^profile$', preview.ProfileMarkdownPreviewView.as_view(), name='profile_preview'), url(r'^organization$', preview.OrganizationMarkdownPreviewView.as_view(), name='organization_preview'), url(r'^solution$', preview.SolutionMarkdownPreviewView.as_view(), name='solution_preview'), url(r'^license$', preview.LicenseMarkdownPreviewView.as_view(), name='license_preview'),
url(r'^post/(?P<id>\d+)-(?P<slug>.*)$', blog.PostView.as_view(), name='blog_post'), url(r'^solution/(?P<url>.*)$', solution.SolutionView.as_view(), name='solution'), url(r'^license/(?P<key>[-\w.]+)$', license.LicenseDetail.as_view(), name='license'), url(r'^mailgun/mail_activate/$', mailgun.MailgunActivationView.as_view(), name='mailgun_activate'), url(r'^widgets/', include([ url(r'^rejudge$', widgets.rejudge_submission, name='submission_rejudge'), url(r'^single_submission$', submission.single_submission_query, name='submission_single_query'), url(r'^submission_testcases$', submission.SubmissionTestCaseQuery.as_view(), name='submission_testcases_query'), url(r'^detect_timezone$', widgets.DetectTimezone.as_view(), name='detect_timezone'), url(r'^status-table$', status.status_table, name='status_table'), url(r'^select2/', include([ url(r'^user_search$', UserSearchSelect2View.as_view(), name='user_search_select2_ajax'), url(r'^contest_users/(?P<contest>\w+)$', ContestUserSearchSelect2View.as_view(), name='contest_user_search_select2_ajax'), ])), url(r'^preview/', include([ url(r'^problem$', preview.ProblemMarkdownPreviewView.as_view(), name='problem_preview'), ])), ])), url(r'^feed/', include([ url(r'^problems/rss/$', ProblemFeed(), name='problem_rss'), url(r'^problems/atom/$', AtomProblemFeed(), name='problem_atom'), url(r'^comment/rss/$', CommentFeed(), name='comment_rss'), url(r'^comment/atom/$', AtomCommentFeed(), name='comment_atom'), url(r'^blog/rss/$', BlogFeed()),