Sosso item for infoscreen

This commit is contained in:
Aarni
2016-09-27 21:15:04 +03:00
parent 024c38be8b
commit 8dd7edd105
8 changed files with 67 additions and 1 deletions
+7
View File
@@ -72,6 +72,13 @@ class ABBInfoItem(InfoItem):
def get_create_template_url():
return "/static/html/abb_create.html"
class SossoInfoItem(InfoItem):
def get_template_url(self):
return "/static/html/sosso.html"
@staticmethod
def get_create_template_url():
return "/static/html/sosso_create.html"
class ImageInfoItem(InfoItem):
img = models.ImageField(upload_to="infoimages/")