mirror of
https://github.com/Hopiu/django-tos.git
synced 2026-05-04 00:44:42 +00:00
- Adding me to AUTHORS :) - Correcting login url name to auth_login to keep up with django standards
27 lines
No EOL
753 B
ReStructuredText
27 lines
No EOL
753 B
ReStructuredText
==========
|
|
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')),
|
|
) |