mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
@@ -1,5 +1,7 @@
|
||||
# coding: utf-8
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
from django.conf import settings
|
||||
from django.contrib import admin
|
||||
from django.contrib.admin.sites import AdminSite
|
||||
@@ -9,9 +11,9 @@ from django.forms.models import ModelForm
|
||||
from django.test import TestCase
|
||||
|
||||
# local test models
|
||||
from models import (Episode, EpisodeExtra, EpisodeMaxNum, Media,
|
||||
from .admin import MediaInline, MediaPermanentInline
|
||||
from .models import (Episode, EpisodeExtra, EpisodeMaxNum, Media,
|
||||
EpisodePermanent, Category)
|
||||
from admin import MediaInline, MediaPermanentInline
|
||||
|
||||
|
||||
class GenericAdminViewTest(TestCase):
|
||||
|
||||
Reference in New Issue
Block a user