Changes between Version 2 and Version 3 of Ticket #29068, comment 2
- Timestamp:
- Feb 3, 2018, 3:46:09 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29068, comment 2
v2 v3 6 6 {{{ 7 7 url(r'^aboutus/$', RedirectView.as_view(url=reverse('aboutus'), permanent=True)) 8 }}} 8 9 9 }}} 10 in my urls.py. Where the 'aboutus' url was defined somewhere above in an included sub urls.py. 10 in my urls.py. Where the 'aboutus' url was defined somewhere above in an included sub urls.py. 11 11 12 12 With the Django testserver this works fine, but in production (Apache + WSGI) it gives a lot of seemingly strange errors, such as unexpected 404s and (after including the package silk) unexpected 500 errors. The strange thing was, that it did work on the test server (also Apache + WSGI), but not on the live server. It gave me some pulled out grey hair, so I hope someone finds this anwers when the need is there.