Skip to content

jknaresh/tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements
pip install djangorestframework
pip install pygments
pip install requests

manage.py syncdb

manage.py runserver

http://127.0.0.1:8000/

Using firebug

For post data to server

jQuery.post('/emp/',JSON.stringify({name:'n',role:'sse',exp:2}),function(){console.log(arguments)})

For get data from server

jQuery.get('/emp/',function(){console.log(arguments)})

For upload file

python employee/test.py [emp_id] [file path]
file will store @ tutorial/media/img/emp_thum/

Releases

No releases published

Packages

No packages published

Languages