johnboxall / django-tenderize
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
README | Sun Jan 11 23:47:20 -0800 2009 | |
| |
__init__.py | Wed Dec 03 16:52:15 -0800 2008 | |
| |
helpers.py | Tue Aug 11 22:37:12 -0700 2009 | |
| |
models.py | Thu Dec 04 10:47:30 -0800 2008 | |
| |
tests/ | Tue Aug 11 22:37:49 -0700 2009 | |
| |
urls.py | Fri Mar 20 12:56:46 -0700 2009 | |
| |
views.py | Fri Mar 20 12:56:46 -0700 2009 |
README
Info ---- Tender uses tasty cookies to log your users in. http://help.tenderapp.com/faqs/setup-installation/login-from-cookies This app includes a view like `django.contrib.auth.views.login` that in addition to logging a user in as normal, sets the cookies required by Tender. Yum. Installation ------------ 1) Checkout the project into a folder called `tenderize` on your python path: git clone git://github.com/johnboxall/django-tenderize.git tenderize 2) Add `tenderize` to your installed apps, and add the following to `settings.py`: # .yourdomain.com TENDER_COOKIE_DOMAIN = '.mysite.com' # get from tender TENDER_SECRET = "???" # your.tenderapp.com TENDER_DOMAIN = 'support.mysite.com' # how long the cookies will last TENDER_COOKIE_AGE = 1209600 # (2 weeks in seconds) 3) Add the following to urlpatterns in `urls.py`: url(r'^login/$', 'tenderize.views.login_and_tenderize', name="login")
