Auto-reload with turbolinks

This commit is contained in:
Yohann D'ANELLO
2020-02-29 11:57:19 +01:00
parent abee482257
commit 204623c960
4 changed files with 36 additions and 3 deletions

View File

@ -12,6 +12,8 @@ class Ticket(models.Model):
note = models.CharField(
max_length=255,
blank=True,
null=True,
verbose_name=_("note")
)

View File

@ -5,3 +5,10 @@ from django.views.generic import TemplateView
class TombolaView(TemplateView):
template_name = "tombola.html"
def get_context_data(self, **kwargs):
context = super().get_context_data()
context['title'] = "Tombola Saper[list]popette"
return context