Skip to content

Commit 4aa7d57

Browse files
committed
Expose DBH Classes and Entries in the admin
Polygons themselves are not included in the admin because testing showed that they made the site too unstable to be of any real use.
1 parent 174c0f8 commit 4aa7d57

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

polygons/admin.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from django.contrib.gis import admin
2+
from polygons.models import TreeRegionPolygon, DBHClass, TreeRegionEntry
3+
4+
admin.site.register(DBHClass)
5+
admin.site.register(TreeRegionEntry)

0 commit comments

Comments
 (0)