[Django]-Django: reverse function fails with an exception

6👍

The way you include the admin URLs has changed a few times over the last couple of versions. It’s likely that you are using the wrong instructions for the version of Django you have installed.

If you are using the current trunk – ie not an official release – then the documentation at http://docs.djangoproject.com/en/dev/ is correct.

However, if you are using 1.0.2 then you should follow the link at the top of the page to http://docs.djangoproject.com/en/1.0/.

Leave a comment