django-phone-field
django-phone-field copied to clipboard
Lightweight model and form field for phone numbers in Django
For example, if I have an app `foo`, that has a model `Contact` that contains a field `phone` of type `PhoneField` (along with some other fields), then the output of...
I am getting the following errors when I run python manage.py runserver Request Method: | GET -- | -- http://127.0.0.1:8000/ 3.0.4 TemplateDoesNotExist movies/movies_stuff.html Z:\Courses2\cp-movie-app\venv\lib\site-packages\django\template\loader.py in get_template, line 19 Z:\Courses2\cp-movie-app\venv\scripts\python.exe 3.8.3...
To reproduce, make sure some rows already exist for MyModel, then add a `PhoneField` to it. ```python class MyModel(models.Model): -pass +phone = PhoneField(null=True, blank=True, unique=True) ``` ```bash python manage.py makemigrations...
is there a way for the phone field in the forms to show only an input for phone without extension .