summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-08-15 15:24:10 +0200
committerDan McGee <dan@archlinux.org>2012-08-15 15:24:10 +0200
commit9189665c2c64c13a59b25b981633ae9e12cfcc92 (patch)
treeaed6967b8c307aa650757aa6f74c3520a71af9ce /packages
parenta071d800c6a26d3efcdc0d32fe1adb1cde7e6f31 (diff)
downloadarchweb-9189665c2c64c13a59b25b981633ae9e12cfcc92.tar.gz
archweb-9189665c2c64c13a59b25b981633ae9e12cfcc92.tar.xz
Ensure created is set when creating flag request via admin
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/models.py b/packages/models.py
index af428a7..0bea21b 100644
--- a/packages/models.py
+++ b/packages/models.py
@@ -482,7 +482,8 @@ class Replacement(RelatedToBase):
# hook up some signals
-for sender in (PackageRelation, SignoffSpecification, Signoff, Update):
+for sender in (FlagRequest, PackageRelation,
+ SignoffSpecification, Signoff, Update):
pre_save.connect(set_created_field, sender=sender,
dispatch_uid="packages.models")