Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#10520 closed (invalid)

Possible doc error

Reported by: kpeters Owned by: nobody
Component: Uncategorized Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Example at bottom of page:

urlpatterns = patterns(,

url(r'archive/(\d{4})/$', archive, name="full-archive"),
archive-summary/(\d{4})/$', archive, {'summary': True}, "arch-summary"),


Would this not require a 'name=' in front of "arch-summary", just like in the line above it?

Change History (2)

comment:1 Changed 7 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

No, it doesn't, the name is the 4th parameter to url, you aren't required to use kwargs. In the future please don't use the ticket tracker to ask questions.

comment:2 Changed 5 years ago by jacob

  • milestone 1.1 beta deleted

Milestone 1.1 beta deleted

Note: See TracTickets for help on using tickets.
Back to Top