Permalink
Browse files

Removed some refs to the old appregister paths

  • Loading branch information...
1 parent 005f311 commit 43f55b8338e2c52c5845ec914f9bd36d1b242199 @andrewebdev committed Nov 28, 2016
Showing with 4 additions and 5 deletions.
  1. +0 −1 ostinato/pages/models.py
  2. +4 −4 ostinato/registry.py
View
@@ -154,7 +154,6 @@ def get_content_model(self):
"""
# TODO: I dont like the import in here, but this is a requirement
# right now, since importing this outside causes circular imports.
- # This is probably due to a limitation in the appregister code.
from ostinato.pages.registry import page_content
return page_content.get_content_model(self.template)
View
@@ -189,11 +189,11 @@ class is added to the registry. the register method can be used as a
class MyClass:
pass
- The exception ``appregister.base.AlreadyRegistered`` is raised if the
+ The exception ``ostinato.registry.AlreadyRegistered`` is raised if the
class has already been registered, as defined by the ``is_registered``
method.
- The exception ``appregister.base.InvalidOperation`` is raised if the
+ The exception ``ostinato.registry.InvalidOperation`` is raised if the
class is not a valid addition to this register, as defined by the
``is_valid`` method.
"""
@@ -249,11 +249,11 @@ def register(self, name, class_=None):
class MyClass:
pass
- The exception ``appregister.base.AlreadyRegistered`` is raised if the
+ The exception ``ostinato.registry.AlreadyRegistered`` is raised if the
class has already been registered, as defined by the ``is_registered``
method.
- The exception ``appregister.base.InvalidOperation`` is raised if the
+ The exception ``ostinato.registry.InvalidOperation`` is raised if the
class is not a valid addition to this register, as defined by the
``is_valid`` method.
"""

0 comments on commit 43f55b8

Please sign in to comment.