Cristi Vîjdea
bebcc982e6
Call APIView get_ methods instead of direct attribute access
...
queryset -> get_queryset
renderer_classes -> get_renderers
parser_classes -> get_parsers
2018-12-23 18:19:45 +02:00
Cristi Vîjdea
04d61b9d97
Log errors details of SwaggerValidationError
2018-12-23 15:33:55 +02:00
Cristi Vîjdea
b15535995f
Add assertion against TYPE_ARRAY with no items
2018-12-23 15:32:06 +02:00
Cristi Vîjdea
dd5965fa92
Fix tuple types in sphinx docstrings
2018-12-21 18:18:58 +02:00
Cristi Vîjdea
bfd13668cc
Fix deprecation warnings
2018-12-21 16:07:48 +02:00
Cristi Vîjdea
01391ca9eb
Remove comment links to Django 1.11 docs
2018-12-21 15:55:23 +02:00
Cristi Vîjdea
86ac276449
Fix some version constraints
2018-12-21 15:55:03 +02:00
Cristi Vîjdea
66026d3483
Fix lint errors
2018-12-21 15:07:38 +02:00
Cristi Vîjdea
db61c39ab1
Fix union types in sphinx docstrings
2018-12-21 15:04:25 +02:00
Cristi Vîjdea
f77672875d
Add /admin/ and /o/ urls to test urlconfs
2018-12-21 12:58:41 +02:00
Cristi Vîjdea
8057ce7a4a
Detect missing setuptools-scm in setup.py
2018-12-21 12:44:27 +02:00
Cristi Vîjdea
3b31c54b9e
Add get_security_definitions and get_security_requirements hooks
2018-12-21 12:40:45 +02:00
Cristi Vîjdea
de950461c7
Fix absolute urls for swagger-ui oauth settings
2018-12-21 12:40:31 +02:00
Cristi Vîjdea
9d933a9745
Really fix django-oauth-toolkit version
...
This is the simplest way to keep all test configurations happy...
ref 85db6c9d79
2018-12-21 02:13:59 +02:00
Cristi Vîjdea
a9ec14620c
Fix security definitions ordering consistency
2018-12-21 02:04:15 +02:00
Cristi Vîjdea
5418415300
Remove bad NoneType usage
2018-12-21 01:39:29 +02:00
Cristi Vîjdea
494d422bf4
Update swagger-ui to 3.20.3
2018-12-21 01:36:37 +02:00
Cristi Vîjdea
85db6c9d79
Fix django-oauth-toolkit python version dependency
...
django-oauth-toolkit 1.1 is the last version to support Python 2.7/Django 1.11
Source: https://github.com/jazzband/django-oauth-toolkit/issues/579
2018-12-21 01:31:05 +02:00
Cristi Vîjdea
b385228f7d
Add mock OAuth2 provider to testproj
2018-12-21 01:07:11 +02:00
Cristi Vîjdea
bbed2acf06
Handle lazy() proxies in user-supplied objects
2018-12-21 01:07:10 +02:00
Cristi Vîjdea
0c38c30020
Fix extra quotes in docs
2018-12-21 01:07:10 +02:00
Cristi Vîjdea
a7d3066677
Create testproj default user in data migration
2018-12-21 01:07:10 +02:00
Cristi Vîjdea
e98876bb38
Fix import errors in quickstart
...
Fixes #277 .
Closes #278 .
Fixes #279 .
2018-12-19 23:51:53 +02:00
Cristi Vîjdea
8974aa5734
Merge pull request #276 from axnsan12/pyproject-pep518
...
Add pyproject.toml (implement PEP517 and PEP518)
2018-12-19 23:49:55 +02:00
Cristi Vîjdea
5652d2a04d
Manually install setuptools-scm for Travis deploy
...
This only works because we still mostly use default build configuration of setuptools and wheel, so we don't really depend on PEP517 builds, only PEP518 build requirements.
2018-12-19 22:19:24 +02:00
Cristi Vîjdea
cf4106f8f7
Use twine check instead of setup.py check
2018-12-19 21:46:49 +02:00
Cristi Vîjdea
a24070446a
Also update setuptools with pip
2018-12-19 21:46:49 +02:00
Cristi Vîjdea
1fc454fcfa
Enable isolated_build for tox
...
This enables tox support for PEP517 and PEP518.
2018-12-19 21:46:48 +02:00
Cristi Vîjdea
789f118532
Update Heroku runtime to Python 3.7.1
2018-12-19 20:30:02 +02:00
Cristi Vîjdea
1946a1204d
Remove requirements/setup.txt and setup_requires
2018-12-19 20:29:42 +02:00
Cristi Vîjdea
930f3825d7
Improve installation walkthroughs
2018-12-19 20:22:06 +02:00
Cristi Vîjdea
dfd2bcabf2
Add build-system requirements to pyproject.toml
...
PEP518 added an alternative way to specify setup_requires before executing the setup.py script.
2018-12-19 20:22:06 +02:00
Cristi Vîjdea
4e4cd75fc4
Remove redundant getattr
2018-12-19 20:22:05 +02:00
Cristi Vîjdea
7548a42a9b
Add empty pyproject.toml
...
Apparently this fixes `pip install -e .`?!?
https://stackoverflow.com/a/53698424/3194671
2018-12-19 20:22:05 +02:00
Cristi Vîjdea
e182ab65ea
Add x-nullable to paginator response fields
...
Closes #263 .
2018-12-19 20:22:05 +02:00
Cristi Vîjdea
f8e9fd6327
Prefix localStorage keys with current pathname
...
This avoids collisions between multiple instance of drf-yasg on the same domain.
Fixes #269 .
2018-12-19 19:15:38 +02:00
unloder
f66c8e83e6
Use list instead of tuple for argparse options ( #275 )
...
Aparently pycharm has a problem with tuples?
2018-12-19 18:57:49 +02:00
Cristi Vîjdea
c5d4e6ca53
Do not generate form parameters for read_only serializer fields
...
Fixes #261 .
2018-12-19 03:22:43 +02:00
Cristi Vîjdea
eeb1bba9e7
Refactor summary and description processing
...
Merge get_summary and get_description into get_summary_and_description.
2018-12-19 03:05:32 +02:00
Cristi Vîjdea
852742baa9
Remove bad test case
2018-12-12 16:43:19 +02:00
Cristi Vîjdea
5b07b9dd40
Ignore exit status of coverage combine
2018-12-12 15:01:58 +02:00
Cristi Vîjdea
306e53461d
Fix lint errors
2018-12-12 15:01:58 +02:00
Cristi Vîjdea
1d9387d8e5
Fix test name description
2018-12-12 12:46:04 +02:00
Cristi Vîjdea
1f95f4098b
Don't allow form parameters with non-form consumes
...
Closes #270 .
2018-12-12 12:43:33 +02:00
Cristi Vîjdea
acfb0c5442
Remove default xdist argument to pytest
2018-12-12 12:21:16 +02:00
Cristi Vîjdea
543a1ade5e
Test with Django REST Framework 3.9
2018-12-11 23:25:16 +02:00
Vitali Fokin
f415a96aa6
Tags override support ( #259 )
2018-12-11 20:13:37 +02:00
Alexander Egorov
c52daaea8c
Fix incorrect return from _UIRenderer.render ( #268 )
2018-12-11 20:12:38 +02:00
Alexander Egorov
f6544654ab
Add enum type inference based on choices values ( #264 )
2018-12-07 14:11:13 +02:00
Cristi Vîjdea
f587785eb4
Update Heroku python version
2018-11-29 02:39:32 +02:00