Auto-reload with turbolinks
This commit is contained in:
@ -12,6 +12,8 @@ class Ticket(models.Model):
|
||||
|
||||
note = models.CharField(
|
||||
max_length=255,
|
||||
blank=True,
|
||||
null=True,
|
||||
verbose_name=_("note")
|
||||
)
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user