#9915: Docs for "Naming URL patterns" ------------------------------------+--------------------------------------- Reporter: rmichael | Owner: nobody Status: closed | Milestone: Component: Documentation | Version: 1.0 Resolution: wontfix | Keywords: Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ------------------------------------+--------------------------------------- Changes (by mtredinnick):
* status: new => closed * resolution: => wontfix Comment: Thanks for the idea, but I don't think we should change this. The documented examples are written the way they are intentionally: to reinforce that both named keyword arguments and positional arguments (in the four argument case) can be used. They are also deliberately showing variations in the number of arguments (e.g. you can use the name parameter without requiring the context dictionary). Your rewrite, aside from being illegal Python syntax, doesn't seem to make things any clearer and actually makes things a little less clear, since it might make it appear that the argument always has to be called as a keyword argument. -- Ticket URL: <http://code.djangoproject.com/ticket/9915#comment:2> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---