Implemented dajax and moved models to media rather than static
This commit is contained in:
parent
88fe7b7e79
commit
59bab5fc10
106 changed files with 12547 additions and 12 deletions
8
three_d_viewer/ajax.py
Normal file
8
three_d_viewer/ajax.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from django.utils import simplejson
|
||||
from dajaxice.decorators import dajaxice_register
|
||||
|
||||
@dajaxice_register
|
||||
|
||||
def dajaxice_example(request):
|
||||
return simplejson.dumps({'message':'Hello from Python!'})
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue