Using TypedObjectManager on a non-typeclass doesn't cause any harm, near as I can tell from looking at it and trying the different returns_typeclass methods. Should resolve #1114

This commit is contained in:
Tehom 2016-11-08 04:40:35 -05:00 committed by Griatch
parent b80f7c3637
commit 8b3c0057af
2 changed files with 3 additions and 2 deletions

View file

@ -3,10 +3,11 @@ Custom manager for HelpEntry objects.
"""
from django.db import models
from evennia.utils import logger, utils
from evennia.typeclasses.managers import TypedObjectManager
__all__ = ("HelpEntryManager",)
class HelpEntryManager(models.Manager):
class HelpEntryManager(TypedObjectManager):
"""
This HelpEntryManager implements methods for searching
and manipulating HelpEntries directly from the database.