1
0
mirror of https://github.com/django/django.git synced 2025-10-29 08:36:09 +00:00

Removed US localflavor-specific tests from core

Also fixes #9045.
This commit is contained in:
Claude Paroz
2012-12-08 20:58:59 +01:00
parent d5ed81c795
commit 8248d14029
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)