Issue #33 resolved

change_locale view throws AttributeError

Jaap Roes
created an issue

If you access the change_locale view without a next parameter and no referrer an AttributeError gets raised: {{{ 'NoneType' object has no attribute 'find' }}}

This is because of this line: https://bitbucket.org/carljm/django-localeurl/src/48e3391e3197/localeurl/views.py#cl-15