mirror of
https://github.com/Hopiu/django-tos.git
synced 2026-03-16 20:10:24 +00:00
Use reverse_lazy instead of reverse, as reverse('tos_check_tos') can return the URL in a wrong language (the language the current thread is in, instead of the language of the users request) in combination with i18n.
|
||
|---|---|---|
| .. | ||
| migrations | ||
| templates/tos | ||
| templatetags | ||
| tests | ||
| __init__.py | ||
| admin.py | ||
| apps.py | ||
| middleware.py | ||
| models.py | ||
| signal_handlers.py | ||
| urls.py | ||
| views.py | ||