From efb2a8356ed19b2367a96991eda965941df826f7 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Thu, 12 May 2011 18:50:59 +0200 Subject: include nop_form stub 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') -- cgit v0.10.2