fixed typo in utils/views.py
This commit is contained in:
parent
56510f94a8
commit
2fcf0b3a07
@ -256,7 +256,7 @@ class CreateView(PermissionMixin, _CreateView):
|
||||
return context
|
||||
|
||||
def get_apply_url(self):
|
||||
if self apply_url:
|
||||
if self.apply_url:
|
||||
return self.apply_url
|
||||
else:
|
||||
raise ImproperlyConfigured(
|
||||
|
Loading…
Reference in New Issue
Block a user