1
0
mirror of https://github.com/django/django.git synced 2025-10-30 17:16:10 +00:00

[1.5.x] Removed US localflavor-specific tests from core

Also fixes #9045.
Backport of 8248d1402 from master.
This commit is contained in:
Claude Paroz
2012-12-08 20:58:59 +01:00
parent c81e8e7068
commit fce779475e
5 changed files with 6 additions and 48 deletions

View File

@@ -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)