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
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
Tom Christie
8e082770b0
Premium sponsor link
2016-05-28 10:55:38 +01:00
Tom Christie
9895de990d
Fix signup URLs
2016-05-28 10:23:59 +01:00
KhasanovBI
92bf8b9197
Wrap guardian.VERSION in tuple, in django-guardian 1.4.2 version has list type and comparison fails. ( #4149 )
2016-05-26 20:22:38 +01:00
Tom Christie
9d2f6fea11
Update README
2016-05-26 13:24:59 +01:00
Tom Christie
3a173547ad
Funding announcement ( #4147 )
2016-05-26 11:48:15 +01:00
Kennedy Mwenja
592eea9b9e
* Use get_serializer_class in ordering filter* Test improper configuration of ordering* Raise ImproperlyConfigured when missing get_serializer_class
...
* Use get_serializer_class in ordering filter
* Test improper configuration of ordering
* Raise ImproperlyConfigured when missing get_serializer_class
2016-05-26 09:59:13 +01:00
Xavier Ordoquy
2d20f09c0c
Merge pull request #4146 from xiaohanyu/bug-fix-unique-validator-error-with-related-field
...
Fix #3844 , refine validator for fields with <source=> kwargs
2016-05-26 07:56:03 +02:00
Xiao Hanyu
19bdfda49a
Fix #3844 , refine validator for fields with <source=> kwargs
...
When serializers has fields with something like `source=user.email`, the
uniqueness validator should check `email` field instead of `user`, cause
`user` is a model object.
2016-05-26 10:58:37 +08:00
Asif Saifuddin Auvi
35ace2e9ec
django 1.10 support initials ( #4144 )
...
* added django 1.10 alpha on tox
* added django 1.10 alpha on travis
* added allow_failure on travis matrix
2016-05-25 20:07:21 +01:00
Carlton Gibson
9d87dbc016
Remove Py2/Py3 difference from Example ( #4145 )
...
`print` is available as a function on every supported version of Python (2.7+)
2016-05-25 14:38:44 +01:00
Tom Christie
9b56dda918
Update requests.md
...
Drop out-of-date paragraph on `request.content`
2016-05-18 08:38:18 +01:00
Joe Simpson
5cf7d4a90d
Add LaTeX renderer to documentation ( #4131 )
2016-05-17 12:09:25 +01:00
José Padilla
b58e28b99c
Merge pull request #4130 from BenBrostoff/fix_doc_string_typos
...
Fix typos in ReturnDict and ReturnList docstrings
2016-05-16 23:18:52 -04:00
Ben Brostoff
400078311b
Fix typos in ReturnDict and ReturnList docstrings
2016-05-16 20:39:13 -04:00
José Padilla
d721021429
Update requirements ( #4125 )
2016-05-16 13:24:09 +01:00
KhasanovBI
768ae26aa4
Fix None values representation in childs of ListField, DictField. ( #4118 )
2016-05-16 09:30:23 +01:00
José Padilla
daccc2b8f3
Clean up js style and remove extra getCookie function ( #4123 )
2016-05-16 09:27:38 +01:00
José Padilla
5392be4ddb
Spring cleaning template styles ( #4124 )
2016-05-16 09:27:10 +01:00
Alexander Gaevsky
1328982de3
Set proper status code in AdminRenderer for the redirection after POST/DELETE requests. ( #4106 )
2016-05-16 09:22:28 +01:00
Petros Moisiadis
788603e153
Document allow_empty argument ( #4117 )
...
ListSerializer fields or serializers that are passed many=True may also take an allow_empty=False argument to disallow empty lists as valid input.
Information about this was part of the 3.2 release announcement, but had not been part of the API docs until now.
2016-05-13 15:55:31 +01:00
Tom Christie
ebb4070467
Resolve TimeField representation for midnight value. ( #4107 )
2016-05-10 11:56:36 +01:00