PavelVavruska/django-oscar — comment on commit 162497e603ee9e7f618886ed2413c28da6014d98
File: oscar/apps/customer/views.py line 178
By codeinthehole:

This logic should be in the form. You shouldn't ever really need to pass an 'error' variable - that's an indicator that you're not using the form properly.