Esempio n. 1
0
     name='groups'),
 url(r'^%s$' % pgettext('urls', 'badges/'),
     views.meta.badges,
     name='badges'),
 url(r'^%s(?P<id>\d+)//*' % pgettext('urls', 'badges/'),
     views.meta.badge,
     name='badge'),
 url(r'^sitemap.xml$',
     SitemapViews.sitemap, {'sitemaps': sitemaps},
     name='sitemap'),
 # feeds
 url(r'^feeds/rss/$',
     RssLastestQuestionsFeed(),
     name="latest_questions_feed"),
 url(r'^feeds/question/(?P<pk>\d+)/$',
     RssIndividualQuestionFeed(),
     name="individual_question_feed"),
 url(r'^%s$' % pgettext('urls', 'feedback/'),
     views.meta.feedback,
     name='feedback'),
 url('^custom\.css$',
     views.meta.config_variable,
     kwargs={
         'variable_name': 'CUSTOM_CSS',
         'content_type': 'text/css'
     },
     name='custom_css'),
 url('^custom\.js$',
     views.meta.config_variable,
     kwargs={
         'variable_name': 'CUSTOM_JS',
Esempio n. 2
0
     name='badges'
 ),
 url(
     r'^%s(?P<id>\d+)//*' % pgettext('urls', 'badges/'),
     views.meta.badge,
     name='badge'
 ),
 url(
     r'^sitemap.xml$',
     'django.contrib.sitemaps.views.sitemap',
     {'sitemaps': sitemaps},
     name='sitemap'
 ),
 # feeds
 url(r'^feeds/rss/$', RssLastestQuestionsFeed(), name="latest_questions_feed"),
 url(r'^feeds/question/(?P<pk>\d+)/$', RssIndividualQuestionFeed(), name="individual_question_feed"),
 url(r'^%s$' % pgettext('urls', 'feedback/'), views.meta.feedback, name='feedback'),
 url(
     '^custom\.css$',
     views.meta.config_variable,
     kwargs={
         'variable_name': 'CUSTOM_CSS',
         'content_type': 'text/css'
     },
     name='custom_css'
 ),
 url(
     '^custom\.js$',
     views.meta.config_variable,
     kwargs={
         'variable_name': 'CUSTOM_JS',