Browse Source

Cache buster model. #227

Rafał Pitoń 11 years ago
parent
commit
75edc0b2f8
1 changed files with 9 additions and 0 deletions
  1. 9 0
      misago/core/models.py

+ 9 - 0
misago/core/models.py

@@ -0,0 +1,9 @@
+from django.db import models
+
+
+class VersionControl(models.Model):
+    key = models.CharField(max_length=128)
+    version = models.PositiveIntegerField(default=0)
+
+    class Meta:
+        app_label = 'misago_core'