Commit Graph

23 Commits

Author SHA1 Message Date
Jamie Matthews
272c49685c Better naming for properties on views, requests and responses
renderers is now renderer_classes
parsers is now parser_classes
authentication is now authentication_classes
2012-09-11 14:20:35 +01:00
Mjumbe Wawatu Poe
f741cdae44 Move TokenAuthentication class into djangorestframework.authentication 2012-09-07 16:15:33 -04:00
Mjumbe Wawatu Poe
3b1404bd7d Rename the default token class to "BasicToken" 2012-09-07 14:23:53 -04:00
Mjumbe Wawatu Poe
7f98741939 Use "Token" as the scheme for token auth 2012-09-07 14:07:35 -04:00
Mjumbe Wawatu Poe
5a3874ee11 Create a key by default if none is specified 2012-09-07 13:15:24 -04:00
Mjumbe Wawatu Poe
f3e65eab6b Add a TokenAuthentication class in a sub-application 2012-09-07 12:53:39 -04:00
Tom Christie
a092a72844 View -> APIView 2012-09-03 16:54:17 +01:00
Tom Christie
87b363f7bc Remove PermissionsMixin 2012-08-24 20:57:10 +01:00
Sébastien Piquemal
afd490238a authentication refactor : request.user + tests pass 2012-02-23 22:47:45 +02:00
Sébastien Piquemal
5bb6301b7f Response as a subclass of HttpResponse - first draft, not quite there yet. 2012-02-02 18:19:44 +02:00
Tom Christie
8bb427537c Docstring tidy up 2012-01-23 09:06:30 +00:00
Tom Christie
a99a449c88 Add test for PUT with session auth+csrf 2012-01-21 17:47:33 +00:00
Tom Christie
07349597ab whitespace fixes 2011-12-29 13:31:12 +00:00
Tom Christie
370274f564 Allow views to return HttpResponses. Add initial() hook method 2011-05-24 10:27:24 +01:00
Tom Christie
d373b3a067 Decouple views and resources 2011-05-04 09:21:17 +01:00
Tom Christie
b18302586c Urg. Fix broken merging. 2011-04-27 18:36:43 +01:00
Tom Christie
da60f68f50 Merge previous checkins 2011-04-27 18:20:29 +01:00
Tom Christie
028851bfa1 Fix up tests and examples after refactoring 2011-04-27 18:07:28 +01:00
tom christie tom@tomchristie.com
3d15adaeb1 Fixes #35 - Import json from django's built-in package (Does cleverness in determing best lib to use) 2011-04-26 20:20:31 +01:00
Tom Christie
762a52edde Fix some compat issues with json/simplejson 2011-04-25 04:50:28 +01:00
Tom Christie
4692374e0d Generic permissions added, allowed_methods and anon_allowed_methods now defunct, dispatch now mirrors View.dispatch more nicely 2011-04-25 01:03:23 +01:00
Tom Christie
18bbda84b9 depercate auth and content arguments to the request handler methods - yea :) 2011-04-11 17:13:11 +01:00
tom christie tom@tomchristie.com
805aa03ec1 Yowzers. Final big bunch of refactoring for 0.1 release. Now support Django 1.3's views, admin style api is all polished off, loads of tests, new test project for running the test. All sorts of goodness. Getting ready to push this out now. 2011-02-19 10:26:27 +00:00