Changes between Initial Version and Version 1 of Ticket #29068, comment 2


Ignore:
Timestamp:
Feb 3, 2018, 3:45:39 AM (7 years ago)
Author:
Gerben Morsink

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29068, comment 2

    initial v1  
    33I had an url of type:
    44
     5
     6{{{
    57url(r'^aboutus/$', RedirectView.as_view(url=reverse('aboutus'), permanent=True)) in my urls.py. Where the 'aboutus' url was defined somewhere above in an included sub urls.py.
     8
     9}}}
    610
    711With 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.
Back to Top