revsys / django-tos

A small app to ensure your users re-agree to Terms of Service changes
BSD 3-Clause "New" or "Revised" License
153 stars 42 forks source link

Update middleware.py #68

Closed Hopiu closed 1 year ago

Hopiu commented 1 year ago

Use reverse_lazy instead of reverse to ensure the URL is returned in the language of the user's request, rather than the language of the current thread, when running on module level with i18n.

nicholasserra commented 1 year ago

LGTM thanks