1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Convert the remainder of the relative imports in the tests to be absolute imports.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor
2011-10-13 21:34:56 +00:00
parent f830166167
commit 8c0eefd066
144 changed files with 580 additions and 265 deletions

View File

@@ -1,5 +1,9 @@
from __future__ import absolute_import
from django.forms import ModelForm
from models import MXPersonProfile
from .models import MXPersonProfile
class MXPersonProfileForm(ModelForm):

View File

@@ -1,6 +1,7 @@
from django.db import models
from django.contrib.localflavor.mx.models import (
MXStateField, MXRFCField, MXCURPField, MXZipCodeField)
from django.db import models
class MXPersonProfile(models.Model):
state = MXStateField()

View File

@@ -1,9 +1,12 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from django.contrib.localflavor.mx.forms import (MXZipCodeField, MXRFCField,
MXStateSelect, MXCURPField)
from django.test import SimpleTestCase
from forms import MXPersonProfileForm
from .forms import MXPersonProfileForm
class MXLocalFlavorTests(SimpleTestCase):