Re:Django 2.0 alpha
by ubernostrum on Saturday September 23, 2017 @04:12PM
(#15321477)
It's still regex under the hood, the 'int' is just syntactic sugar for "[0-9]+":
https://github.com/django/django/blob/dda37675db0295baefef37...
Thanks!
Re:Django 2.0 alpha
by whalesalad on Saturday September 23, 2017 @04:09PM
(#15321454)
Seriously? 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.
EDIT: I am without actual internet or mobile tethering and an unable to `git clone https://github.com/django/django -b stable/2.0.x` and check out this convenient new feature.