Jamie Matthews
|
c127e63c32
|
Raise exception when attempting to dynamically route to a method that is already routed to. Fixes #940
|
2013-06-26 23:00:42 +01:00 |
|
Tom Christie
|
8cc63b09f6
|
Add support for StreamingHttpResponse. Closes #939
|
2013-06-21 22:42:04 +01:00 |
|
Tom Christie
|
8b0d4115c6
|
Merge pull request #941 from FreakyDug/master
Fixed a couple of small problems I found when using the action decorator.
|
2013-06-21 14:23:40 -07:00 |
|
Tom Christie
|
209b65f426
|
Update assertion error to reference 'base_name' argument, not incorrect 'name' argument. Closes #933
|
2013-06-21 22:13:25 +01:00 |
|
Tom Christie
|
3d4bb4b553
|
Ensure action kwargs properly handdled. Refs #940.
|
2013-06-21 22:03:07 +01:00 |
|
Philip Douglas
|
fa9f5fb8dc
|
Allow uppercase methods in action decorator.
Previously, using uppercase for the method argument would silently fail
to route those methods.
|
2013-06-21 16:28:17 +01:00 |
|
Tom Christie
|
6d2ca75d8e
|
Don't raise AttributeError on views with no model or queryset, when using DjangoModelPermissions
|
2013-06-18 11:10:56 +01:00 |
|
Tom Christie
|
4ad1094968
|
HyperlinkedModelSerializer supports overriding of 'url' field. Closes #936
|
2013-06-17 15:09:36 +01:00 |
|
Tom Christie
|
52298480c2
|
Clean up
|
2013-06-14 15:39:56 +01:00 |
|
Tom Christie
|
df957c8625
|
Fix and tests for ScopedRateThrottle. Closes #935
|
2013-06-14 14:18:40 +01:00 |
|
Tom Christie
|
614d8fec3c
|
Merge pull request #929 from mhsparks/positive-integer-field
Added test for custom fields with min_value and max_value validators
|
2013-06-12 12:39:57 -07:00 |
|
Tom Christie
|
c4ab77b9e9
|
Merge pull request #926 from davesque/master
I was having problems with a custom field that used a min_value validator...
|
2013-06-12 12:38:35 -07:00 |
|
inglesp
|
b1847412b5
|
Typo
|
2013-06-12 20:00:33 +02:00 |
|
Mark Hughes
|
82c515c19c
|
Added test for custom fields with min_value and max_value validators
|
2013-06-12 17:36:16 +01:00 |
|
David Sanders
|
fcaca73709
|
Pep8 lint
|
2013-06-11 16:10:25 -06:00 |
|
David Sanders
|
656897c2da
|
Update ModelField to work with a broader range of fields
Add support for fields that use min and max value validators.
|
2013-06-11 16:09:32 -06:00 |
|
Ethan Fremen
|
d89aade343
|
Allow the default router to have a custom name.
Signed-off-by: Ethan Fremen <ethan@matterport.com>
|
2013-06-07 19:49:18 -07:00 |
|
Ethan Fremen
|
ae2887ffc4
|
Set the args and kwargs before initializing the request.
Allows get_parser_context to function correctly.
Signed-off-by: Ethan Fremen <ethan@matterport.com>
|
2013-06-07 19:25:39 -07:00 |
|
Tom Christie
|
db8d61196a
|
Merge pull request #915 from aburgel/fix-oauth-bad-consumer-key
Fix serialization exception caused by non-existent consumer
|
2013-06-06 00:58:54 -07:00 |
|
Tom Christie
|
40e09472d8
|
Never deepcopy validators. Closes #913
|
2013-06-06 08:56:39 +01:00 |
|
Alex Burgel
|
ecb8a460c9
|
Fix serialization exception when using non-existent consumer
|
2013-06-05 17:02:44 -04:00 |
|
Tom Christie
|
f8a0d31d71
|
Remove ConfigurationError in favor of Django's ImproperlyConfigured
|
2013-06-05 13:45:28 +01:00 |
|
Tom Christie
|
2ca243a114
|
Fix up tests and tox
|
2013-06-05 13:20:06 +01:00 |
|
Tom Christie
|
f1251e8c58
|
Added trailing_slash argument to routers. Closes #905
|
2013-06-04 20:59:12 +01:00 |
|
Tom Christie
|
c160e49321
|
Test cases and fix for plain-list relationships (ie not queryset) Closes #878.
|
2013-06-04 14:05:35 +01:00 |
|
Tom Christie
|
478f6ff94a
|
Regression test for #840. Closes #840.
|
2013-06-03 21:21:47 +01:00 |
|
Tom Christie
|
87b8cb8524
|
Merge pull request #904 from menghan/fix-doc-typo
fix doc typo
|
2013-06-03 08:04:32 -07:00 |
|
Tom Christie
|
28c2c46a03
|
Version 2.3.5
|
2013-06-03 12:34:18 +01:00 |
|
Tom Christie
|
6e0567c271
|
request.user should be still be accessible in renderer context if authentication fails
|
2013-06-03 12:32:57 +01:00 |
|
Tom Christie
|
62e59f8277
|
Merge pull request #900 from copitux/fix-validation-layer
Bugfix: Fix run validation layer with invalid data
|
2013-06-03 00:49:02 -07:00 |
|
Tom Christie
|
1bb5fb8e4a
|
Merge pull request #895 from linovia/django1.6a1
Added Django 1.6a1 to the test matrix.
|
2013-06-02 13:11:49 -07:00 |
|
Tom Christie
|
a3796f430b
|
Only use test import munging prior to Django 1.6's new test runner
|
2013-06-02 21:04:47 +01:00 |
|
Tom Christie
|
27d8b848bc
|
Add notes on 'method' argument to '@action' decorator
|
2013-06-02 20:40:56 +01:00 |
|
Tom Christie
|
b15a6ccef2
|
Serializer field 'default' argument may be a callable
|
2013-06-02 20:12:49 +01:00 |
|
Tom Christie
|
01e80ff9f7
|
Merge branch 'master' of https://github.com/woakas/django-rest-framework
|
2013-06-02 20:05:37 +01:00 |
|
Tom Christie
|
372ad01b74
|
Test cleanup
|
2013-06-02 19:56:15 +01:00 |
|
Tom Christie
|
8b73dce51d
|
view_name argument to HyperlinkedModelSerializer is now properly enforced. Closes #471
|
2013-06-02 19:50:24 +01:00 |
|
Menghan
|
b8aec1277c
|
fix doc typo
|
2013-06-02 12:12:14 +08:00 |
|
Tom Christie
|
d7753123f6
|
HyperlinkedModelSerializer lookup_field option should apply to HyperlinkedIdentityField
|
2013-05-31 11:50:37 +01:00 |
|
Tom Christie
|
c36ff4e052
|
Cleaning up imports and whitespace
|
2013-05-31 11:17:33 +01:00 |
|
Tom Christie
|
fdf9a26740
|
Remove unused test helper module
|
2013-05-31 11:14:37 +01:00 |
|
David Medina
|
c176af35e5
|
Improve avoid validation test: #900
|
2013-05-30 09:07:30 +02:00 |
|
Gustavo Andrés Angulo
|
de1cc5f8c1
|
Fix default field when is a simple callable function.
|
2013-05-29 11:45:54 -05:00 |
|
Tom Christie
|
c98ac3e83e
|
Added get_url hook to HyperlinkedIdentityField in line with HyperlinedRelatedField. Closes #883
|
2013-05-29 14:09:31 +01:00 |
|
David Medina
|
d11b55648c
|
Bugfix: Fix run validation layer with invalid data
|
2013-05-29 12:55:42 +02:00 |
|
Xavier Ordoquy
|
732269160f
|
Use absolute name imports for tests if django version is 1.6+.
|
2013-05-29 10:18:38 +02:00 |
|
Tom Christie
|
85fe7197bf
|
Change test urls to match 1.6 test module name style
|
2013-05-29 09:00:30 +01:00 |
|
Tom Christie
|
cb49c5d3c0
|
Rename test modules to 1.6 style
|
2013-05-29 08:57:11 +01:00 |
|
Stephan Groß
|
f6d7f54fc1
|
Merge pull request #897 from pborreli/typos
Fixed typos
|
2013-05-28 07:39:56 -07:00 |
|
Pascal Borreli
|
8f35ac4f93
|
Fixed typos
|
2013-05-28 15:09:23 +01:00 |
|