Fixes flags admin
This commit is contained in:
parent
87e6fa064a
commit
ffa1ca6783
2 changed files with 18 additions and 2 deletions
|
@ -151,7 +151,7 @@ class ProductFlagAdmin(
|
|||
return list(obj.enabling_products.all())
|
||||
|
||||
model = rego.ProductFlag
|
||||
fields = ("description", "enabling_products", "mandatory", "products",
|
||||
fields = ("description", "enabling_products", "condition", "products",
|
||||
"categories"),
|
||||
|
||||
list_display = ("description", "enablers", "effects")
|
||||
|
@ -164,7 +164,7 @@ class CategoryFlagAdmin(
|
|||
EffectsDisplayMixin):
|
||||
|
||||
model = rego.CategoryFlag
|
||||
fields = ("description", "enabling_category", "mandatory", "products",
|
||||
fields = ("description", "enabling_category", "condition", "products",
|
||||
"categories"),
|
||||
|
||||
list_display = ("description", "enabling_category", "effects")
|
||||
|
|
16
registrasion/migrations/0022_merge.py
Normal file
16
registrasion/migrations/0022_merge.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.2 on 2016-04-12 01:40
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('registrasion', '0021_auto_20160411_0748_squashed_0024_auto_20160411_2230'),
|
||||
('registrasion', '0021_auto_20160411_0820'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
]
|
Loading…
Reference in a new issue