MyFinances icon indicating copy to clipboard operation
MyFinances copied to clipboard

Started code cleanup on models.py #160

Open vishalprashant opened this issue 10 months ago • 0 comments

Description

  • cleaned up imports
  • improved naming for random functions
  • added standard Meta and str functions with more verbose f strings for classes
  • removed blank=True for some user/organization fields because they seem like they should be necessarily filled
  • added a couple extra checks in conditionals

Checklist

  • [x] Ran the Black Formatter and

    djLint-er on any new code (checks will fail without)

  • [x] Made any changes or additions to the documentation where required

  • [x] Changes generate no new warnings/errors

  • [ ] New and existing unit tests pass locally with my changes

What type of PR is this?

  • ♻️ Code Refactor

Added/updated tests?

  • 🙅 no, because I need help

Related PRs, Issues etc

  • Related Issue #160

vishalprashant avatar Apr 26 '24 18:04 vishalprashant