feedback/views.py
changeset 62 b7e47cc39342
parent 56 3858a9d0f376
child 94 5de0009c0d71
equal deleted inserted replaced
61:4a23f99f26f9 62:b7e47cc39342
     1 from django.shortcuts import render_to_response, redirect
     1 from django.shortcuts import render_to_response, redirect
     2 
     2 
     3 from workshop.reg.models import Event
     3 from ws_app.reg.models import Event
     4 
     4 
     5 from workshop.feedback.models import Feedback, FeedLog
     5 from ws_app.feedback.models import Feedback, FeedLog
     6 from workshop.feedback.forms import FeedbackForm
     6 from ws_app.feedback.forms import FeedbackForm
     7 from workshop.feedback.utils import make_day_report
     7 from ws_app.feedback.utils import make_day_report
     8 
     8 
     9 from django.http import HttpResponse
     9 from django.http import HttpResponse
    10 
    10 
    11 def submit_feedback(request, event_key):
    11 def submit_feedback(request, event_key):
    12     """ see if the ip address has already submitted a feedback.
    12     """ see if the ip address has already submitted a feedback.