refactor annotations to compound queryset to the model level
this is mainly to be used in compounds list, but will ultimately be useful everywhere Former-commit-id: 720068133a0e7c7f5d9bd562d77467ab70d0c477
Showing
- ippisite/ippidb/models.py 19 additions, 21 deletionsippisite/ippidb/models.py
- ippisite/ippidb/templates/compound_list.html 13 additions, 13 deletionsippisite/ippidb/templates/compound_list.html
- ippisite/ippidb/templates/compound_t_list.html 4 additions, 4 deletionsippisite/ippidb/templates/compound_t_list.html
- ippisite/ippidb/views.py 7 additions, 29 deletionsippisite/ippidb/views.py
Please register or sign in to comment