mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 18:47:16 +01:00
Fixed creation. Time to start cleaning the .dbobj hierarchy.
This commit is contained in:
parent
e28d544fb0
commit
4e0b5be962
5 changed files with 13 additions and 8 deletions
|
|
@ -82,8 +82,8 @@ class SharedMemoryModelBase(ModelBase):
|
|||
document this auto-wrapping in the class header, this could seem very much like magic to the user otherwise.
|
||||
"""
|
||||
|
||||
attrs["typename"] = cls.__name__
|
||||
attrs["path"] = "%s.%s" % (attrs["__module__"], name)
|
||||
#attrs["typename"] = cls.__name__
|
||||
#attrs["path"] = "%s.%s" % (attrs["__module__"], name)
|
||||
|
||||
# set up the typeclass handling only if a variable _is_typeclass is set on the class
|
||||
def create_wrapper(cls, fieldname, wrappername, editable=True, foreignkey=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue