mirror of
https://github.com/Hopiu/django-tos.git
synced 2026-03-16 20:10:24 +00:00
A small app to ensure your users re-agree to Terms of Service changes
- Adding me to AUTHORS :) - Correcting login url name to auth_login to keep up with django standards |
||
|---|---|---|
| tos | ||
| .gitignore | ||
| __init__.py | ||
| AUTHORS.txt | ||
| LICENSE.txt | ||
| README.rst | ||
| setup.py | ||
==========
django-tos
==========
This project gives the admin the ability to reset terms of agreement with the end users. It tracks when TOS are changed and when users agree to the new TOS.
Summary
=======
- keeps track of when TOS is changed
- Users need to be informed and agree/re-agree when they login (custom login is provided)
- Just two models (TOS and user agreement)
Installation
============
1. Add `tos` to your INSTALLED_APPS setting.
2. Run the command `manage.py syncdb`.
3. In your root urlconf file `urls.py` add::
# terms of service links
urlpatterns += patterns('',
url(r'^login/$', 'tos.views.login', {}, 'auth_login',),
url(r'^terms-of-service/', include('tos.urls')),
)