2025-04-14 08:34:30 +00:00
|
|
|
|
# import Django´s admin interface module
|
2020-12-23 10:42:57 +00:00
|
|
|
|
from django.contrib import admin
|
2025-04-14 08:34:30 +00:00
|
|
|
|
# import the Employee model from the current app
|
2021-01-05 13:10:28 +00:00
|
|
|
|
from .models import Employee
|
2020-12-23 10:42:57 +00:00
|
|
|
|
|
2025-04-14 08:34:30 +00:00
|
|
|
|
# Register the Employee model with the Django admin site
|
|
|
|
|
# This makes the Employee model manageable through the admin interface
|
2021-01-05 13:10:28 +00:00
|
|
|
|
admin.site.register([
|
|
|
|
|
Employee,
|
|
|
|
|
])
|