It's friday afternoon...
This commit is contained in:
Karl Hobley 2015-04-24 16:55:26 +01:00 committed by Matt Westcott
parent 69e65a4ab8
commit 1401df9457

View file

@ -141,8 +141,6 @@ class TestOldStyleRoutablePage(TestNewStyleRoutablePage, WagtailTestUtils):
from django.conf.urls import url
class TestPageModel(RoutablePageMixin, Page):
abstract = True
subpage_urls = (
url('r^$', 'main'),
)
@ -150,6 +148,9 @@ class TestOldStyleRoutablePage(TestNewStyleRoutablePage, WagtailTestUtils):
def main(self, request):
pass
class Meta:
abstract = True
# Calling check() should raise a deprecation warning
# This would usually be called by Django when it loads
self.reset_warning_registry()