Removed unnecessary variable & updated test

This commit is contained in:
David Taylor
2015-07-19 16:14:40 +01:00
parent cc22392ef7
commit 5641a998f3
3 changed files with 6 additions and 5 deletions

View File

@@ -47,7 +47,6 @@ class EventCreate(generic.CreateView):
def get_context_data(self, **kwargs):
context = super(EventCreate, self).get_context_data(**kwargs)
context['edit'] = True
context['new'] = True
context['currentVAT'] = models.VatRate.objects.current_rate()
form = context['form']