mirror of
https://github.com/Hopiu/django-tos.git
synced 2026-05-12 12:33:10 +00:00
1) in urls a view "tos" has context object evaluated only in a runtime. This means that even if tos was changed, the "tos" view shows always the same old tos object.
2) check_tos view uses now messages framework instead of {{note}}
3) Support for translation in "you cannot login..." message added
The following code was tested with django 1.4 and it is reported to work well.
|
||
|---|---|---|
| .. | ||
| management | ||
| templates/tos | ||
| tests | ||
| __init__.py | ||
| admin.py | ||
| models.py | ||
| urls.py | ||
| views.py | ||