Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propose changes to existing models in database #62

Open
Tracked by #71
kiancm opened this issue Jul 8, 2020 · 0 comments · May be fixed by #162
Open
Tracked by #71

Propose changes to existing models in database #62

kiancm opened this issue Jul 8, 2020 · 0 comments · May be fixed by #162

Comments

@kiancm
Copy link
Contributor

kiancm commented Jul 8, 2020

Implementing proposals for a model:

  1. subclass RevisionMixin
  2. Create a proxy model with RevisionManaggerMixin
  3. decorate str with revision_str()
  4. write a revision view
  5. write a revision approval view
  6. write a ModelAdmin

To Do:

  • Dynamically add and remove intermediate models (ie. Reaction -> Stoichiometry -> Species)
  • abstract views that use FormSets
  • add rest of revision views
  • Remove approve button if revision is already approved
  • find a way to override str if model is a revision
  • speed up form loading
  • add django-autocomplete-light to admin

^ This is in reference to work done on #156

@kiancm kiancm added this to the Database Report milestone Jul 8, 2020
@kiancm kiancm mentioned this issue Jul 8, 2020
2 tasks
@kiancm kiancm removed this from the Database Report milestone Jul 24, 2020
@kiancm kiancm linked a pull request Dec 24, 2020 that will close this issue
@kiancm kiancm changed the title Propose fixes for identifying wrong species in importer database Propose changes to existing models in database Dec 31, 2020
@kiancm kiancm removed a link to a pull request Jan 5, 2021
@kiancm kiancm linked a pull request Jan 11, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant