Commit Graph

2228 Commits

Author SHA1 Message Date
Pierre Dulac
8845c0be88 Fix import errors 2013-03-06 22:42:09 +01:00
Pierre Dulac
30e3775b8b Update the documentation
with a warning for incompatibility with Python 3
and taking @tomchristie advice into account on how to reformulate some
sentences
2013-03-06 19:16:57 +01:00
Pierre Dulac
cda21a306e Only add the django-oauth2-provider apps if the module is installed
otherwise log a warning
2013-03-06 19:16:13 +01:00
Pierre Dulac
6f5764105b Use the PyPI django-oauth2-provider version 2013-03-06 19:15:33 +01:00
Pierre Dulac
c449dd4f4d Properly fail to wrong Authorization token type 2013-03-02 20:17:14 +01:00
Pierre Dulac
8809c46ab5 Add new OAuth2 tests 2013-03-02 20:16:18 +01:00
Pierre Dulac
721dc519ec Use django.utils to import the unittest module
for a cross python versions compatibility
2013-03-01 23:27:47 +01:00
Pierre Dulac
182edb3e9b Add django-oauth2-provider to .travis.yml 2013-03-01 21:25:42 +01:00
Pierre Dulac
d4c2267187 Clean up some print and comments 2013-03-01 12:08:28 +01:00
Pierre Dulac
653fcf7e33 Use the correct doc link style 2013-03-01 12:02:03 +01:00
Pierre Dulac
9d5c306038 Improve the django-oauth2-provider import block
to avoid naming collision with `oauth2` used for OAuth 1
2013-03-01 11:53:30 +01:00
Pierre Dulac
aed3c13471 Merge branch 'master' into oauth2-authentication
Conflicts:
	rest_framework/tests/authentication.py
2013-03-01 11:50:11 +01:00
Pierre Dulac
d8f455bc0f Add OAuth2Authentication documentation 2013-03-01 02:09:52 +01:00
Pierre Dulac
da9d7fb8ec Add the OAuth2Authentication class 2013-03-01 02:08:58 +01:00
Pierre Dulac
592a0a5980 Add django-oauth2-provider to optionals.txt 2013-03-01 02:08:21 +01:00
Pierre Dulac
4e1f77db1a Add django-oauth2-provider to the installed apps 2013-03-01 02:07:53 +01:00
Pierre Dulac
468b5e43e2 Add tests for OAuth2 authentication 2013-03-01 02:06:20 +01:00
Tom Christie
282af6057f Release notes 2013-02-28 18:02:10 +00:00
Tom Christie
13b3af0d22 Auth is no longer lazy. Closes #667.
More consistent auth failure behavior.
2013-02-28 17:58:58 +00:00
Tom Christie
4e14b26fa9 Drop unused import 2013-02-28 13:42:08 +00:00
Tom Christie
183d3ec6a4 Move ModelSerializer field_mapping into an attribute for easier overriding. 2013-02-28 13:41:42 +00:00
Tom Christie
02ee6e5bf0 Fix out of date docstrings. Closes #689. 2013-02-27 22:15:28 +00:00
Tom Christie
27aa2d6aad Use plularized URLs for better consistency.
Closes #684.
2013-02-27 22:13:34 +00:00
Tom Christie
a2dafd9643 Merge pull request #692 from tomchristie/django1.5
Django 1.5
2013-02-27 13:15:47 -08:00
Tom Christie
a1dbd93f54 assertEquals -> assertEqual 2013-02-27 21:15:00 +00:00
Tom Christie
6e6f6f2c7d Update for Django 1.5 2013-02-27 21:14:40 +00:00
Tom Christie
35331f5820 More consistent examples 2013-02-26 19:54:04 +00:00
Tom Christie
e7ca326555 Tweaks 2013-02-26 19:51:09 +00:00
Tom Christie
19135061b6 Merge pull request #681 from dbrgn/format_suffixes_docs
Added function type detail to format suffix docs
2013-02-26 11:49:09 -08:00
Tom Christie
d59ed64915 Merge pull request #683 from dbrgn/serializer_exception_msg
Improved exception message for missing serializer model meta option
2013-02-26 11:46:07 -08:00
Stephan Groß
80b0234793 Add @waa for #687 thanks! 2013-02-26 14:50:10 +01:00
Stephan Groß
64a9486b93 Merge pull request #687 from wiliamsouza/master
Fix a  small typo in docs
2013-02-26 05:47:05 -08:00
Wiliam Souza
cd7f552540 Fixed a typo WritableField field name in docs 2013-02-26 10:43:33 -03:00
Danilo Bargen
bfdbc95f1a Added CBV example to format-suffixes docs 2013-02-26 10:30:42 +01:00
Danilo Bargen
e476dcb8c7 Changed AttributeError to AssertionError 2013-02-26 09:38:57 +01:00
Tom Christie
f00425c901 Merge pull request #680 from dbrgn/docs_userdetail
Renamed UserInstance to UserDetail in docs
2013-02-26 00:36:39 -08:00
Danilo Bargen
ec4d79bcaf Show class name in exception message 2013-02-25 23:02:42 +01:00
Danilo Bargen
3e6f99e273 Improved exception message for missing serializer model meta option 2013-02-25 22:34:05 +01:00
Danilo Bargen
70db398595 Renamed UserInstance to UserDetail in docs 2013-02-25 21:31:12 +01:00
Tom Christie
8da83f0df9 Added @thedrow for cleanups in #677. Thanks! 2013-02-25 15:15:33 +00:00
Tom Christie
7d4ee98691 Merge pull request #677 from thedrow/topic/tests_refactoring
Tests general cleanup
2013-02-25 07:13:41 -08:00
Omer Katz
c2c12858e5 Replaced status numbers with the statuses constants from the status model. 2013-02-25 16:59:40 +03:00
Omer Katz
62be5470b3 Fixed misspelled remark in comments. 2013-02-25 16:48:21 +03:00
Omer Katz
3221a088ab Fixed misspelled remark in comments. 2013-02-25 16:47:47 +03:00
Omer Katz
c05340c91b Fixed misspelled remarks in comments. 2013-02-25 16:47:07 +03:00
Omer Katz
cc13e95d5e Fixed misspelled remark in comments. 2013-02-25 16:44:44 +03:00
Tom Christie
b4b9d3b513 Added @ryanrdetzel for docs fix #674. Thanks! 2013-02-25 13:44:32 +00:00
Omer Katz
8d806d0cef Fixed misspelled remark in comments. 2013-02-25 16:44:19 +03:00
Tom Christie
42aaa9cc68 Merge pull request #674 from ryanrdetzel/master
Fix for example in authentication.html
2013-02-25 05:41:38 -08:00
Ryan Detzel
cd9a192027 method fix for custom authentication 2013-02-23 23:32:47 +01:00