Added a type to backend_status
[plstackapi.git] / planetstack / core / models / tag.py
index cbe63a5..7818c32 100644 (file)
@@ -22,3 +22,12 @@ class Tag(PlCoreBase):
     def __unicode__(self):
         return self.name
 
+
+    def can_update(self, user):
+        if user.is_admin:
+            return True
+        return False
+
+    @staticmethod
+    def select_by_user(user):
+        return Tag.objects.all()