diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-12-08 20:58:59 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-12-08 21:08:37 +0100 |
| commit | fce779475e221e322a25dbf30dc25003e831afc2 (patch) | |
| tree | 3950703e31f707248a00c1ac5be55af04cb59747 /tests/modeltests/model_forms/models.py | |
| parent | c81e8e7068bdaa000ad6fbed8d452ac074ba19a9 (diff) | |
[1.5.x] Removed US localflavor-specific tests from core
Also fixes #9045.
Backport of 8248d1402 from master.
Diffstat (limited to 'tests/modeltests/model_forms/models.py')
| -rw-r--r-- | tests/modeltests/model_forms/models.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/modeltests/model_forms/models.py b/tests/modeltests/model_forms/models.py index 90b019b611..132da2d318 100644 --- a/tests/modeltests/model_forms/models.py +++ b/tests/modeltests/model_forms/models.py @@ -91,15 +91,6 @@ class WriterProfile(models.Model): def __str__(self): return "%s is %s" % (self.writer, self.age) -from django.contrib.localflavor.us.models import PhoneNumberField -@python_2_unicode_compatible -class PhoneNumber(models.Model): - phone = PhoneNumberField() - description = models.CharField(max_length=20) - - def __str__(self): - return self.phone - @python_2_unicode_compatible class TextFile(models.Model): description = models.CharField(max_length=20) |
