3 ms·
Does it support negative long integers? EDIT: I am without actual internet or mobile tethering and an unable to `git clone https://github.com/django/django ht
by westurner 9y ago
Does it support negative long integers?
EDIT: I am without actual internet or mobile tethering and an unable to `git clone https://github.com/django/django https://github.com/django/django -b stable/2.0.x` and check out this convenient new feature.
- whalesalad 9y agoSeriously? I mean you can achieve that with your own regex the old way. Surprised you’re asking the commenters here to investigate such a specific and odd use case of a convenience method.
- ubernostrum 9y agoIt'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!