Skip to content
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.

Refactor models imports #668

Open
duker33 opened this issue May 23, 2019 · 0 comments
Open

Refactor models imports #668

duker33 opened this issue May 23, 2019 · 0 comments
Labels
1 hour typical issue size. It's one pdd hour. Performer should spend about one astronomical hour for this i 2 performer can implement issue at his closest convenient time cleanup everything that do project stronger, flexible, reusable easy new teammates can start with such issues to become familiar with project take it any teammate can take this issue and start working with it

Comments

@duker33
Copy link
Contributor

duker33 commented May 23, 2019

Move imports all over the code to this style:

from django.db import models
from pages import models as pages_models
# or just: "import pages" if django ORM will allow it
from stroyprombeton import models as stb_models

It'll unify models usage all over the code and will simplify usage of django.db.models aggregations, fields and operators: "IntegerField, Count, Subquery, OuterRef, etc"

@duker33 duker33 added 1 hour typical issue size. It's one pdd hour. Performer should spend about one astronomical hour for this i 2 performer can implement issue at his closest convenient time take it any teammate can take this issue and start working with it easy new teammates can start with such issues to become familiar with project cleanup everything that do project stronger, flexible, reusable labels May 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1 hour typical issue size. It's one pdd hour. Performer should spend about one astronomical hour for this i 2 performer can implement issue at his closest convenient time cleanup everything that do project stronger, flexible, reusable easy new teammates can start with such issues to become familiar with project take it any teammate can take this issue and start working with it
Projects
None yet
Development

No branches or pull requests

1 participant