Commit 8b511eaf authored by Aymeric Barantal's avatar Aymeric Barantal
Browse files

feedback module

parent 19026697
from django.contrib import admin
from import Feedback
from django.db import models
from campaign.campaign.models import CampaignContact
from campaign.organization.models import FeedbackCategory
class Feedback(models.Model):
id = models.AutoField(primary_key=True)
callee = models.ForeignKey(CampaignContact)
category = models.ForeignKey(FeedbackCategory)
comment = models.CharField(max_length=512, blank=True)
def __unicode__(self):
return 'feedback for %s on %s' % (,
from django.test import TestCase
# Create your tests here.
from django.shortcuts import render
# Create your views here.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment