how to make django api steps

 steps to proceed in django

1) installation python,django,rest_framework

2) create model (which type of data you want with all feilds)

3) serialisers (to convert data to django understandable lanuage)

 a) used hyperlinkmodelserialisers4) 

4) views banaya  companyviewset , isme serialiser class banaya and querry set me all abject data 

5) then come to urls and do the mapping by help of router , register krna padta h router ko 

6) 


Comments

Popular posts from this blog

MQL5 : Add time to current time in mins

MQL5: Closed order detail