Register models with django admin
This commit is contained in:
parent
d47416273d
commit
b02d7d50de
1 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
from django.contrib import admin
|
||||
from right_tree.api.models import Plant, SoilOrder, SoilLayer, SoilVariant, EcologicalRegion, EcologicalDistrictLayer, ToleranceLevel
|
||||
|
||||
# Register your models here.
|
||||
admin.site.register(Plant)
|
||||
admin.site.register(SoilOrder)
|
||||
admin.site.register(SoilLayer)
|
||||
admin.site.register(SoilVariant)
|
||||
admin.site.register(EcologicalRegion)
|
||||
admin.site.register(EcologicalDistrictLayer)
|
||||
admin.site.register(ToleranceLevel)
|
||||
|
|
Loading…
Reference in a new issue