summaryrefslogtreecommitdiff
path: root/packages/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-08-15 08:24:10 -0500
committerDan McGee <dan@archlinux.org>2012-08-15 08:24:10 -0500
commit9189665c2c64c13a59b25b981633ae9e12cfcc92 (patch)
treeaed6967b8c307aa650757aa6f74c3520a71af9ce /packages/models.py
parenta071d800c6a26d3efcdc0d32fe1adb1cde7e6f31 (diff)
Ensure created is set when creating flag request via admin
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/models.py')
-rw-r--r--packages/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/models.py b/packages/models.py
index af428a77..0bea21b1 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")