Opened 6 years ago

Last modified 6 years ago

#30437 closed Cleanup/optimization

Why urlpatterns has to be a *Python list*? — at Version 1

Reported by: Batuhan Taşkaya Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Batuhan Taşkaya)

Why urlpatterns has to be a *Python list*? Doesn't all sequences (an object that implements collections.abc.Sequence interface) counts for that. IMO this description should change at url dispatching page. As a real example i'm using collections.UserList based pattern manager for it (can be found in here)

Change History (1)

comment:1 by Batuhan Taşkaya, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top