Commit Graph

755 Commits

Author SHA1 Message Date
Mjumbe Poe
13966698ac Merge eb407374f0 into 0fc5a49a11 2012-09-07 12:13:45 -07:00
Tom Christie
0fc5a49a11 Add trailing slash to auth url. Refs: #248 2012-09-05 10:04:45 +01:00
Tom Christie
51f4317058 Drop link to Jenkins 2012-09-02 09:30:20 +02:00
Tom Christie
0f5dfb62b1 Fix broken link 2012-09-01 23:04:14 +01:00
Tom Christie
a0504391e2 Add tutorial link 2012-09-01 22:56:11 +01:00
Tom Christie
7fa082489b Release notes for 0.4.0 2012-08-29 21:39:12 +01:00
Tom Christie
a1f1afd778 Merge branch 'master' of https://github.com/tomchristie/django-rest-framework 2012-08-29 19:31:28 +01:00
Tom Christie
b93994c444 Version 0.4.0 2012-08-29 19:27:01 +01:00
Mjumbe Wawatu Poe
eb407374f0 Don't pass an instance in to delete_instance, as it should be inferred 2012-08-28 16:10:05 -04:00
Mjumbe Wawatu Poe
a07c615905 Add email kwarg to create_user for Django <1.4 compatibility (thanks @travisbot !) 2012-08-25 20:16:42 -04:00
Mjumbe Wawatu Poe
b685a22f2c Add tests for the new functionality.
- Cover the InstanceReaderMixin and InstanceWriterMixin classes
- New tests to make sure that UpdateModelMixin can write models with many-to-many data
2012-08-25 19:36:55 -04:00
Mjumbe Wawatu Poe
8f4590e834 - Move get_instance_data to the InstanceWriterMixin
- Add comments to the InstanceReaderMixin and InstanceWriterMixin classes
2012-08-25 19:35:21 -04:00
Mjumbe Wawatu Poe
2e7325910d Rename ExistingInstanceMixin to InstanceReaderMixin and EditInstanceMixin to InstanceWriterMixin. 2012-08-25 19:04:59 -04:00
Mjumbe Wawatu Poe
2c91357b53 Move instance creation logic into the EditInstanceMixin. 2012-08-25 18:58:45 -04:00
Tom Christie
8bc04317b0 Point build status at correct location 2012-08-26 00:43:35 +02:00
Tom Christie
96dd1b50e6 Add travis image 2012-08-26 00:40:36 +02:00
Tom Christie
ec86841807 Add build status 2012-08-25 23:33:17 +01:00
Tom Christie
7533c1027f Django 1.5 breaks test client form encoding 2012-08-25 23:26:23 +01:00
Tom Christie
70d9c747e7 Drop examples tests from travis to keep number of configurations sane 2012-08-25 22:24:24 +01:00
Tom Christie
03c6ccb45f Adding django 1.5 support mean dropping 1.2 support (no easy way to support url tag) and python 2.5 2012-08-25 22:09:47 +01:00
Tom Christie
1a2186cd6e Make template url tags 1.5 compatible 2012-08-25 22:00:21 +01:00
Tom Christie
9449dcdd06 Quote urls in templates 2012-08-25 20:37:20 +01:00
Tom Christie
9d5f37d9b6 Drop 2.5 testing from travis - not compatible with Django 1.5 2012-08-25 20:13:43 +01:00
Tom Christie
46ecf8d86f Travis CI 2012-08-25 20:07:53 +01:00
Tom Christie
00d3aa21ba Updated sandbox links 2012-08-25 19:53:10 +01:00
Tom Christie
7d70948f9b Merge branch 'master' of https://github.com/tomchristie/django-rest-framework 2012-08-25 19:19:07 +01:00
Mjumbe Wawatu Poe
3cef6bd02c PUT returns a 201 status when instance was created.
Note: This behavior is still idempotent, as the state of the system is the same after multiple PUT requests as it is after one.  However, it is helpful to know whether an instance was created or whether it already existed.
2012-08-25 10:54:21 -04:00
Mjumbe Wawatu Poe
912a897e2d Add a method to cache the model mixin.
- Specifically can cache the instance on a read, update, or delete operation.
- Also adds a get_instance_or_404 method
- Useful for retrieving the instance from a permission class without doing extra queries
2012-08-25 01:17:02 -04:00
Marko Tibold
239d8c6c4d Point Live examples to heroku. 2012-08-25 04:02:12 +03:00
Tom Christie
7557777c66 Merge branch 'master' of https://github.com/tomchristie/django-rest-framework 2012-08-24 16:06:23 +01:00
Tom Christie
db7d15d5d1 Merge pull request #181 from flashingpumpkin/master
Maintain a reference to the parent/root serializer
2012-08-23 04:15:41 -07:00
Tom Christie
acbc2d1768 Added @pilt - Thanks! 2012-08-21 17:39:40 +02:00
Tom Christie
ee77e871b2 Merge pull request #236 from Memoto/master
Allow views to specify what template to use
2012-08-21 08:38:49 -07:00
Tom Christie
e9f67d3afc Update AUTHORS
Added @max-arnold, @ralphje.
Thanks folks!
2012-08-21 10:40:43 +02:00
Tom Christie
8898111611 Merge pull request #224 from ralphje/master
Modify 415 error content
2012-08-21 01:38:21 -07:00
Tom Christie
21b5601d3b Merge pull request #229 from max-arnold/228-runtime-head
add View.head() method at runtime (issue #228)
2012-08-21 01:37:20 -07:00
Alen Mujezinovic
2f9775c12d Don't ever return the normal serializer again. 2012-08-13 15:58:23 +01:00
Simon Pantzare
abd3c7b46d Allow template to be set on views 2012-08-10 19:32:55 +02:00
Tom Christie
cb7a815560 Added @yetist 2012-07-28 21:50:58 +02:00
Tom Christie
6dff0480f9 Merge pull request #234 from yetist/master
support utf8 description
2012-07-28 12:49:55 -07:00
yetist
2deb31d096 support utf8 description 2012-07-27 11:39:24 +08:00
Max Arnold
650c04662d remove remaining head() method 2012-07-12 23:13:04 +07:00
Max Arnold
fe262ef353 patch View.head() only for django < 1.4 2012-07-12 23:12:09 +07:00
Max Arnold
36686cad13 add View.head() method at runtime (should fix AttributeError: object has no attribute 'get') 2012-07-12 22:40:24 +07:00
Tom Christie
b1fca03089 Merge pull request #227 from mammique/filter
add_query_param should preserve previous querystring
2012-07-12 08:16:19 -07:00
Camille Harang
b0004c4398 add_query_param should preserve previous querystring 2012-07-12 15:07:04 +02:00
Ralph Broenink
0e3a2e6fdd Modify mixins.py to make sure that the 415 (Unsupported Media Type) returns its error in the 'detail' key instead of in the 'error' key (for consistency with all other errors). 2012-07-06 15:43:02 +03:00
Tom Christie
1f9a8e10e5 Added Adam Ness. Thanks! 2012-07-03 12:44:13 +02:00
Tom Christie
17532310a2 Merge pull request #223 from greylurk/ie-headers
Implements Accept headers from IE in the case describe in Issue 215
2012-07-03 03:42:06 -07:00
Adam Ness
73be041c47 Patch to enable Accept headers in Internet Explorer when an Ajax Library on the client (i.e. jQuery) is sending an XMLHttpRequest 2012-07-02 20:39:56 -07:00