djangosnippets.org: Latest snippets tagged with 'uk'https://djangosnippets.org/tags/uk/2012-09-06T03:36:07.525793-05:00UKPhoneNumberField GB v3 (improved)
2012-09-06T03:36:07.525793-05:00g1smdhttps://djangosnippets.org/snippets/2810/<p>Validates and cleans UK telephone numbers. Number length is checked, and numbers are cleaned into a common format. For example, "+44 (0)1234 567890" will be stored as "01234 567890".</p>
<p>Can reject premium numbers (0912 312 3123) or service numbers (1471, 118 118) with UKPhoneNumberField(reject=('premium', 'service'))</p>
<p>Can reject multiple number types …</p>
Freely redistributableUKPhoneNumberField GB v2
2012-09-06T03:17:29.403905-05:00g1smdhttps://djangosnippets.org/snippets/2809/<p>Validates and cleans UK telephone numbers. Number length is checked, and numbers are cleaned into a common format. For example, "+44 (0)1234 567890" will be stored as "01234 567890"</p>
<p>Can reject premium numbers (0912 312 3123) or service numbers (1471, 118 118) with UKPhoneNumberField(reject=('premium', 'service'))</p>
<p>Corrects the errors found in …</p>
Freely redistributableUKPhoneNumberField
2008-11-20T03:43:38.755185-06:00nathan-reynoldshttps://djangosnippets.org/snippets/1207/<p>Validates and cleans UK telephone numbers. Number length is checked, and numbers are cleaned into a common format. For example, "+44 (0)1234 567890" will be stored as "01234 567890"</p>
<p>Can reject premium numbers (09123 123123) or service numbers (1471, 118 118) with <code>UKPhoneNumberField(reject=('premium', 'service'))</code></p>
<p>Uses info from <a href="http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom">Wikipedia</a></p>
Freely redistributable