summaryrefslogtreecommitdiff
path: root/nop
diff options
context:
space:
mode:
authorJohannes Raggam <raggam-nl@adm.at>2011-05-12 16:50:59 (GMT)
committerJohannes Raggam <raggam-nl@adm.at>2011-05-12 16:50:59 (GMT)
commitefb2a8356ed19b2367a96991eda965941df826f7 (patch)
treeec239b675afa76f2ac46971661248bc4c644f30e /nop
parent3a049a53ac4de64a87911e70f8467e72a4769373 (diff)
include nop_form stub
Diffstat (limited to 'nop')
-rw-r--r--nop/views.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/nop/views.py b/nop/views.py
index c485beb..b633422 100644
--- a/nop/views.py
+++ b/nop/views.py
@@ -1,3 +1,4 @@
+from django.views.generic import simple
from django.http import HttpResponse
from models import Master
import json
@@ -38,3 +39,9 @@ def get(request, year=None, month=None, day=None, hour=None, minute=None):
#return HttpResponse(response, mimetype='application/json')
return HttpResponse(response, mimetype='text/plain')
+
+def nop_form(request):
+ extra_context = {'year':None, 'month':None, 'day':None, 'hour':None, 'minute': None}
+ if 'year' in request.GET:
+ pass
+ return simple.direct_to_template(request, extra_context=extra_context, template='nop/nop_form.html')