refactor the admin file

This commit is contained in:
Andreas Zweili 2017-11-18 09:22:17 +01:00
parent fb94b92edc
commit c4cc64eb23
1 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@ from django.contrib.auth.models import User
from .models import (Article, Order, Person, City, Picture, OrderOfGoods,
Category, Option, Settings)
class PersonInline(admin.StackedInline):
model = Person
can_delete = False