Refactor how url loading works for static files

This commit is contained in:
Jan Tuomi
2018-01-26 08:21:33 +02:00
parent f0ea3505e4
commit 77330dffe9
21 changed files with 371 additions and 182 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ from django.core.exceptions import ValidationError
from kaehmy.models import PresetRole, CustomRole, Application, Comment
from webapp.models import BaseRole
class CheckboxSelectMultiple(forms.widgets.CheckboxSelectMultiple):
option_template_name = 'checkbox_option.html'
@@ -86,4 +87,4 @@ class CommentForm(forms.ModelForm):
class Meta:
model = Comment
fields = ['name', 'email', 'message', 'parent']
fields = ['name', 'email', 'message', 'parent']