Skip to content

abal09/django-tenderize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")

About

Tender Plugin for Django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published