Webfrontend #737
Adjust the model wrappers
Status: | Neu | Start date: | ||
---|---|---|---|---|
Priority: | Niedrig | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | Estimated time: | 1.00 h | |
Target version: | Repertoire 2) Testing phase II |
Description
- Pass the object, not the id (i see no reason for that)
- Put all general functions, which are the same for each model, into the base class Tdb (e.g. search, search_by_id, search_by_oid, etc).
- Think about the special functions: if too special and only needed in one place, a search(DOMAIN) in the calling method could make more sense to keep the models thin.
History
#1 Updated by Alexander Blum about 4 years ago
- Estimated time set to 1.00
#2 Updated by Alexander Blum about 4 years ago
- Priority changed from Normal to Niedrig
#3 Updated by Alexander Blum over 3 years ago
- Target version changed from 2) Testing phase II to Repertoire 2) Testing phase II
#4 Updated by Alexander Blum over 3 years ago
- Project changed from repertoire to collecting_society