kopia lustrzana https://github.com/wagtail/wagtail
Updated deprecation warning classes
Also removed some occurances of RemovedInWagtail06Warningpull/551/head
rodzic
ec7dfb0e84
commit
f7325ca419
|
@ -1,6 +1,6 @@
|
|||
class RemovedInWagtail06Warning(DeprecationWarning):
|
||||
class RemovedInWagtail07Warning(DeprecationWarning):
|
||||
pass
|
||||
|
||||
|
||||
class RemovedInWagtail07Warning(PendingDeprecationWarning):
|
||||
class RemovedInWagtail08Warning(PendingDeprecationWarning):
|
||||
pass
|
||||
|
|
|
@ -3,8 +3,6 @@ import warnings
|
|||
from django import template
|
||||
from django.template.loader import render_to_string
|
||||
|
||||
from wagtail.utils.deprecation import RemovedInWagtail06Warning
|
||||
|
||||
from wagtail.wagtailcore.models import Page
|
||||
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@ from django.test import TestCase, Client
|
|||
from django.test.utils import override_settings
|
||||
from django.http import HttpRequest, Http404
|
||||
|
||||
from wagtail.utils.deprecation import RemovedInWagtail06Warning
|
||||
|
||||
from wagtail.wagtailcore.models import Page, Site
|
||||
from wagtail.tests.models import EventPage, EventIndex, SimplePage, PageWithOldStyleRouteMethod
|
||||
|
||||
|
|
|
@ -5,8 +5,6 @@ from django.shortcuts import get_object_or_404, redirect
|
|||
from django.core.urlresolvers import reverse
|
||||
from django.conf import settings
|
||||
|
||||
from wagtail.utils.deprecation import RemovedInWagtail06Warning
|
||||
|
||||
from wagtail.wagtailcore import hooks
|
||||
from wagtail.wagtailcore.models import Page, PageViewRestriction
|
||||
from wagtail.wagtailcore.forms import PasswordPageViewRestrictionForm
|
||||
|
|
|
@ -4,8 +4,6 @@ from six import string_types
|
|||
|
||||
from django.db import models
|
||||
|
||||
from wagtail.utils.deprecation import RemovedInWagtail06Warning
|
||||
|
||||
|
||||
class Indexed(object):
|
||||
@classmethod
|
||||
|
|
Ładowanie…
Reference in New Issue