Commit Graph

72 Commits

Author SHA1 Message Date
Tom Christie
1608583eaa Basic support for format suffixes 2012-09-07 11:12:24 +01:00
Tom Christie
b79833ecdd Move generic views into seperate module 2012-09-06 15:58:44 +01:00
Tom Christie
1c78bf53db Refactoring some basics 2012-09-06 13:49:15 +01:00
Tom Christie
da4fa9bded Minor tweaks 2012-09-05 09:54:46 +01:00
Tom Christie
c28b719333 Refactored throttling 2012-09-04 21:58:35 +01:00
Tom Christie
8457c87196 Bits of cleanup 2012-09-04 12:02:05 +01:00
Tom Christie
6e21915934 First pass at mixins & generic views 2012-09-03 17:49:22 +01:00
Tom Christie
a092a72844 View -> APIView 2012-09-03 16:54:17 +01:00
Tom Christie
1a1ccf94c2 Fixes to APIView 2012-09-03 16:42:57 +01:00
Tom Christie
149b00a070 Added the api_view decorator 2012-09-03 15:57:43 +01:00
Tom Christie
deedf6957d REST framework 2 docs 2012-09-01 20:26:27 +01:00
Tom Christie
73cc77553e Drop ImmediateResponse 2012-08-26 23:06:52 +01:00
Tom Christie
474780f9d6 Remove 405 method not allowed ImmediateResponse 2012-08-26 22:13:26 +01:00
Tom Christie
1c28562397 Removing 403 immediate response 2012-08-25 13:43:28 +01:00
Tom Christie
26831df88e Add ParseError (Removing ImmediateResponse) 2012-08-25 13:27:55 +01:00
Tom Christie
aed26b218e Drop out resources & mixins 2012-08-24 22:11:00 +01:00
Tom Christie
87b363f7bc Remove PermissionsMixin 2012-08-24 20:57:10 +01:00
Tom Christie
4e4584a01a Remove RequestMixinx / ReponseMixin 2012-08-24 20:50:24 +01:00
Tom Christie
4739e1c012 Merge work from sebpiq 2012-04-11 17:38:47 +01:00
Tom Christie
1cde31c86d Massive merge 2012-02-25 18:45:17 +00:00
Sébastien Piquemal
afd490238a authentication refactor : request.user + tests pass 2012-02-23 22:47:45 +02:00
Tom Christie
af9e4f69d7 Merging master into develop 2012-02-21 20:12:14 +00:00
Tom Christie
21fcd3a906 Some cleanup 2012-02-20 09:36:03 +00:00
Sébastien Piquemal
db0b01037a made suggested fixes 2012-02-10 10:18:39 +02:00
Sébastien Piquemal
2cdff1b01e modified examples, somethin' still broken, can't find what 2012-02-07 16:52:15 +02:00
Sébastien Piquemal
21292d31e7 cleaned Request/Response/mixins to have similar interface 2012-02-07 15:38:54 +02:00
Sébastien Piquemal
ca96b4523b cleaned a bit Response/ResponseMixin code, added some documentation + renamed ErrorResponse to ImmediateResponse 2012-02-07 13:15:30 +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
Sébastien Piquemal
5f59d90645 merged with trunk's master 2012-02-02 08:39:15 +02:00
Tom Christie
22ee89f0f3 Tidy up auto-escaping. 2012-01-28 14:38:11 +00:00
Tom Christie
c1fe5da85f Refactoring get_name/get_description 2012-01-25 20:39:01 +00:00
Ben Timby
049d417ebc Reverted formatting 2012-01-24 14:11:10 -05:00
Ben Timby
7fa3a214fb Refactored get_name()/get_description() 2012-01-23 13:32:37 -05:00
Sébastien Piquemal
ab0b72a7c1 .DATA, .FILES, overloaded HTTP method, content type and content available directly on the request - see #128 2012-01-22 21:28:34 +02:00
Tom Christie
dea4a45ec7 pep8/pyflakes cleanup 2012-01-21 18:33:34 +00:00
Ben Timby
0a5ca000ed Docstring/whitespace fixes. 2012-01-18 22:59:30 -05:00
Tom Christie
42563d9fbc Remove explicit handling of 'OPTIONS' method, just raise the response, rather than returning it. 2012-01-11 14:48:22 +00:00
Tom Christie
4c438f9f4d Some minor tidy up 2012-01-11 14:42:16 +00:00
Benoit C
4ab67e789e Introduce a final methods in View class 2012-01-10 00:04:10 +01:00
Mjumbe Poe
7b6c56a73b Only set the script_prefix if the prefix isn't already a full URL. 2012-01-04 04:18:51 -05:00
Tom Christie
cb8931a014 Typo. 2011-12-12 15:33:45 +00:00
Tom Christie
42cdd00591 Merge meurig's absolute_url fix. 2011-12-09 12:54:11 +00:00
Meurig Freeman
e704705383 whitespace fix 2011-10-31 04:02:40 +00:00
Meurig Freeman
5541f0af44 make use of original prefix when generating absolute urls 2011-10-31 03:58:00 +00:00
Carles Barrobés
3b413dbb40 Added support for OPTIONS method, including a few unit tests 2011-07-30 22:23:53 +02:00
Tom Christie
746b817ad3 Whitespace tweaks 2011-07-22 04:03:04 -07:00
Tom Christie
524954b246 Whitespace tweak 2011-07-22 04:01:38 -07:00
Jens Alm
f73588eb42 parsers.DEFAULT_PARSERS added to be consistent with renderers.DEFAULT_RENDERERS 2011-07-02 19:03:26 +02:00
Fernando Zunino
3b81453fd1 Fix: Crash when yaml isn't installed. 2011-07-02 12:56:57 -03:00
markotibold
9be3d38aa0 Very basic YAML support. Probably needs some tweaking, and definitely needs tests. 2011-06-26 01:35:38 +02:00