Changes between Initial Version and Version 1 of Ticket #28703
- Timestamp:
- Oct 12, 2017, 10:34:05 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28703
- Property Summary Endpoint regex pattern construction is not stable → URL regex for admin's app_index view isn't constructed deterministically
- Property Type Uncategorized → Cleanup/optimization
-
Ticket #28703 – Description
initial v1 2 2 3 3 The regex pattern that is constructed for an endpoint is not stable. For instance, in my project I have seen it construct each of the following: 4 4 {{{ 5 5 ^admin/^(?P<app_label>social_django|authtoken|queues|jobs|files|users|clusters|appps|auth|vdcs)/$ 6 6 ^admin/^(?P<app_label>social_django|auth|users|vdcs|appps|jobs|queues|authtoken|clusters|files)/$ 7 7 ^admin/^(?P<app_label>authtoken|appps|social_django|clusters|users|queues|jobs|vdcs|auth|files)/$ 8 8 ^admin/^(?P<app_label>authtoken|appps|social_django|clusters|users|queues|vdcs|jobs|auth|files)/$ 9 9 }}} 10 10 This precludes the use of patterns in unit tests. 11 11