summaryrefslogtreecommitdiffstats
path: root/mirrors/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-12-28 04:13:56 +0100
committerDan McGee <dan@archlinux.org>2012-12-28 07:35:26 +0100
commitbf4385a26c1b6f07bf9bdcddf7160b5eb4a71d9a (patch)
tree05485a88f64655f6d8134e2a24b2b5482d0e4a67 /mirrors/models.py
parent6667b017669ffbae98ce70f5472f107b91da36d5 (diff)
downloadarchweb-bf4385a26c1b6f07bf9bdcddf7160b5eb4a71d9a.tar.gz
archweb-bf4385a26c1b6f07bf9bdcddf7160b5eb4a71d9a.tar.xz
Move the body of set_last_modified to main/utils
Instead of having multiple methods, move this into our single 'created' setter method. If the 'last_modified' property is present, we now update it accordingly when saving any model with this signal attached. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/models.py')
0 files changed, 0 insertions, 0 deletions