aboutsummaryrefslogtreecommitdiffstats
path: root/paste.ini
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-01-05 00:18:17 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-01-08 21:55:46 +0100
commitf42e49c3ad1c446e7899e7b76cd7fa381d5bba7c (patch)
treeafe23990c6bcff4566474e6c075eb81d4562adae /paste.ini
parentbcd50908d2849dff5a466b15db65112779cb85e2 (diff)
downloadmediagoblin-f42e49c3ad1c446e7899e7b76cd7fa381d5bba7c.tar.lz
mediagoblin-f42e49c3ad1c446e7899e7b76cd7fa381d5bba7c.tar.xz
mediagoblin-f42e49c3ad1c446e7899e7b76cd7fa381d5bba7c.zip
Add DB Mixin classes and use them
A bunch of functions on the db objects are really more like "utility functions": They could live outside the classes and be called "by hand" passing the appropiate reference. They usually only use the public API of the object and rarely use database related stuff. Goals: - First, simple: Share the code with the SQL objects, so that the code doesn't need to be duplicated. - Second, it might unclutter the db models and make them more into "model only" stuff. - Doesn't really hurt.
Diffstat (limited to 'paste.ini')
0 files changed, 0 insertions, 0 deletions