Package: qa.debian.org
Severity: normal
User: qa.debian....@packages.debian.org
Usertags: debsources

models.py contains several classes which are used only by the web app and that
have nothing to do with the ORM layer, e.g. Location, Directory, SourceFile.
Similarly, models.py also contains static methods
(e.g. PackageName.list_versions_from_name) that should better be moved to a
query-specific module.

We should refactor the code so that models.py contains only the ORM
abstraction, and move query code to separate modules.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140926123517.12853.42598.reportbug@timira.takhisis.invalid

Reply via email to