Esempio n. 1
0
                     preview.LicenseMarkdownPreviewView.as_view(),
                     name='license_preview'),
                 url(r'^ticket$',
                     preview.TicketMarkdownPreviewView.as_view(),
                     name='ticket_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()),
         url(r'^blog/atom/$', AtomBlogFeed()),
     ])),
 url(
     r'^stats/',
     include([
         url(
             '^language/',
             include([
                 url('^$', stats.language, name='language_stats'),
                 url('^data/all/$',
                     stats.language_data,
                     name='language_stats_data_all'),
                 url('^data/ac/$',
                     stats.ac_language_data,
                     name='language_stats_data_ac'),
                 url('^data/status/$',
Esempio n. 2
0
File: urls.py Progetto: weeee9/site
            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'^ticket$', preview.TicketMarkdownPreviewView.as_view(), name='ticket_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(), name='blog_rss'),
        url(r'^blog/atom/$', AtomBlogFeed(), name='blog_atom'),
    ])),

    url(r'^stats/', include([
        url('^language/', include([
            url('^$', stats.language, name='language_stats'),
            url('^data/all/$', stats.language_data, name='language_stats_data_all'),
            url('^data/ac/$', stats.ac_language_data, name='language_stats_data_ac'),
            url('^data/status/$', stats.status_data, name='stats_data_status'),
            url('^data/ac_rate/$', stats.ac_rate, name='language_stats_data_ac_rate'),
        ])),
    ])),

    url(r'^tickets/', include([
        url(r'^$', ticket.TicketList.as_view(), name='ticket_list'),
        url(r'^ajax$', ticket.TicketListDataAjax.as_view(), name='ticket_ajax'),
Esempio n. 3
0
                      martor_image_uploader,
                      name='martor_image_uploader'),
                 path('search-user',
                      markdown_search_user,
                      name='martor_search_user'),
             ])),
     ])),
 path(
     'feed/',
     include([
         path('problems/rss/', ProblemFeed(), name='problem_rss'),
         path('problems/atom/', AtomProblemFeed(), name='problem_atom'),
         path('comment/rss/', CommentFeed(), name='comment_rss'),
         path('comment/atom/', AtomCommentFeed(), name='comment_atom'),
         path('blog/rss/', BlogFeed(), name='blog_rss'),
         path('blog/atom/', AtomBlogFeed(), name='blog_atom'),
     ])),
 path(
     'stats/',
     include([
         path(
             'language/',
             include([
                 path('', stats.language, name='language_stats'),
                 path('data/all/',
                      stats.language_data,
                      name='language_stats_data_all'),
                 path('data/ac/',
                      stats.ac_language_data,
                      name='language_stats_data_ac'),
                 path('data/status/',