~widelands-dev/widelands-website/sphinx_fixes

« back to all changes in this revision

Viewing changes to urls.py

  • Committer: franku
  • Date: 2016-08-02 19:22:42 UTC
  • Revision ID: somal@arcor.de-20160802192242-u5pkblecgj7fe1tb
fixes for documentation and a warning related to redirect

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#    url(r'^articles/comments/', include('django_comments.urls')),
35
35
 
36
36
    # Redirect old urls to docs to docs/wl
37
 
    url(r'^docs/$', RedirectView.as_view( url='/docs/wl' ), name='docs'),
 
37
    url(r'^docs/$', RedirectView.as_view( url='/docs/wl', permanent=True ), name='docs'),
38
38
    url (r'^docs/', include('sphinxdoc.urls')),
39
39
        
40
40
    # 3rd party, modified for widelands