mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-03-04 11:08:24 +00:00
Fixed indetation issues
This commit is contained in:
@@ -16,9 +16,11 @@ class RigboardIndex(generic.TemplateView):
|
||||
context['events'] = models.Event.objects.current_events()
|
||||
return context
|
||||
|
||||
|
||||
class EventDetail(generic.DetailView):
|
||||
model = models.Event
|
||||
|
||||
|
||||
class EventCreate(generic.CreateView):
|
||||
model = models.Event
|
||||
|
||||
@@ -30,6 +32,7 @@ class EventCreate(generic.CreateView):
|
||||
def get_success_url(self):
|
||||
return reverse_laze('event_detail', kwargs={'pk': self.object.pk})
|
||||
|
||||
|
||||
class EventUpdate(generic.UpdateView):
|
||||
model = models.Event
|
||||
|
||||
|
||||
Reference in New Issue
Block a user