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
Cristi Vîjdea
161a2e1b89
Ignore schizophrenic flake8 error
2018-11-29 02:24:03 +02:00
Cristi Vîjdea
a2bf515cc9
Revert "Fix lint errors"
...
This reverts commit 9f60dc191a .
2018-11-29 02:23:31 +02:00
Cristi Vîjdea
10a32f977c
Add 1.11.1 changelog
2018-11-29 02:18:58 +02:00
Cristi Vîjdea
6b5022cd7d
Use some more coreschema attributes in CoreAPICompatInspector
...
Closes #212 .
Closes #233 .
2018-11-29 02:12:32 +02:00
Cristi Vîjdea
708e70a526
Use collectionFormat=multi for MultiChoiceField in query and formData
...
Fixes #257 .
2018-11-29 01:38:40 +02:00
Cristi Vîjdea
9f60dc191a
Fix lint errors
2018-11-29 01:27:27 +02:00
Cristi Vîjdea
a2b35f3363
Update swagger-ui to 3.20.1 and ReDoc to 2.0.0-alpha.41
2018-11-29 01:22:49 +02:00
Cristi Vîjdea
754ec8a779
Enable minLength and maxLength for ListSerializer
2018-11-29 00:32:31 +02:00
Randall Wang
3cd93bd572
Fix typo ( #252 )
2018-11-16 13:53:19 +02:00
Cristi Vîjdea
c5f6a79cc8
Fix heroku build
2018-10-14 21:44:32 +03:00
Cristi Vîjdea
1ac85f6eba
Release version 1.11.0
2018-10-14 21:35:07 +03:00
Cristi Vîjdea
c2e4d7767b
Update reference schema
2018-10-14 21:25:24 +03:00
Cristi Vîjdea
baaa79a29d
Fix IE11 bugs
2018-10-14 21:25:17 +03:00
Cristi Vîjdea
8dfab883a5
Add 1.11.0 changelog
2018-10-14 20:43:26 +03:00
Cristi Vîjdea
dfe06b5c95
Copy window query params when fetching the openapi document
...
Closes #208 .
2018-10-14 20:40:34 +03:00
Cristi Vîjdea
18ff51a025
Improve handling of spec request url
2018-10-14 20:23:53 +03:00
Cristi Vîjdea
e1aedab73f
Support multiple auth schemes
2018-10-14 18:16:09 +03:00
Cristi Vîjdea
060fe1881a
Add auth hook settings and apiKey query support
2018-10-14 17:38:39 +03:00
Cristi Vîjdea
5d8c936956
Moar blocks
2018-10-14 05:23:45 +03:00
Cristi Vîjdea
25dea81bc6
Update swagger-ui to 3.19.3 and ReDoc to 2.0.0-alpha.40
2018-10-14 04:30:53 +03:00
Cristi Vîjdea
a419eec071
Add swagger-ui auth hooks
...
Save authorization to local storage, refetch spec on auth, etc.
2018-10-14 04:28:42 +03:00