Ticket #10553: urls.diff

File urls.diff, 1.1 KB (added by rduffield, 6 years ago)
  • docs/topics/http/urls.txt

     
    623623.. admonition:: Make sure your views are all correct
    624624
    625625    As part of working out which URL names map to which patterns, the
    626     ``reverse()`` function has to import all of your URLConf files and examine
     626    ``reverse()`` function has to import all of your URLconf files and examine
    627627    the name of each view. This involves importing each view function. If
    628628    there are *any* errors whilst importing any of your view functions, it
    629629    will cause ``reverse()`` to raise an error, even if that view function is
    630630    not the one you are trying to reverse.
    631631
    632     Make sure that any views you reference in your URLConf files exist and can
     632    Make sure that any views you reference in your URLconf files exist and can
    633633    be imported correctly. Do not include lines that reference views you
    634634    haven't written yet, because those views will not be importable.
    635635
Back to Top