Tom Christie
|
29136ef2c6
|
Enforce PUT-as-create permissions
|
2013-02-10 16:50:46 +00:00 |
|
Tom Christie
|
c18fb0d695
|
Added a post_save hook. Closes #558.
|
2013-02-06 21:28:03 +00:00 |
|
Tom Christie
|
55fd646631
|
Set many explicitly from mixins. Refs #564.
|
2013-02-06 13:04:11 +00:00 |
|
Tom Christie
|
d9c7b1c585
|
Merge branch 'p3k' of https://github.com/linovia/django-rest-framework into working
Conflicts:
rest_framework/authentication.py
rest_framework/relations.py
rest_framework/serializers.py
rest_framework/settings.py
rest_framework/tests/authentication.py
rest_framework/tests/genericrelations.py
rest_framework/tests/generics.py
rest_framework/tests/relations_hyperlink.py
rest_framework/tests/relations_nested.py
rest_framework/tests/relations_pk.py
rest_framework/tests/serializer.py
|
2013-02-01 11:58:55 +00:00 |
|
Xavier Ordoquy
|
737349d238
|
Merge remote-tracking branch 'reference/py3k' into p3k
|
2013-01-02 16:09:21 +01:00 |
|
Tom Christie
|
b807f3d52a
|
Keep API backwards compatible.
|
2013-01-02 13:39:24 +00:00 |
|
Andrew Hankinson
|
c6f212238c
|
Merge branch 'master' of git://github.com/tomchristie/django-rest-framework into patch-support
|
2012-12-30 14:03:08 -04:00 |
|
Tom Christie
|
598ae3286a
|
Fix #521. (Browseable API exception on delete)
|
2012-12-19 22:05:35 +00:00 |
|
Tom Christie
|
6693d2d277
|
Fix for pks returning as strings when set in pre_save. Fixes #482. Thanks to @n8agrin for the bug report.
|
2012-12-18 18:21:58 +00:00 |
|
Andrew Hankinson
|
18338a37d3
|
Adding PATCH support to Django REST Framework
|
2012-12-16 14:49:18 -05:00 |
|
Xavier Ordoquy
|
b3698acb6c
|
First passing test under p3k \o/
|
2012-11-22 00:20:49 +01:00 |
|
Tom Christie
|
e40000c834
|
Merge pull request #408 from markotibold/file_and_image_fields
Added a FileField and an ImageField
|
2012-11-16 14:48:42 -08:00 |
|
Tom Christie
|
31f01bd631
|
Polishing to page size query parameters & more docs
|
2012-11-16 22:45:57 +00:00 |
|
Tom Christie
|
9973cf329a
|
Merge pull request #412 from minddust/custom_page_size_per_request
support for custom page size per request
|
2012-11-16 13:45:27 -08:00 |
|
Tom Christie
|
8d3581f4bd
|
Minor tweaks to internals of generics and mixins
|
2012-11-16 21:27:34 +00:00 |
|
Marko Tibold
|
403886b79b
|
Merge commit '3b258d69c92e9d9293f7c5d1690f0ca434e677e3' into file_and_image_fields
|
2012-11-15 22:48:22 +01:00 |
|
Stephan Groß
|
3ae203a018
|
updated script to just use page_size_kwarg
|
2012-11-15 12:06:43 +01:00 |
|
Stephan Groß
|
38e94bb8b4
|
added global and per resource on/off switch + updated docs
|
2012-11-15 11:15:05 +01:00 |
|
Stephan Groß
|
023b065ddc
|
added support for passing page_size per request
|
2012-11-14 16:02:50 +01:00 |
|
Ludwig Kraatz
|
d9c62c20a7
|
once more polished
|
2012-11-14 13:24:20 +01:00 |
|
Ludwig Kraatz
|
8b999c6bb5
|
polishing code
and adding myself to auhtors file
|
2012-11-14 11:46:16 +01:00 |
|
Marko Tibold
|
5443dd5f3c
|
Added a FileField and an ImageField (copied from django.forms.fields).
Adjusted generics, mixins and serializers to take a `files` arg where applicable.
|
2012-11-13 23:26:17 +01:00 |
|
Ludwig Kraatz
|
3a30a9b1cb
|
removed useless line after polishing code
added it in first commit but after third it became useless.
|
2012-11-13 20:30:18 +01:00 |
|
Ludwig Kraatz
|
b341dc70af
|
fixed ugly code
Location header is set just, if there is a Location field on the
serializer.
|
2012-11-13 19:15:42 +01:00 |
|
Ludwig Kraatz
|
573de11b23
|
changed buggy response + code ploishing
reponse didnt handle any headers at all. Accepts now a dict of headers
and sets those properly
|
2012-11-13 18:07:38 +01:00 |
|
Ludwig Kraatz
|
cc55a7b643
|
Returning a Location Header on Create
when creating a Resource with HyperlinkedIdentityField of any name
|
2012-11-13 18:00:41 +01:00 |
|
Tom Christie
|
9fd061a0b6
|
Merge branch 'restframework2-filter' of git://github.com/onepercentclub/django-rest-framework into filtering
|
2012-11-07 20:13:27 +00:00 |
|
Tom Christie
|
cedb3860f4
|
Use saner get_serializer signature
|
2012-11-06 17:05:15 +00:00 |
|
Ben Konrath
|
09f39bd23b
|
Merge branch 'master' into restframework2-filter
|
2012-11-06 03:22:25 +01:00 |
|
Ben Konrath
|
9c82f9717e
|
Merge branch 'master' into restframework2-filter
|
2012-11-01 14:06:56 +01:00 |
|
Pavel Savchenko
|
9a0cc7c720
|
since MultipleObjectBaseView was renamed MultipleObjectAPIView, it stands to reason to complete the renaming in docs and comments as well.
|
2012-11-01 15:06:11 +02:00 |
|
Tom Christie
|
027c9079f6
|
PUT as create should return 201. Fixes #340.
|
2012-10-31 20:11:38 +00:00 |
|
Tom Christie
|
8c360770c1
|
Add pre_save hook in generic views
|
2012-10-25 12:15:31 +01:00 |
|
Ben Konrath
|
1e9ece0f93
|
First attempt at adding filter support.
The filter support uses django-filter to work its magic.
|
2012-10-11 12:01:07 +02:00 |
|
Tom Christie
|
f79ed6175d
|
Add RetrieveDestroyAPIView and remove Metadata mixin
|
2012-10-08 14:13:15 +01:00 |
|
Tom Christie
|
52ba2e3333
|
Fix #285
|
2012-10-08 12:52:56 +01:00 |
|
Tom Christie
|
2533c2452b
|
Support PUT for create
|
2012-10-05 16:24:52 +01:00 |
|
Tom Christie
|
7c303411a9
|
Add Serializer.save() to clean up differences between serializer.object being either a DeserializedObject or a model instance
|
2012-10-03 11:08:02 +01:00 |
|
Tom Christie
|
b89125ef53
|
Update view docs slightly
|
2012-10-02 21:26:15 +01:00 |
|
Tom Christie
|
6fa589fefd
|
Pagination support
|
2012-09-30 17:31:28 +01:00 |
|
Tom Christie
|
ee36e4ab0c
|
Only display forms when user has permissions. #159
|
2012-09-27 21:51:46 +01:00 |
|
Tom Christie
|
f4670c8996
|
Hack out bunch of unneccesary private methods on View class
|
2012-09-20 14:00:53 +01:00 |
|
Tom Christie
|
4b691c4027
|
Change package name: djangorestframework -> rest_framework
|
2012-09-20 13:06:27 +01:00 |
|