Changeset - 2734ff56a35b
[Not reviewed]
0 1 0
Lance Edgar (lance) - 2 months ago 2024-08-15 02:17:09
lance@edbob.org
fix: use `ModelBase` from wuttjamaican, as our model base class

this gives us better `dict(obj)` behavior
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rattail/db/model/core.py
Show inline comments
 
@@ -34,9 +34,9 @@ except ImportError:
 
    from sqlalchemy.ext.declarative import declarative_base
 
from sqlalchemy.ext.associationproxy import association_proxy
 

	
 
from wuttjamaican.db.model.base import naming_convention, uuid_column, uuid_fk_column
 
from wuttjamaican.db.model.base import (naming_convention, uuid_column, uuid_fk_column,
 
                                        ModelBase as WuttaModelBase)
 

	
 
from rattail.core import Object
 
from rattail.time import make_utc
 

	
 
# These are imported because most sibling modules import them *from* here (if
 
@@ -46,7 +46,7 @@ from rattail.db.core import getset_factory
 
from rattail.db.types import GPCType
 

	
 

	
 
class ModelBase(Object):
 
class ModelBase(WuttaModelBase):
 
    """
 
    Base class for all data models.
 
    """
0 comments (0 inline, 0 general)