Pierre Dulac
aed3c13471
Merge branch 'master' into oauth2-authentication
...
Conflicts:
rest_framework/tests/authentication.py
2013-03-01 11:50:11 +01:00
Craig de Stigter
84be169353
fix function names and dotted lookups for use in PrimaryKeyRelatedField.field_to_native (they work in RelatedField.field_to_native already)
2013-03-01 16:13:04 +13: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
swistakm
2eabc5c2b4
rfc5849 link with anchor
2013-02-27 11:02:50 +01:00
swistakm
55ea5b9460
import compat version of unittest
2013-02-27 10:58:13 +01:00
swistakm
dd355d511c
oauth2 & django-oauth-plus installed only on 2.x
2013-02-27 10:56:04 +01: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
Stephan Groß
36d5b24b76
Fix for python 3 support
2013-02-26 11:42:50 +01:00
Stephan Groß
956a65f5af
Fix for python 3 support - thanks @Linovia
2013-02-26 11:35:39 +01:00
swistakm
a4304458f5
runtest.settings fixed if django-oauth-plus or oauth2 are not installed
...
oauth_provider can be added to INSTALLED_APPS only if these packages are installed
2013-02-26 11:27:06 +01:00
swistakm
d84c2cf275
OAuth tests now are skipped unless django-oauth-plus and oauth2 are installed.
2013-02-26 11:25:27 +01:00
swistakm
59a6f5f463
Move oauth2 and django-oauth-plus imports to compat and fix some minor issues
...
- alias oauth2 as oauth
- remove rouge print
- remove docstring markups
- OAuthAuthentication.authenticate() now returns (user, token) two-tuple on success
- don't set request.user because it's already set
2013-02-26 11:22:21 +01:00
Stephan Groß
bfff356dd3
Add better date / datetime validation (pull 2)
...
addition to #631 with update to master + timefield support
2013-02-26 11:09:54 +01: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
swistakm
5d9ed34e41
add OAuthAuthentication documentation stub
2013-02-25 17:41:34 +01:00
swistakm
cfce4555d7
add django-oauth-plus & oauth2 to optionals.txt
2013-02-25 17:02:13 +01:00
swistakm
e2b11a29d1
add django-oauth-plus & oauth2 to .travis.yml
2013-02-25 17:00:09 +01:00
swistakm
1aed9c1604
add OAuthAuthentication class
2013-02-25 16:58:16 +01:00
swistakm
ced22db7cf
add django-oauth-plus & oauth2 to installed apps in runtests settings.py
2013-02-25 16:57:45 +01:00
swistakm
1062d71f8b
add tests for OAuth authentication
2013-02-25 16:56:14 +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