diff --git a/rattail_demo/web/views/people.py b/rattail_demo/web/views/people.py index 07adcdf..b7f8b6a 100644 --- a/rattail_demo/web/views/people.py +++ b/rattail_demo/web/views/people.py @@ -1,14 +1,13 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8; -*- """ Person views """ -from __future__ import unicode_literals, absolute_import - from tailbone.views import people as base +from tailbone_corepos.views import people as corepos_base -class PeopleView(base.PeopleView): +class PersonView(corepos_base.PersonView): """ Prevent edit/delete for Chuck Norris """ @@ -27,5 +26,5 @@ def includeme(config): config.add_view(base.PeopleAutocomplete, route_name='people.autocomplete', renderer='json', permission='people.list') - PeopleView.defaults(config) + PersonView.defaults(config) base.PersonNoteView.defaults(config)