Steven Loria
cf925caa48
Render markdown readme on PyPI ( #6004 )
...
* Render markdown readme on PyPI
PyPI now supports GitHub-flavored Markdown descriptions
(https://blog.thea.codes/github-flavored-markdown-on-pypi/ ),
so there's no need to convert the README to rst with pypandoc
any more.
* Remove readme checking
Checking markdown descriptions is not necessary.
See https://github.com/pypa/readme_renderer#markdown
* Upgrade twine
2018-06-03 19:21:04 +01:00
Matt Layman
f67d23c441
Add docs link to Caching API Guide. ( #6012 )
2018-05-31 09:58:02 +02:00
Teppei Fukuda
fe54575e6a
Fix exceptions.md ( #6003 )
2018-05-25 10:42:22 +01:00
Xavier Ordoquy
a7cd1dbc43
Merge pull request #6001 from auvipy/master
...
updated tox and travis for django 2.1 alpha1
2018-05-23 21:10:27 +02:00
Asif Saifuddin Auvi
2634294667
updated tox and travis for django 2.1 alpha1
2018-05-23 16:33:15 +06:00
int3l
1ee3829a2f
Update the http signature auth library ref link ( #5997 )
...
* Update the http signature auth library ref link
It seems that the djangorestframework-httpsignature package is outdated
and there is updated fork named drf-httpsig.
* Fixing the link ref format in the http signature section
2018-05-22 12:22:09 +01:00
Tamirlan Omarov
edfcbe076d
Added pagination section to the quickstart page ( #5987 )
2018-05-21 13:32:07 +01:00
John Franey
f20e282d15
Update documenting-your-api.md ( #5991 )
...
Fix link to "Schemas as Documentation: Examples"
2018-05-17 00:36:41 -04:00
Eduardo GP
ff4429fad4
fix e.indexOf is not a function error ( #5982 )
2018-05-11 21:49:29 +01:00
Craig de Stigter
9629886915
Fixed AttributeError from items filter when value is None ( #5981 )
2018-05-11 08:50:08 +02:00
Daniel Hahler
c17b4ad0d0
Include coverage for tests ( #5970 )
...
It is useful to see if tests itself are covered after all - missing
coverage there typically indicates dead/missed code paths.
This also uses `source=.` and includes (with run and report), to help
Codecov with reporting.
Ref: https://github.com/encode/django-rest-framework/pull/5956
2018-05-08 14:02:45 +01:00
Daniel Hahler
275c157341
tests: remove some dead code, use assert 0
for never called methods ( #5973 )
...
* tests: remove some dead code, use `assert 0` for never called methods
* fixup! tests: remove some dead code, use `assert 0` for never called methods
2018-05-08 13:28:46 +01:00
Daniel Hahler
4527a753cd
Move pytest config to setup.cfg ( #5979 )
...
Also adds `testspath` to improve test collection performance.
2018-05-08 13:28:16 +01:00
Daniel Hahler
fca39f9dbb
tests: fix test_write_only_fields not being executed ( #5971 )
...
This adds the required `test_` prefix.
2018-05-08 09:27:35 +01:00
Daniel Hahler
4c29752b6a
requirements-testing: update pytest and pytest-django ( #5972 )
2018-05-08 09:27:25 +01:00
Tom Christie
da4ecfddc2
Update .gitignore
2018-05-08 09:21:32 +01:00
Tom Christie
6957aaae85
Delete config
2018-05-08 09:20:01 +01:00
Tom Christie
0218f20ac4
Delete .editorconfig
2018-05-08 09:19:31 +01:00
Ari Rouvinen
45acfe05b4
Add missing comma ( #5978 )
2018-05-08 09:15:59 +01:00
Daniel Hahler
40d5985f57
requirements-optionals: use psycopg2-binary ( #5969 )
...
Ref: https://github.com/encode/django-rest-framework/pull/5967#issuecomment-386431446
2018-05-08 09:15:32 +01:00
Andreas Lutro
a6b6b6ce55
remove references to DOAC in docs ( #5977 )
...
Project has been archived on github and recommends alternative.
2018-05-08 09:10:43 +01:00
Chris Shyi
fc2143207b
Update tutorial to Django 2.0 routing syntax ( #5963 ) ( #5964 )
...
Update tutorial to Django 2.0 routing syntax
2018-05-08 09:06:14 +01:00
Xavier Ordoquy
4340ff42de
Merge pull request #5976 from victormpa/fix_filter_docs
...
Added import statement on filtering docs
2018-05-07 05:40:59 +00:00
Victor Martins
21c0fcf63b
Added import statement on filtering docs
2018-05-06 00:02:09 -03:00
Daniel Hahler
fd4282c7fa
pytest: use --strict ( #5966 )
...
This causes errors with invalid markers:
> AttributeError: 'skipUnless' not a registered marker
Fixed in https://github.com/encode/django-rest-framework/pull/5965 .
2018-05-03 21:43:57 +01:00
Daniel Hahler
d4dc24ea3e
requirements-optionals.txt: bump psycopg2 to 2.7.4 ( #5967 )
...
With 2.7.3 I am seeing an ImportError on Arch Linux:
> ImportError: …/.venv/lib/python3.6/site-packages/psycopg2/.libs/libresolv-2-c4c53def.5.so:
> symbol __res_maybe_init version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
2018-05-03 13:32:39 +01:00
Daniel Hahler
e79610af3a
tests: fix skipping with TestPosgresFieldsMapping ( #5965 )
...
`pytest.mark.skipUnless` does not exist, it was confused with
`unittest.skipUnless` probably.
2018-05-03 13:31:46 +01:00
Çağıl
8c03c49400
update testing.md - fixes related to RequestsClient ( #5959 )
...
* Include import for RequestsClient in the docs.
* Use fully qualified URLs for `RequestsClient` in the docs.
2018-04-26 12:47:38 +01:00
Ryan O’Hara
a11938ce96
Fixed instance being overwritten in pk-only optimization try/except block ( #5747 )
2018-04-24 16:15:38 +02:00
Noam
7268643b25
min_value/max_value support in DurationField ( #5643 )
...
* Added min_value/max_value field arguments to DurationField.
* Made field mapping use mix/max kwargs for DurationField validators.
2018-04-24 09:24:05 +02:00
Sascha P
7d64b7016d
Removed input value from deault_error_message ( #5881 )
2018-04-20 16:00:27 +02:00
Jimmy Merrild Krag
4260531b6c
Render descriptions (from help_text) using safe ( #5869 )
...
To allow embedded HTML, and make consistent with other usages.
Fixes #5715 .
2018-04-20 15:51:27 +02:00
Jimmy Merrild Krag
5ee0e5df83
Correct schema parsing for JSONField ( #5878 )
...
Fixes #5873 .
* Use Object type.
* Add test for field_to_schema
2018-04-20 15:47:20 +02:00
Mikkel Munch Mortensen
9dbb49ef22
Docs: Match original argument names ( #5889 )
...
Change argument names in overridden field methods to match those of the base classes.
2018-04-20 15:35:09 +02:00
Jochen Wersdörfer
c4676510fd
Adjusted client JWT example ( #5944 )
2018-04-20 15:33:59 +02:00
Craig Anderson
2ebd479759
Allow hashing of ErrorDetail to fix #5919 ( #5932 )
2018-04-20 15:32:37 +02:00
Christian Kreuzberger
f148e4e259
Ensure that html forms (multipart form data) respect optional fields ( #5927 )
2018-04-20 15:11:52 +02:00
Tom Christie
7e705246ca
Ensure docs sidebar can scroll to bottom. ( #5949 )
...
Closes #5948
2018-04-20 12:11:48 +01:00
Michael
e4b63f70d6
[docs] Remove leftover from former python 3.2/3.3 support ( #5947 )
2018-04-20 09:22:36 +02:00
Jon Dufresne
8c47a875ec
Update all pypi.python.org URLs to pypi.org ( #5942 )
...
For details on the new PyPI, see the blog post:
https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
2018-04-19 08:36:18 +02:00
Tom Christie
f3d41625f5
Add Cadre as a premium sponsor ( #5941 )
2018-04-18 10:33:02 +01:00
Arne Schauf
d5fe1f66ac
Fix a typo in the 3.8 announcement ( #5940 )
2018-04-18 06:36:03 +01:00
Ryan P Kilby
7078afa42c
Change ISO 8601 date format to exclude year/month ( #5936 )
2018-04-14 05:23:31 +01:00
David Jean Louis
1c53fd3212
Added djangorestframework-datatables to third-party packages ( #5931 )
2018-04-10 13:25:20 +01:00
Xavier Ordoquy
4b47721c6d
Merge pull request #5930 from minitux/patch-1
...
[DOCS] python print syntax docs/api-guide/settings.md
2018-04-10 08:39:44 +00:00
minitux
3dd90d2b46
[DOCS] python print syntax
...
python3 style
2018-04-09 23:31:58 +02:00
Steven Loria
8a639c6c06
Update link to django-rest-marshmallow docs ( #5925 )
2018-04-09 16:48:18 +02:00
Anna Ossowski
0178d3063d
Added 3.8 release + updated monthly report link
2018-04-08 21:47:50 +02:00
Carlton Gibson
fb802c0910
Update version and notes for 3.8.2 release. ( #5923 )
2018-04-06 15:41:11 +02:00
Carlton Gibson
42eb5a4342
Fix read_only + default unique_together validation. ( #5922 )
...
* Add test for read_only + default unique_together validation.
* Fix read_only + default validation
2018-04-06 15:20:54 +02:00