mirror of
https://github.com/evennia/evennia.git
synced 2026-04-01 13:37:17 +02:00
Run migrations! Changed "Comm" typeclass to be called "Channel" to match the ChannelDB it is a typeclass for. The migration updates all old channel defaults to the new path.
This commit is contained in:
parent
72bdc3b37f
commit
6e5de7847a
7 changed files with 170 additions and 12 deletions
|
|
@ -360,8 +360,8 @@ class ChannelDB(TypedObject):
|
|||
# Database manager
|
||||
objects = managers.ChannelManager()
|
||||
|
||||
_typeclass_paths = settings.COMM_TYPECLASS_PATHS
|
||||
_default_typeclass_path = settings.BASE_COMM_TYPECLASS or "src.comms.comms.Comm"
|
||||
_typeclass_paths = settings.CHANNEL_TYPECLASS_PATHS
|
||||
_default_typeclass_path = settings.BASE_CHANNEL_TYPECLASS or "src.comms.comms.Channel"
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
TypedObject.__init__(self, *args, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue