url(r'^sitemap\.xml$', sitemap, {'sitemaps': { 'problem': ProblemSitemap, 'user': UserSitemap, 'home': HomePageSitemap, 'contest': ContestSitemap, 'organization': OrganizationSitemap, 'blog': BlogPostSitemap, 'solutions': SolutionSitemap, 'pages': UrlSitemap([ {'location': '/about/', 'priority': 0.9}, ]), }}), url(r'^judge-select2/', include([ url(r'^profile/$', UserSelect2View.as_view(), name='profile_select2'), url(r'^organization/$', OrganizationSelect2View.as_view(), name='organization_select2'), url(r'^problem/$', ProblemSelect2View.as_view(), name='problem_select2'), url(r'^contest/$', ContestSelect2View.as_view(), name='contest_select2'), url(r'^comment/$', CommentSelect2View.as_view(), name='comment_select2'), ])), ] favicon_paths = ['apple-touch-icon-180x180.png', 'apple-touch-icon-114x114.png', 'android-chrome-72x72.png', 'apple-touch-icon-57x57.png', 'apple-touch-icon-72x72.png', 'apple-touch-icon.png', 'mstile-70x70.png', 'android-chrome-36x36.png', 'apple-touch-icon-precomposed.png', 'apple-touch-icon-76x76.png', 'apple-touch-icon-60x60.png', 'android-chrome-96x96.png', 'mstile-144x144.png', 'mstile-150x150.png', 'safari-pinned-tab.svg', 'android-chrome-144x144.png', 'apple-touch-icon-152x152.png', 'favicon-96x96.png', 'favicon-32x32.png', 'favicon-16x16.png', 'android-chrome-192x192.png', 'android-chrome-48x48.png', 'mstile-310x150.png', 'apple-touch-icon-144x144.png', 'browserconfig.xml', 'manifest.json',
'organization': OrganizationSitemap, 'blog': BlogPostSitemap, 'solutions': SolutionSitemap, 'pages': UrlSitemap([ { 'location': '/about/', 'priority': 0.9 }, ]), } }), url( r'^judge-select2/', include([ url(r'^profile/$', UserSelect2View.as_view(), name='profile_select2'), url(r'^organization/$', OrganizationSelect2View.as_view(), name='organization_select2'), url(r'^problem/$', ProblemSelect2View.as_view(), name='problem_select2'), url(r'^contest/$', ContestSelect2View.as_view(), name='contest_select2'), url(r'^comment/$', CommentSelect2View.as_view(), name='comment_select2'), ])), url(
url(r'^sitemap\.xml$', sitemap, {'sitemaps': { 'problem': ProblemSitemap, 'user': UserSitemap, 'home': HomePageSitemap, 'contest': ContestSitemap, 'organization': OrganizationSitemap, 'blog': BlogPostSitemap, 'solutions': SolutionSitemap, 'pages': UrlSitemap([ {'location': '/about/', 'priority': 0.9}, ]), }}), url(r'^judge-select2/', include([ url(r'^profile/$', UserSelect2View.as_view(), name='profile_select2'), url(r'^organization/$', OrganizationSelect2View.as_view(), name='organization_select2'), url(r'^problem/$', ProblemSelect2View.as_view(), name='problem_select2'), url(r'^contest/$', ContestSelect2View.as_view(), name='contest_select2'), url(r'^comment/$', CommentSelect2View.as_view(), name='comment_select2'), url(r'^contest_profile/$', ContestProfileSelect2View.as_view(), name='contest_profile_select2'), ])), ] favicon_paths = ['apple-touch-icon-180x180.png', 'apple-touch-icon-114x114.png', 'android-chrome-72x72.png', 'apple-touch-icon-57x57.png', 'apple-touch-icon-72x72.png', 'apple-touch-icon.png', 'mstile-70x70.png', 'android-chrome-36x36.png', 'apple-touch-icon-precomposed.png', 'apple-touch-icon-76x76.png', 'apple-touch-icon-60x60.png', 'android-chrome-96x96.png', 'mstile-144x144.png', 'mstile-150x150.png', 'safari-pinned-tab.svg', 'android-chrome-144x144.png', 'apple-touch-icon-152x152.png', 'favicon-96x96.png', 'favicon-32x32.png', 'favicon-16x16.png', 'android-chrome-192x192.png', 'android-chrome-48x48.png', 'mstile-310x150.png', 'apple-touch-icon-144x144.png', 'browserconfig.xml', 'manifest.json',
'contest': ContestSitemap, 'organization': OrganizationSitemap, 'blog': BlogPostSitemap, 'solutions': SolutionSitemap, 'pages': UrlSitemap([ { 'location': '/about/', 'priority': 0.9 }, ]), } }), path( 'judge-select2/', include([ path('profile/', UserSelect2View.as_view(), name='profile_select2'), path('organization/', OrganizationSelect2View.as_view(), name='organization_select2'), path('class/', ClassSelect2View.as_view(), name='class_select2'), path('problem/', ProblemSelect2View.as_view(), name='problem_select2'), path('contest/', ContestSelect2View.as_view(), name='contest_select2'), path('comment/', CommentSelect2View.as_view(), name='comment_select2'), ])),
'pages': UrlSitemap([ {'location': '/about/', 'priority': 0.9}, ]), }}), ) handler404 = 'judge.views.error.error404' handler403 = 'judge.views.error.error403' handler500 = 'judge.views.error.error500' if 'tinymce' in settings.INSTALLED_APPS: urlpatterns += patterns('', (r'^tinymce/', include('tinymce.urls'))) if 'newsletter' in settings.INSTALLED_APPS: urlpatterns += patterns('', (r'^newsletter/', include('newsletter.urls'))) if 'django_select2' in settings.INSTALLED_APPS: from judge.views.select2 import UserSelect2View, OrganizationSelect2View, ProblemSelect2View, CommentSelect2View, \ ContestProfileSelect2View urlpatterns += patterns('', url(r'^select2/', include('django_select2.urls')), url(r'^judge-select2/profile/', UserSelect2View.as_view(), name='profile_select2'), url(r'^judge-select2/organization/', OrganizationSelect2View.as_view(), name='organization_select2'), url(r'^judge-select2/problem/', ProblemSelect2View.as_view(), name='problem_select2'), url(r'^judge-select2/comment/', CommentSelect2View.as_view(), name='comment_select2'), url(r'^judge-select2/contest_profile/', ContestProfileSelect2View.as_view(), name='contest_profile_select2'), ) if 'django_uwsgi' in settings.INSTALLED_APPS: urlpatterns = patterns('', url(r'^admin/uwsgi/', include('django_uwsgi.urls'))) + urlpatterns