nofusscomputing / nofusscomputing/centurion_erp

Software Version as Proxy Model

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

Nobody has claimed this yet.

task::feature task::refactor
Dominant language
Python
Stars
1
Forks
1
Avg merge
2h 18m
Merged PRs (30d)
8

Description

As software can be assigned to multiple models it should be a base model that is inherited.

Details

Refactor the Software version model to be a proxy model. This is required so that when a piece of software is assigned to a new model, only the model field is required.

Tasks

  • Refactor current Software version model
  • Refactor current Device Software model
  • New model Service Software
  • New model Cluster Software
  • Migration for old tables to new

Requirements

  • Documentation
  • Unit Tests
  • Functional Tests

  • Software is added to model config
  • Related name from model software to model be software

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

Start by reviewing the current Software version and Device Software models and how their existing tables are used. Trace model configuration and related-name usage before planning the new Service Software and Cluster Software models. Done means the old tables are migrated, required tests and documentation are added, and all listed model relationships work.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, database
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.