mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2025-06-28 16:25:44 +08:00
Use leaflet for handling of locations in django admin
This commit is contained in:
parent
1fc262a530
commit
166d586fc2
15 changed files with 95 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
from django.contrib import admin
|
||||
from .models import StudentStatus
|
||||
from leaflet.admin import LeafletGeoAdmin
|
||||
|
||||
admin.site.register(StudentStatus)
|
||||
admin.site.register(StudentStatus, LeafletGeoAdmin)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue