Skip to content

gajanan0707/Django_Rest_Api_Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django_Rest_Api_Example

Django_Rest_Api_Example

Building

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/
  
  

  
  

About

Django_Rest_Api_Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages