Dariusz Czech
54d0901f38
Leave parameters with regex pattern as String
2017-03-21 15:15:20 +01:00
Dariusz Czech
9074e3e478
restored original formatting
2017-03-21 08:40:59 +01:00
Dariusz Czech
c7e2d1d976
Do not hint BigAutoField as integer (outside of range)
2017-03-20 22:21:07 +01:00
Tom Christie
928f7cb40f
Version 3.6.2
2017-03-10 13:00:08 +00:00
Tom Christie
7a8fb262f2
Fallback to more widely supported JS feature sets. ( #4961 )
2017-03-10 12:07:15 +00:00
Tom Christie
9ccdc4366f
Merge branch 'master' of github.com:tomchristie/django-rest-framework
2017-03-10 10:59:39 +00:00
Tom Christie
9baa1fde15
Add 'mark_safe' in template tags. Closes #4952 . Closes #4953 .
2017-03-10 10:59:31 +00:00
Michael Palmer
81887bdc4e
Add glyphicon fonts to static docs ( #4951 )
...
* Fixes #4950 .
2017-03-10 10:37:31 +00:00
Tom Christie
f51bb5ac8b
Drop unneeded comment
2017-03-10 09:10:29 +00:00
Chris Carty
bc2c76a000
fixed issue on schemas.py where if model._meta.get_field(variable) failed model_field was not set to None and would reult in an error
2017-03-09 21:11:52 -05:00
Tom Christie
544b4b9948
Ensure 'markdown' dependancy is optional. Refs #4941 . ( #4947 )
2017-03-09 16:50:00 +00:00
Tom Christie
52db57a6e7
Version 3.6 ( #4943 )
2017-03-09 14:49:51 +00:00
Xavier Ordoquy
537df7a6ad
Extract APISchemaView and APIRootView out of the DefaultRouter. ( #4707 )
2017-03-07 13:39:08 +00:00
Tibo Beijen
cf5d401a0e
Allow required false and default ( #4692 )
...
* Default value will now be used when serializing if key or attribute is missing.
2017-03-07 13:19:19 +00:00
Tom Christie
68d2020112
Live API documentation ( #4755 )
2017-03-03 15:24:37 +00:00
Tim Watts
8df340908b
Add failing tests and fix for dict that have a key items
#4931 ( #4932 )
2017-03-03 09:23:09 +00:00
tdruez
06a1e12fd8
Fixed Permissions.get_required_object_permissions for #4927
2017-02-28 17:51:32 +01:00
Ran Benita
7a408f6cd2
Guard against the possible misspelling readonly_fields
in model serializers
...
Fixes #4897 .
2017-02-22 13:27:23 +02:00
Lanrik
5986f95c8d
Rearrange code ( #4908 )
...
Minor refactor. Move assignment to after `None` check.
2017-02-20 09:48:19 +00:00
Pavlin Gergov
eacb93d453
Update _not_authenticated's docstring ( #4906 )
2017-02-20 09:33:54 +00:00
Isaac Stone
289e1e440e
Check for collection.Mapping instead of dict
...
issue #4901
2017-02-19 13:10:03 -08:00
Mariusz Felisiak
40e3462767
Reverted "Removed multi-table inheritance auto created PK from serialize" 1ecbeebbe5
.
2017-02-11 17:39:47 +01:00
Tom Christie
eb5774229f
Version 3.5.4 ( #4894 )
2017-02-10 11:15:39 +00:00
李扬
cbad236f6d
Add max_length and min_length arguments for ListField ( #4877 )
2017-02-06 09:36:03 +00:00
Xavier Ordoquy
f4707ad0e0
Merge pull request #4870 from felixxm/issue-dedent
...
Fixed `dedent` for tab indent.
2017-02-02 11:01:37 +01:00
Mohammad Ashraful Islam
2ec3db8177
fixed url checker ':' to 'http' ( #4678 )
2017-02-01 12:20:06 +00:00
Mariusz Felisiak
b99272c425
Fixed dedent
for tab indent.
2017-01-31 20:57:52 +01:00
Mariusz Felisiak
3001b56e06
Fixed Django 2.0 compatibility due to django.conf.urls.include
parameters change. ( #4866 )
2017-01-30 16:11:19 +00:00
Mariusz Felisiak
1c437a793c
Removed unnecessary importlib wrapper.
2017-01-29 20:38:39 +01:00
Mariusz Felisiak
1ecbeebbe5
Fixed #4574 -- Removed multi-table inheritance auto created PK from serialize. ( #4852 )
2017-01-26 14:18:43 +00:00
Ekwenugo Mirabel
217a81f19b
Use correct label for username field in login template ( #4841 )
2017-01-24 09:07:32 +00:00
Mariusz Felisiak
5c0f9f147c
Removed unnecessary utc wrapper. ( #4839 )
2017-01-23 16:22:32 +00:00
Luca
635dc03529
Parametrizable viewset custom views reverse name ( #4821 )
2017-01-19 15:20:34 +00:00
Asif Saifuddin Auvi
026a8d8707
make lint happy with isort --recursive
2017-01-18 22:15:44 +06:00
Asif Saifuddin Auvi
bc3849bd59
added utc compat to fields
2017-01-18 19:31:04 +06:00
Asif Saifuddin Auvi
5717e853db
fix import of utc
2017-01-18 19:28:57 +06:00
Asif Saifuddin Auvi
5436df54c6
added compat shim for utc/UTC
2017-01-18 19:06:41 +06:00
Artem Muterko
06a5bcc88e
Add mediatype tests ( #4813 )
2017-01-16 18:17:51 +00:00
Ryan P Kilby
50c2d71a80
tox/travis maintenance ( #4811 )
...
* Use py36 on travis
* Remove basepython from tox
* Use py27 on travis
* Use version ranges for dependencies
* Use tox-travis to sync python/env factors
* Add toxenv/django env vars to codecov build vars
* Use raw string to fix py36 invalid escape sequence
2017-01-16 13:51:07 +00:00
Artem Muterko
b6b2c4bb5b
Renderer tests ( #4791 )
2017-01-08 16:33:43 +00:00
Artem Muterko
4dd71d68d2
Remove extra parentheses ( #4789 )
2017-01-08 16:09:23 +00:00
Artem Muterko
773b68e188
Fix typos in Python files
2017-01-08 15:36:49 +02:00
Roman Vasilyev
64e801e479
get view for django 'virtual hosts' ( #4776 )
...
Brill, thanks! 👍
2017-01-06 22:46:36 +00:00
Artem Muterko
a5fcf10c0e
Raise RuntimeError when trying to encode coreapi objects ( #4790 )
2017-01-06 22:32:13 +00:00
Ryan P Kilby
11fd3bf108
Add disabling of declared fields on serializer subclasses ( #4764 )
...
* Add test for disabling declared fields on child
* Check that declared base field is not in attrs
* Update meta inheritance docs to include serializer
* Test that meta fields cannot be declared as None
* Add docs example for declarative field disabling
2017-01-03 21:14:19 +00:00
Nik Nyby
24e082b142
docs: typo fix: it's -> its
2016-12-22 12:44:43 -05:00
Matthew Medal
93fe531dea
Breadcrumb view name suffix fix ( #4750 )
...
* add failing testcase for breadcrumb suffixes missing when using ModelViewSets
* fix get_breadcrumbs to honor overridden get_view_name and keep viewset suffixes
* ensure suffixes are appended in breadcrumb util
2016-12-20 22:19:00 +00:00
Christian Hess
f38734ef98
Add new line correctly in docstring sections ( #4759 )
...
The order of the line break was wrong
2016-12-20 16:26:18 +00:00
Eduard Iskandarov
ebe174c0d7
add per-view custom exception handler support ( #4753 )
2016-12-15 12:36:40 +00:00
Tom Christie
24791cb353
Invalidate any existing prefetch cache on PUT requests. ( #4668 )
2016-11-11 09:44:35 +00:00