jpadilla / cookiecutter-django-rest-framework

A cookiecutter template for creating reusable Django REST Framework packages quickly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Specify supported DRF versions

maryokhin opened this issue · comments

If it's a cookiecutter template for a DRF package then it should probably guide anyone starting a new package as to what versions of DRF to support idiomatically + have those versions added to tox.

@maryokhin Right now I think this cookiecutter is generic enough that I think it doesn't require a specific version of DRF.

@tomchristie thoughts?

Not a specific version, but at least a common sense range, right now there's a bunch of packages around and all of them are semi-randomly supporting different "oldness" of DRF versions, which leads me to think that newborn packages will also have to guess around what versions they should support from the start.

Latest and latest minus one?
(Plus same for django)
Python 2.7 and latest two of the 3.x range?

I guess something like this, but without Python 3.2
https://github.com/ydaniv/django-rest-assured/blob/master/tox.ini

@maryokhin sounds good, will do this now

Added DRF 2.4.3, 2.4.4 and 3.0-beta to tox.ini and updated README.md accordingly.
Ref: 45ecd0b and ff01f79