You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Considering that we now have a lot of "meta" fields (database, cacheable, abstract, namespace) it could be useful to regroup them in a Meta subclass of the models, "ala" django.
The main thing is knowing which fields will go in it, then it's relatively straightforward (metaclass just checks for class called "Meta" during construction, then grabs the fields from there.)
Considering that we now have a lot of "meta" fields (
database
,cacheable
,abstract
,namespace
) it could be useful to regroup them in aMeta
subclass of the models, "ala" django.What do you think about this ?
(And we could put some internal fields in it too :
_fields
,_redis_attr*
,_hashable_fields
, removing their underscore)The text was updated successfully, but these errors were encountered: