File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,7 @@ class ContentManageable(models.Model):
22
22
23
23
# We allow creator to be null=True so that we can, if we must, create a
24
24
# ContentManageable object in a context where we don't have a creator (i.e.
25
- # where there isn't a request.user sitting around). However, we still leave
26
- # it blank=False so that any time we try to *validate* a ContentManageable
27
- # object we'll get an error. This is a reasonable compromise that lets us
28
- # track creators fairly well without necessarily over-enforcing it in places
29
- # where it'd be invasive.
25
+ # where there isn't a request.user sitting around).
30
26
creator = models .ForeignKey (
31
27
settings .AUTH_USER_MODEL ,
32
28
related_name = '%(app_label)s_%(class)s_creator' ,
You can’t perform that action at this time.
0 commit comments