diff --git a/README.md b/README.md index 0f6eb72..9872b8d 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,9 @@ Python client API wrapper for [DUSKEN](http://git.neuf.no/?p=dusken.git). Inspired by [trello](https://pypi.python.org/pypi/trello). See example.py to get started. + +# TODO + +Fix DuskenAuthBackend for django + +https://developers.google.com/accounts/docs/OAuth2WebServer#refresh diff --git a/pydusken/authentication.py b/pydusken/authentication.py index 386b1c2..09856d7 100644 --- a/pydusken/authentication.py +++ b/pydusken/authentication.py @@ -36,6 +36,7 @@ class DuskenBackend(object): user.save() def authenticate(self, username=None, password=None): + # TODO you are here # Check the username/password and return a User. Username can be an email is_using_email = self._is_using_email(username) try: