refactor the admin file
This commit is contained in:
parent
fb94b92edc
commit
c4cc64eb23
|
@ -6,6 +6,7 @@ from django.contrib.auth.models import User
|
||||||
from .models import (Article, Order, Person, City, Picture, OrderOfGoods,
|
from .models import (Article, Order, Person, City, Picture, OrderOfGoods,
|
||||||
Category, Option, Settings)
|
Category, Option, Settings)
|
||||||
|
|
||||||
|
|
||||||
class PersonInline(admin.StackedInline):
|
class PersonInline(admin.StackedInline):
|
||||||
model = Person
|
model = Person
|
||||||
can_delete = False
|
can_delete = False
|
||||||
|
|
Loading…
Reference in New Issue