Commit d47d95ed by Bridger Maxwell

Removed simplewiki's custom 404 page so urls work better, and it uses global 404…

Removed simplewiki's custom 404 page so urls work better, and it uses global 404 page. Set bad debug setting to false
parent 5c11bcd0
......@@ -13,7 +13,7 @@ DEFAULT_FROM_EMAIL = 'registration@mitx.mit.edu'
DEFAULT_FEEDBACK_EMAIL = 'feedback@mitx.mit.edu'
# For testing the login system
GENERATE_RANDOM_USER_CREDENTIALS = True
GENERATE_RANDOM_USER_CREDENTIALS = False
WIKI_REQUIRE_LOGIN_EDIT = True
WIKI_REQUIRE_LOGIN_VIEW = True
......
......@@ -9,10 +9,10 @@ urlpatterns = patterns('',
url(r'^random/$', 'simplewiki.views.random_article', name='wiki_random'),
url(r'^search/$', 'simplewiki.views.search_articles', name='wiki_search_articles'),
url(r'^list/$', 'simplewiki.views.search_articles', name='wiki_list_articles'), #Just an alias for the search, but you usually don't submit a search term
url(r'^search_related/([a-zA-Z\d/_-]*)//$', 'simplewiki.views.search_add_related', name='search_related'),
url(r'^search_related/([a-zA-Z\d/_-]*)/$', 'simplewiki.views.search_add_related', name='search_related'),
# url(r'^/?([a-zA-Z\d/_-]*)/_related/add/$', 'simplewiki.views.add_related', name='add_related'),
# url(r'^/?([a-zA-Z\d/_-]*)/_related/remove/(\d+)$', 'simplewiki.views.remove_related', name='wiki_remove_relation'),
# url(r'^/?([a-zA-Z\d/_-]*)/_add_attachment/$', 'simplewiki.views_attachments.add_attachment', name='add_attachment'),
# url(r'^/?([a-zA-Z\d/_-]*)/_view_attachment/(.+)?$', 'simplewiki.views_attachments.view_attachment', name='wiki_view_attachment'),
url(r'^(.*)$', 'simplewiki.views.encode_err', name='wiki_encode_err')
# url(r'^(.*)$', 'simplewiki.views.encode_err', name='wiki_encode_err')
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment