File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -185,10 +185,10 @@ class LogItem(models.Model):
185185 version = models .CharField (_ ("Version" ), max_length = 32 )
186186 created = models .DateTimeField (_ ("Created" ), auto_now_add = True , blank = True )
187187
188- def __str__ (self ):
189- return "%s %s" % (self .cookiegroup .name , self .version )
190-
191188 class Meta :
192189 verbose_name = _ ("Log item" )
193190 verbose_name_plural = _ ("Log items" )
194191 ordering = ["-created" ]
192+
193+ def __str__ (self ):
194+ return "%s %s" % (self .cookiegroup .name , self .version )
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ exclude_also = [
9797[tool .ruff .lint ]
9898extend-select = [
9999 # "UP", # pyupgrade
100- # "DJ", # django
100+ " DJ" , # django
101101 " LOG" , # logging
102102 " G" ,
103103 " I" , # isort
You can’t perform that action at this time.
0 commit comments