Django_Rest_Api_Example
It is best to use the python virtualenv
tool to build locally:
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ DEVELOPMENT=1 python manage.py runserver
## Api
```sh
Function api
http://127.0.0.1:8000/articlefun/
http://127.0.0.1:8000/detailfun/1/
ClassBase Api
http://127.0.0.1:8000/articleclass/
http://127.0.0.1:8000/detailclss/1/
GenricView Api
http://127.0.0.1:8000/generic/article/
http://127.0.0.1:8000/generic/article/1/
Viewset Api
http://127.0.0.1:8000/viewset/