mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Modified generic_views for unittest2 discovery.
This commit is contained in:
parent
5e84abec14
commit
3ca3d2206c
@ -1,11 +1,11 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
from .base import (ViewTest, TemplateViewTest, RedirectViewTest,
|
||||
from .test_base import (ViewTest, TemplateViewTest, RedirectViewTest,
|
||||
GetContextDataTest)
|
||||
from .dates import (ArchiveIndexViewTests, YearArchiveViewTests,
|
||||
from .test_dates import (ArchiveIndexViewTests, YearArchiveViewTests,
|
||||
MonthArchiveViewTests, WeekArchiveViewTests, DayArchiveViewTests,
|
||||
DateDetailViewTests)
|
||||
from .detail import DetailViewTest
|
||||
from .edit import (FormMixinTests, BasicFormTests, ModelFormMixinTests,
|
||||
from .test_detail import DetailViewTest
|
||||
from .test_edit import (FormMixinTests, BasicFormTests, ModelFormMixinTests,
|
||||
CreateViewTests, UpdateViewTests, DeleteViewTests)
|
||||
from .list import ListViewTests
|
||||
from .test_list import ListViewTests
|
||||
|
@ -7,7 +7,7 @@ from django.core.urlresolvers import reverse, reverse_lazy
|
||||
from django.utils.decorators import method_decorator
|
||||
from django.views import generic
|
||||
|
||||
from .forms import AuthorForm, ContactForm
|
||||
from .test_forms import AuthorForm, ContactForm
|
||||
from .models import Artist, Author, Book, Page, BookSigning
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user