djangosnippets.org: Latest snippets tagged with 'BRPhoneNumberField'https://djangosnippets.org/tags/brphonenumberfield/2011-08-28T14:16:07.985019-05:00BRPhoneNumberWidget
2011-08-28T14:16:07.985019-05:00sementehttps://djangosnippets.org/snippets/2534/<p>A widget created for BRPhoneNumberField that splits the input into a
<input> for the area code and another for the phone number.</p>
<p>Usage example:</p>
<pre><code>class MyForm(forms.Form):
mobile_phone = BRPhoneNumberField(
label='Telefone Celular',
widget=BRPhoneNumberWidget()
)
...
</code></pre>
Freely redistributable