openedx / openedx/openedx-core

Develop higher level guidance on when to use model subclasses

Open
#639 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

arch data model
Dominant language
Python
Stars
10
Forks
32
Avg merge
2d 17h
Merged PRs (30d)
12

Description

ADR on:

  • when to use multi-table inheritance
  • when to use 1:1 relations
  • when to use class registries to do dispatch
  • if we want to adopt django-polymorphic

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the four architectural questions listed in the issue, including multi-table inheritance, 1:1 relations, class registries, and django-polymorphic. Compare these approaches and produce an ADR that gives higher-level guidance on when to use model subclasses and which approach to choose in each case.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.