コード例 #1
0
ファイル: urls.py プロジェクト: weeee9/site
    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',
                 'apple-touch-icon-120x120.png', 'mstile-310x310.png']
コード例 #2
0
ファイル: urls.py プロジェクト: crackersamdjam/CCOJ
             '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'^tasks/',
     include([
         url(r'^status/(?P<task_id>[A-Za-z0-9-]*)$',