Commit 9bc15758 authored by Aymeric Barantal's avatar Aymeric Barantal
Browse files

add CampaignContact as inline on Campaign admin view

parent fbff88c6
......@@ -2,7 +2,16 @@ from django.contrib import admin
from picampaign.campaign.models import (Campaign, Contact, CampaignContact,
class InlineContact(admin.TabularInline):
model = CampaignContact
class CampaignAdmin(admin.ModelAdmin):
inlines = [InlineContact], CampaignAdmin)
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