Ticket #10553: urls.diff
File urls.diff, 1.1 KB (added by , 16 years ago) |
---|
-
docs/topics/http/urls.txt
623 623 .. admonition:: Make sure your views are all correct 624 624 625 625 As part of working out which URL names map to which patterns, the 626 ``reverse()`` function has to import all of your URL Conf files and examine626 ``reverse()`` function has to import all of your URLconf files and examine 627 627 the name of each view. This involves importing each view function. If 628 628 there are *any* errors whilst importing any of your view functions, it 629 629 will cause ``reverse()`` to raise an error, even if that view function is 630 630 not the one you are trying to reverse. 631 631 632 Make sure that any views you reference in your URL Conf files exist and can632 Make sure that any views you reference in your URLconf files exist and can 633 633 be imported correctly. Do not include lines that reference views you 634 634 haven't written yet, because those views will not be importable. 635 635