mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-18 12:11:11 +00:00
Fix typo
It's friday afternoon...
This commit is contained in:
parent
69e65a4ab8
commit
1401df9457
1 changed files with 3 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue