Don't panic about lack of Firebase key.
[wolnelektury.git] / src / api / models.py
index cc71a06..2481010 100644 (file)
@@ -45,6 +45,7 @@ class BookUserData(models.Model):
     book = models.ForeignKey(Book)
     user = models.ForeignKey(User)
     complete = models.BooleanField(default=False)
+    last_changed = models.DateTimeField(auto_now=True)
 
     def get_state(self):
         return 'complete' if self.complete else 'reading'