fixed typo in utils/views.py

This commit is contained in:
Oskar Hahn 2013-01-05 14:46:05 +01:00
parent 56510f94a8
commit 2fcf0b3a07

View File

@ -256,7 +256,7 @@ class CreateView(PermissionMixin, _CreateView):
return context return context
def get_apply_url(self): def get_apply_url(self):
if self apply_url: if self.apply_url:
return self.apply_url return self.apply_url
else: else:
raise ImproperlyConfigured( raise ImproperlyConfigured(