mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-07-09 01:14:10 +02:00
15 lines
281 B
Python
15 lines
281 B
Python
from django.contrib import admin
|
|
|
|
from guardian.admin import GuardedModelAdmin
|
|
|
|
from .models import Customer, Location, Owner
|
|
|
|
|
|
class CustomerAdmin(GuardedModelAdmin):
|
|
pass
|
|
|
|
|
|
admin.site.register(Customer, CustomerAdmin)
|
|
admin.site.register(Location)
|
|
admin.site.register(Owner)
|