name='contenttypes-shortcut'), # User stats url(r'^~(?P<username>[\w-]+)/$', account_views.user_profile, name='user_profile'), # Feeds url(r'^rss/weblog/$', WeblogEntryFeed(), name='weblog-feed'), url(r'^rss/community/$', RedirectView.as_view(url='/rss/community/blogs/')), url(r'^rss/community/firehose/$', CommunityAggregatorFirehoseFeed(), name='aggregator-firehose-feed'), url(r'^rss/community/(?P<slug>[\w-]+)/$', CommunityAggregatorFeed(), name='aggregator-feed'), # django-push url(r'^subscriber/', include('django_push.subscriber.urls')), # Trac schtuff url(r'^trac/', include('tracdb.urls')), # Styleguide url(r'^styleguide/$', TemplateView.as_view(template_name='styleguide.html'), name="styleguide"), url(r'^sitemap\.xml$', cache_page(60 * 60 * 6)(sitemap_views.sitemap), {'sitemaps': sitemaps}),
url(r'^conduct/$', TemplateView.as_view(template_name='conduct/index.html'), name='code_of_conduct'), url(r'^conduct/faq/$', TemplateView.as_view(template_name='conduct/faq.html'), name='conduct_faq'), url(r'^conduct/reporting/$', TemplateView.as_view(template_name='conduct/reporting.html'), name='conduct_reporting'), url(r'^conduct/enforcement-manual/$', TemplateView.as_view(template_name='conduct/enforcement.html'), name='conduct_enforcement'), url(r'^conduct/changes/$', TemplateView.as_view(template_name='conduct/changes.html'), name='conduct_enforcement'), url(r'^contact/', include('contact.urls')), url(r'^r/(?P<content_type_id>\d+)/(?P<object_id>.*)/$', 'django.contrib.contenttypes.views.shortcut'), # There's no school like the old school. url(r'^~(?P<username>[\w-]+)/$', account_views.user_profile, name='user_profile'), # Feeds url(r'^rss/weblog/$', WeblogEntryFeed(), name='weblog-feed'), url(r'^rss/community/$', RedirectView.as_view(url='/rss/community/blogs/')), url(r'^rss/community/firehose/$', CommunityAggregatorFirehoseFeed(), name='aggregator-firehose-feed'), url(r'^rss/community/(?P<slug>[\w-]+)/$', CommunityAggregatorFeed(), name='aggregator-feed'), # PayPal insists on POSTing to the "thank you" page which means we can't # just use a flatpage for it. url(r'^foundation/donate/thanks/$', csrf_exempt(lambda req: render(req, 'donate_thanks.html'))), # django-push url(r'^subscriber/', include('django_push.subscriber.urls')), # Trac schtuff url(r'^trac/', include('tracdb.urls')), url(r'^sitemap\.xml$', cache_page(60 * 60 * 6)(sitemap_views.sitemap), {'sitemaps': sitemaps}), url(r'^weblog/', include('blog.urls')), url(r'^download/', include('releases.urls')),
path('contact/', include('contact.urls')), path('foundation/', include('members.urls')), path('fundraising/', include('fundraising.urls')), # Used by docs search suggestions re_path('^r/(?P<content_type_id>\d+)/(?P<object_id>.*)/$', contenttypes_views.shortcut, name='contenttypes-shortcut'), # User stats path('~<username>/', account_views.user_profile, name='user_profile'), # Feeds path('rss/weblog/', WeblogEntryFeed(), name='weblog-feed'), path('rss/community/', RedirectView.as_view(url='/rss/community/blogs/')), path('rss/community/firehose/', CommunityAggregatorFirehoseFeed(), name='aggregator-firehose-feed'), path('rss/community/<slug>/', CommunityAggregatorFeed(), name='aggregator-feed'), # django-push path('subscriber/', include('django_push.subscriber.urls')), # Trac schtuff path('trac/', include('tracdb.urls')), # Styleguide path('styleguide/', TemplateView.as_view(template_name='styleguide.html'), name="styleguide"), path('sitemap.xml', cache_page(60 * 60 * 6)(sitemap_views.sitemap), {'sitemaps': sitemaps}), path('weblog/', include('blog.urls')), path('download/', include('releases.urls')), path('svntogit/', include('svntogit.urls')), path('', include('legacy.urls')),