Jacob Magnusson
|
d67ee708e5
|
Add support for min_length / max_length keywords
on basic ModelFields
|
2012-11-18 18:14:21 +01:00 |
|
Tom Christie
|
e801e21210
|
Merge pull request #422 from markotibold/max_length_for_modelserializers
Max length for modelserializers
|
2012-11-16 14:54:16 -08: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 |
|
Marko Tibold
|
1a436dd6d9
|
Added URLField and SlugField.
Fixed test_modelserializer_max_length_exceeded
|
2012-11-16 22:43:16 +01:00 |
|
Marko Tibold
|
4edc801d59
|
Reproduces #421
|
2012-11-16 21:42:04 +01:00 |
|
Marko Tibold
|
403886b79b
|
Merge commit '3b258d69c92e9d9293f7c5d1690f0ca434e677e3' into file_and_image_fields
|
2012-11-15 22:48:22 +01:00 |
|
Stephan Groß
|
a701a21587
|
added page_size_kwarg tests
|
2012-11-15 14:35:34 +01:00 |
|
Marko Tibold
|
69a01d7125
|
Added a test for the FileField.
|
2012-11-14 23:04:46 +01:00 |
|
Ludwig Kraatz
|
8b999c6bb5
|
polishing code
and adding myself to auhtors file
|
2012-11-14 11:46:16 +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
|
851dff1644
|
fixed a bug on testing throttling headers
after changing the headers storing of reponse
|
2012-11-13 18:39:07 +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
|
21468a1867
|
Fix broken depth argument
|
2012-11-13 11:47:32 +00:00 |
|
Marko Tibold
|
2a2ce406bc
|
Fixes #380
|
2012-11-10 12:23:19 +01:00 |
|
Marko Tibold
|
df689a7442
|
Reproduces #380
|
2012-11-10 12:00:20 +01:00 |
|
Tom Christie
|
e224061189
|
Support for read_only_fields on ModelSerializer classes
|
2012-11-09 17:01:20 +00:00 |
|
Tom Christie
|
c7df9694b5
|
Merge pull request #383 from tomchristie/filtering
Support for filtering backends
|
2012-11-09 05:07:34 -08:00 |
|
Tom Christie
|
bc6f2a1703
|
Make default FILTER_BACKEND = None
|
2012-11-08 21:46:53 +00:00 |
|
Tomi Pajunen
|
743224d000
|
Fixed creation of objects with reversed M2M relations
|
2012-11-08 16:31:16 +02:00 |
|
Tom Christie
|
47b534a13e
|
Make filtering optional, and pluggable.
|
2012-11-07 21:07:24 +00: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
|
b19c58ae17
|
Support for HTML error templates. Fixes #319.
|
2012-11-06 10:44:19 +00:00 |
|
Ben Konrath
|
09f39bd23b
|
Merge branch 'master' into restframework2-filter
|
2012-11-06 03:22:25 +01:00 |
|
Tom Christie
|
455a8cedcf
|
Tweaks
|
2012-11-05 17:03:22 +00:00 |
|
Tom Christie
|
9731b95fc3
|
Merge pull request #347 from minddust/master
support for passing custom slug options to HyperlinkedRelatedField
|
2012-11-05 08:36:59 -08:00 |
|
Stephan Groß
|
0a660a531a
|
fixed typo
|
2012-11-05 16:43:03 +01:00 |
|
Stephan Groß
|
03095f607a
|
added testcase for custom slug field in hyperlinkedrelatedfield
|
2012-11-05 16:37:37 +01:00 |
|
Tom Christie
|
33be4b43b9
|
queryset argument is now optional on writable model fields.
|
2012-11-05 12:51:04 +00:00 |
|
Tom Christie
|
b7b942c599
|
Swap position of instance and data keyword arguments.
|
2012-11-05 10:53:20 +00:00 |
|
Jacob Magnusson
|
7df7dadccd
|
Remove `request' from response instance while
testing caching
|
2012-11-04 13:42:29 +01:00 |
|
Jacob Magnusson
|
44f280c3ab
|
Add tests for caching of GET/HEAD requests using
Django's built in caching framework.
Currently fails as some attributes on the Response
object are not pickable
|
2012-11-04 12:47:46 +01:00 |
|
Jacob Magnusson
|
38af6107b5
|
Added test for ModelSerializer Meta fields
returning as expected
|
2012-11-03 00:32:08 +01:00 |
|
Jacob Magnusson
|
1b49615c00
|
Added test that makes sure that fields with
dictionaries as data are returned as expected and
not turned into string representations
|
2012-11-03 00:32:02 +01:00 |
|
Jacob Magnusson
|
19a218f859
|
Bye bye star import
|
2012-11-03 00:27:56 +01:00 |
|
Tom Christie
|
8ec54e6a9f
|
Tweaks
|
2012-11-02 20:56:51 +00:00 |
|
Tom Christie
|
6eaec7a0ec
|
foreign key tests
|
2012-11-02 20:53:33 +00:00 |
|
Tom Christie
|
e84ce60a0d
|
Initial PK relationship tests
|
2012-11-02 19:11:40 +00:00 |
|
Ben Konrath
|
9c82f9717e
|
Merge branch 'master' into restframework2-filter
|
2012-11-01 14:06:56 +01:00 |
|
Tom Christie
|
027c9079f6
|
PUT as create should return 201. Fixes #340.
|
2012-10-31 20:11:38 +00:00 |
|
Tom Christie
|
0047a46020
|
Merge fixes for 'blank=True' fields. Fixes #324, Fixes #325
Thanks to @Roarster.
|
2012-10-30 11:03:03 +00:00 |
|
Tom Christie
|
5670cb03bf
|
Allow use of absolute URLs when deserializing hyperlinked fields
|
2012-10-30 10:49:01 +00:00 |
|
Tom Christie
|
1b6fe9abb4
|
Hyperlinked serializer tests
|
2012-10-30 10:35:30 +00:00 |
|
Marko Tibold
|
6ccbdd10ad
|
Adding failing tests that show null=True model fields are won't validate if their value is omitted.
|
2012-10-30 00:03:24 +01:00 |
|
Tom Christie
|
b6c90c0d68
|
Fix slug based put as create test
|
2012-10-29 17:20:06 +00:00 |
|
Tom Christie
|
343da8e3cf
|
PUT as create should return 200
|
2012-10-29 16:13:08 +00:00 |
|
Tom Christie
|
6b6f0e682b
|
Merge pull request #331 from markotibold/test_put_as_create
Test put as create
|
2012-10-29 09:11:32 -07:00 |
|
Tom Christie
|
6e4ab09aae
|
readonly -> read_only
|
2012-10-28 20:21:45 +00:00 |
|
Marko Tibold
|
1a16289ede
|
Get the correct instance
|
2012-10-28 20:56:48 +01:00 |
|