Tom Christie
474a23e254
Merge branch 'master' into schema-support
2016-06-14 11:22:30 +01:00
Tom Christie
1633a0a2b1
Add test confirming that required=False is valid on a relational field ( #4195 )
2016-06-13 16:52:45 +01:00
Tom Christie
2e7fae7698
limit=0 should revert to default limit ( #4194 )
2016-06-13 16:32:43 +01:00
Tom Christie
c3b7fba918
Exclude read_only=True fields from unique_together validation & add docs. ( #4192 )
...
* Exclude read_only=True fields from unique_together validation
* Test to ensure that unique_together validators can be removed
* Do not add uniquness_extra_kwargs when validators are explicitly declared.
* Add docs on validation in complex cases
2016-06-13 13:31:12 +01:00
Tom Christie
9bffd35432
Handle bytestrings in JSON. Closes #4185 . ( #4191 )
2016-06-13 10:41:50 +01:00
Tom Christie
b709dd484d
Docs tweak
2016-06-10 14:23:32 +01:00
Tom Christie
2ffa145f5d
Remove unused variable
2016-06-10 14:23:24 +01:00
Tom Christie
2e60f41b46
Spelling
2016-06-10 11:10:29 +01:00
Tom Christie
b7fcdd257e
Initial schema generation & first tutorial 7 draft
2016-06-10 11:09:16 +01:00
Tom Christie
6c60f58a56
Docs update
2016-06-09 21:51:22 +01:00
Tom Christie
eeffca40eb
Tutorial updates
2016-06-09 20:59:57 +01:00
Tom Christie
29e228d2dd
Fail gracefully if attempting to use schemas without coreapi being installed.
2016-06-09 14:07:17 +01:00
Tom Christie
47c776596c
Import coreapi from compat
2016-06-09 14:04:58 +01:00
Tom Christie
80c595edba
Add --diff to isort
2016-06-09 14:01:55 +01:00
Tom Christie
99adbf19d3
Catch SyntaxError when importing coreapi with python 3.2
2016-06-09 13:53:55 +01:00
Tom Christie
56ece731e2
Version bump for coreapi in requirements
2016-06-09 13:32:21 +01:00
Tom Christie
744dba44fa
Minor docs update
2016-06-09 12:29:11 +01:00
Tom Christie
2d28390386
Add missing newline
2016-06-09 12:28:58 +01:00
Tom Christie
c890ad4d67
Clean up test failures
2016-06-09 12:20:35 +01:00
Tom Christie
b64340ba63
Add coreapi to optional requirements.
2016-06-09 11:22:45 +01:00
Tom Christie
bb22ab8ee7
More robust form rendering in the browsable API ( #4181 )
2016-06-08 17:13:20 +01:00
Tom Christie
a5f822d067
Empty cases of .validated_data and .errors as lists not dicts for ListSerializer ( #4180 )
2016-06-08 15:55:09 +01:00
Tom Christie
bc836aac70
Initial pass at schema support
2016-06-08 14:24:02 +01:00
Asif Saifuddin Auvi
04e5b5b20a
removed AUTH_USER_MODEL compat property ( #4176 )
...
Removed unnecessary `AUTH_USER_MODEL` compat variable.
(No longer required)
2016-06-07 12:13:35 +01:00
Tom Christie
b1035b2a87
Minor docs tweaks. [ci skip] ( #4174 )
2016-06-06 12:03:37 +01:00
Tom Christie
2712d4e5fe
Note on obtain_auth_token and throttles/permissions. Closes #4128 . [ci skip] ( #4173 )
2016-06-06 11:03:56 +01:00
José Padilla
064e8e264b
Merge pull request #4171 from auvipy/up
...
upgraded django to 1.9.7 release
2016-06-05 08:33:28 -04:00
Asif Saifuddin Auvi
d54082c4a7
upgraded django to 1.9.7 release
2016-06-05 12:12:38 +06:00
Tom Christie
d404597e0b
Update FileUploadParser docs. Closes #4167 . [ci skip] ( #4169 )
2016-06-03 09:37:09 +01:00
Sergei Sinitsyn
94863ee6d0
Change serializer field help_text rendering in browsable api ( #3812 )
2016-06-02 15:21:57 +01:00
Tom Christie
75751cc64e
Allow relative style hyperlinked URLs
2016-06-02 15:03:17 +01:00
Tom Christie
9c996d7d2a
Clean up existing deprecation warnings. ( #4166 )
...
* Add Meta.fields = '__all__' to serializer classes where required.
* Add explicit on_delete=models.CASCADE to ForeignKey fields.
* Use '.remote_field' and '.model' in preference to '.rel' and '.to' when inspecting model fields.
* Use new value_from_object in preference to internal _get_val_from_obj
2016-06-02 14:39:10 +01:00
Tom Christie
53a356a380
Fix docs link [ci skip] ( #4165 )
2016-06-02 10:35:18 +01:00
Xavier Ordoquy
cd5772174e
Merge pull request #4162 from sohopro/patch-1
...
Update filtering.md
2016-06-02 09:19:48 +02:00
sohopro
20e3a9a006
Update filtering.md
2016-06-02 16:12:35 +09:00
Carlton Gibson
4ac8cdb95e
Updated Guardians and Filter Versions ( #4161 )
...
* updated guardians and filter versions
* Remove Django 1.10 from allow_failures
2016-06-01 22:49:50 +01:00
Tom Christie
05b0c2adff
Don't list M2M choices in OPTIONS requests. Refs #3751 . ( #4160 )
2016-06-01 17:28:32 +01:00
Simon Charette
014e24b024
Do not list related field choices in OPTIONS requests.
...
Do not list related field choices in OPTIONS requests.
2016-06-01 16:33:03 +01:00
Tom Christie
9d5773772b
Reformat travis.yml and turn off email notifications ( #4159 )
2016-06-01 15:53:58 +01:00
Asif Saifuddin Auvi
b92901e591
updated jquery version to 1.12.4 ( #4157 )
...
Updated jquery version to 1.12.4
2016-06-01 15:33:36 +01:00
Tom Christie
994e1ba927
Django 1.10 support. ( #4158 )
...
* Added TEMPLATES setting to tests
* Remove deprecated view-string in URL conf
* Replace 'urls = ...' in test classes with override_settings('ROOT_URLCONF=...')
* Refactor UsingURLPatterns to use override_settings(ROOT_URLCONF=...) style
* Get model managers and names in a version-compatible manner.
* Apply override_settings to a TestCase, not a mixin class
* Use '.callback' property instead of private attributes when inspecting urlpatterns
* Pass 'user' to template explicitly
* Correct sorting of import statements.
* Remove unused TEMPLATE_LOADERS setting, in favor of TEMPLATES.
* Remove code style issue
* BaseFilter test requires a concrete model
* Resolve tox.ini issues
* Resolve isort differences between local and tox environments
2016-06-01 15:31:00 +01:00
Tom Christie
fe2aede18d
More robust default behavior on OrderingFilter ( #4156 )
2016-06-01 11:08:04 +01:00
Asif Saifuddin Auvi
dc09eef24a
Style fix of tests ( #4154 )
...
Clean up code style.
2016-06-01 10:40:54 +01:00
Xavier Ordoquy
8e2787fd4b
Merge pull request #4153 from auvipy/des
...
description.py codes and tests removal
2016-06-01 10:32:20 +02:00
Asif Saifuddin Auvi
eef94856d8
deleted description.py as unneeded
2016-06-01 10:24:29 +06:00
Asif Saifuddin Auvi
4fabdee4a3
fix lint error
2016-06-01 02:04:38 +06:00
Asif Saifuddin Auvi
91bb17770e
removed description tests unicode related functions
2016-06-01 00:43:37 +06:00
Asif Saifuddin Auvi
3db45cb94d
removed description codes as it seems to be python 2.6 issue
2016-06-01 00:39:01 +06:00
José Padilla
0777cb7577
Merge pull request #4151 from adamchainz/readthedocs.io
...
Convert readthedocs link for their .org -> .io migration for hosted projects
2016-05-29 21:53:04 -04:00
Adam Chainz
e3337ab4aa
Convert readthedocs link for their .org -> .io migration for hosted projects
...
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/ ) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
2016-05-29 23:26:56 +01:00