X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a595d703f467bdb60ff6e4bc186ddd6f15cce839..7b554fbe7a0a6d553f1928b6a144110773da1975:/forum/urls.py diff --git a/forum/urls.py b/forum/urls.py index 9ba2ebd..5c784d3 100644 --- a/forum/urls.py +++ b/forum/urls.py @@ -37,6 +37,7 @@ urlpatterns += patterns('', url(r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}, name='sitemap'), (r'^favicon\.ico$', app.meta.favicon), + url(r'^cstyle\.css$', app.meta.custom_css, name="custom_css"), url(r'^m/(?P\w+)/media/(?P.*)$', app.meta.media , name='osqa_media'), url(r'^%s(?P.*)$' % _('upfiles/'), 'django.views.static.serve', @@ -140,8 +141,14 @@ urlpatterns += patterns('', url(r'^%s%s(?P\w+)/(?P\w+)/$' % (_('admin/'), _('settings/')), app.admin.get_default, name="admin_default"), url(r'^%s%s$' % (_('admin/'), _('maintenance/')), app.admin.maintenance, name="admin_maintenance"), url(r'^%s%s$' % (_('admin/'), _('flagged_posts/')), app.admin.flagged_posts, name="admin_flagged_posts"), + url(r'^%s%s$' % (_('admin/'), _('static_pages/')), app.admin.static_pages, name="admin_static_pages"), + + url(r'^%s%s%s$' % (_('admin/'), _('static_pages/'), _('new/')), app.admin.edit_page, name="admin_new_page"), + url(r'^%s%s%s(?P\d+)/$' % (_('admin/'), _('static_pages/'), _('edit/')), app.admin.edit_page, name="admin_edit_page"), url(r'^%s%s(?P\w+)/$' % (_('admin/'), _('settings/')), app.admin.settings_set, name="admin_set"), url(r'^feeds/rss/$', RssLastestQuestionsFeed, name="latest_questions_feed"), + + url(r'^(?P.+)$', app.meta.page, name="static_page") )