Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
John James
whats-open
Commits
c2f6a715
Commit
c2f6a715
authored
Nov 30, 2017
by
Mattias J Duffy
Browse files
removing some old variables
parent
967bdafe
Changes
2
Hide whitespace changes
Inline
Side-by-side
whats-open/api/models.py
View file @
c2f6a715
...
...
@@ -135,7 +135,7 @@ class Facility(TimeStampedModel):
code
=
'invalid_tapingo_url'
)])
phone_number
=
models
.
CharField
(
blank
=
True
,
max_length
=
18
,
validators
=
[
RegexValidator
(
regex
=
'^\(?([0-9]{3})\)?[-.●]?([0-9]{3})[-.●]?([0-9]{4})$'
,
message
=
'Invalid phone number
'
,
message
=
'Invalid phone number'
,
code
=
'invalid_phone_number'
)])
# A comma seperate list of words that neatly an aptly describe the product
...
...
whats-open/settings/base.py
View file @
c2f6a715
...
...
@@ -315,7 +315,3 @@ LOGGING = {
},
}
}
"""
THIRD PARTY CONFIGURATION
"""
PHONENUMBER_DB_FORMAT
=
"NATIONAL"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment