2 ms·
It's still regex under the hood, the 'int' is just syntactic sugar for "[0-9]+": https://github.com/django/django/blob/dda37675db0295baefef3750e12430cf9df4d835
by ubernostrum 9y ago
It's still regex under the hood, the 'int' is just syntactic sugar for "[0-9]+":
https://github.com/django/django/blob/dda37675db0295baefef3750e12430cf9df4d835/django/urls/converters.py#L6 https://github.com/django/django/blob/dda37675db0295baefef37...
- westurner 9y agoThanks!