caffeinehit/django-oauth2-provider — pull request #15 by dulaccc (2013-03-12 11:47:43+00:00)
Title: Fix the `expires_in` value that was wrong

Because timedelta.seconds does take into account the days attribute of
timedelta.

```python
>>> from datetime import timedelta
>>> t = timedelta(days=365)
>>> t.seconds
0
>>> t.total_seconds()
30758400.0
```