Update urlpatterns.py

Allow numbers in format extension.