accept all valid lengths of phonenumber in the url pattern

This commit is contained in:
Thomas Steen Rasmussen 2021-08-15 18:23:13 +02:00
parent 816f1e5ace
commit c8dee63751
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ urlpatterns = [
name="dectregistration_create",
),
re_path(
r"^(?P<dect_number>\d{4})/",
r"^(?P<dect_number>\d{4,9})/",
include(
[
path(