Commits

Anonymous committed d4eebcf

Comments in admin

Comments (0)

Files changed (1)

     
     def is_recent(self):
         return ( datetime.now() - self.created_on ).seconds < 60
+        
+    class Admin:
+        pass
 
 class Category(models.Model):
     name = models.CharField(max_length=255, unique=True)