Allow extending model with an extra details of tasks #421
adam-jarzebak
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to easily extend a model, so that in admin I can for example sort by client_id etc?
I am trying at the moment to achieve with with:
TaskResult.add_to_class('task_creator', models.ForeignKey(ExtraTaskDetails, on_delete=models.CASCADE, null=True))
but it's tricky and requires manual management of migrations.
Beta Was this translation helpful? Give feedback.
All reactions