Implemented dajax and moved models to media rather than static

This commit is contained in:
2013-08-17 21:12:21 +10:00
parent 88fe7b7e79
commit 59bab5fc10
106 changed files with 12547 additions and 12 deletions

8
three_d_viewer/ajax.py Normal file
View 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!'})