Replies: 2 comments
-
I don't have lots of experience about this, but from what you described, i can't see why it would not be feasible. I have two ideas to avoid this:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
We will keep the concrete model to keep backward compatibility only. as they are today. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Based on issues raised in #132 and #34, it seems there is a conflict in the ownership of the
StateLog
model definition.Based on some projects, the type of the
autofield
can differ from project to project.It is currently technically challenging to let projects redefining part of the StateLog definition, and in particular, about the
id
field.One idea I would like to explore, is the following: What if django-fsm-log would become stateless ?
By that I mean, this lib would provide an AbstractModel and a set of utilities only. It would be up for the adopting project to define their concrete model, By doing so, we would explicitly leave the ownership on the Model and migrations to the adopting project.
Is it technically feasible ?
Do we know other projects who adopted this pattern ?
I would like to collect feedback on this idea.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions