django-rest-framework-docs icon indicating copy to clipboard operation
django-rest-framework-docs copied to clipboard

Support Django 2.0

Open jasperlittle opened this issue 7 years ago • 31 comments

This pull request aims to provide support for all supported versions of Django and Djano REST Framework.(affecting #175). The support now offered is summarised in the table below:

DRF 3.4 DRF 3.5 DRF 3.6 DRF 3.7
Django 1.10 x x x x
Django 1.11 x x x x
Django 2.0 python 3.4+

where 'x' indicates support for python 2.7, 3.4, 3.5 and 3.6.

Support has dropped for Django 1.8 and 1.9, as well as python 3.2 and 3.3. I believe this is for the best, as Django 1.9 and below are considered insecure, and python 3.2 and 3.3 are not supported from Django 1.9 onwards.

Compatibility between Django 1.x and 2.x is achieved by adding a compatibility layer, in a similar manner to that of Django REST Framework

Testing for the various supported configurations is done using tox.

jasperlittle avatar Feb 03 '18 04:02 jasperlittle

Oops, I wasn't familiar with the Travis CI process. Final 2 commits should have fixed that

jasperlittle avatar Feb 03 '18 05:02 jasperlittle

I tested it, works fine! Thank you for this contribution. Hope that it will be merged soon.

rfezzani avatar Mar 16 '18 09:03 rfezzani

Thank you, @jasperlittle!

psyonara avatar Mar 16 '18 09:03 psyonara

Thank you @jasperlittle!!!

yizhang7210 avatar Mar 16 '18 13:03 yizhang7210

Technically, Django 1.8 still has extended support, but this is only until 1 April. And besides we have a much newer LTS in Django 1.11, so dropping 1.8 is a good decision IMO.

psyonara avatar Mar 23 '18 05:03 psyonara

Is there any prevision for merge?

deadpyxel avatar Mar 27 '18 14:03 deadpyxel

Also watching this. Really hope this great lib can carry on!

whitedogg13 avatar Mar 28 '18 04:03 whitedogg13

Hope this get to be a part of a release.

niknokseyer avatar Apr 04 '18 03:04 niknokseyer

Thanks @jasperlittle

TheBlackDude avatar Apr 04 '18 13:04 TheBlackDude

Any ideas when this PR is going to be merged @manosim ???

TheBlackDude avatar Apr 04 '18 13:04 TheBlackDude

Hello there! Have given push access to @jasperlittle so he can merge and release 😄

manosim avatar Apr 04 '18 22:04 manosim

Have tested it and get some regex problems in the template so that the user is not able to test the api there:

screen shot 2018-04-16 at 20 36 26 screen shot 2018-04-16 at 20 36 31

cwirz avatar Apr 16 '18 18:04 cwirz

Does anyone have the status about this pull request? I see that some regex problems appeared, but is anyone working on a fix?

deadpyxel avatar May 07 '18 12:05 deadpyxel

Hi guys, I just created a new lib supporting Django 1.x and 2.x: django-rest-framework-redocs.

It's also a zero configuration automatic API doc page generator, please take a look and help me make it better!

whitedogg13 avatar May 31 '18 06:05 whitedogg13

Is this still a thing?

gracegrimwood avatar Jun 14 '18 04:06 gracegrimwood

I believe so, but I'm not sure if someone is working on a fix for the reg-ex problem. I am a newbie myself, so I'm not sure if I can really help.

deadpyxel avatar Jun 14 '18 19:06 deadpyxel

Will love to contribute @jasperlittle @manosim

Keep this alive. been using this for a long time!

iamhssingh avatar Jul 16 '18 15:07 iamhssingh

merge?

othreecodes avatar Jul 18 '18 20:07 othreecodes

Is there anything else that needs to be done for this to be merged?

kevincianfarini avatar Jul 24 '18 00:07 kevincianfarini

@jasperlittle @manosim Hi, friends, can you give the merge access to me? I don't why there still not merge the branch.

liaodalin19903 avatar Jul 24 '18 02:07 liaodalin19903

Waiting for this merge as well. I really need a working, interactive API that supports tokens, as browsable API does not.

ggjersund avatar Jul 30 '18 18:07 ggjersund

+1 on this 😬

novarac23 avatar Jul 31 '18 16:07 novarac23

@cwirz I just fixed it. filename: rest_framework_docs\api_endpoint.py line26: self.name_parent = simplify_regex(parent_regex).strip('/').replace('\','') if parent_regex else None line42: return "/{0}{1}".format(self.name_parent, simplify_regex(regex).replace('\','')) image image

mago960806 avatar Aug 01 '18 09:08 mago960806

Any ETA on merging and releasing this ?

live-wire avatar Aug 31 '18 03:08 live-wire

@jasperlittle @manosim updates?

othreecodes avatar Aug 31 '18 09:08 othreecodes

How I can use it? Should I install from source?

inoyatov avatar Nov 14 '18 06:11 inoyatov

:+1:

efazati avatar Nov 17 '18 07:11 efazati

👍

daspecster avatar Dec 07 '18 23:12 daspecster

@jasperlittle Can you push and merge? You have the access.

@manosim What about pypi? Can @jasperlittle also update on pypi?

iamhssingh avatar Dec 20 '18 03:12 iamhssingh

updates on this?

calina-c avatar Jul 04 '19 07:07 calina-c