11 lines
359 B
Python
11 lines
359 B
Python
# import Django´s admin interface module
|
||
from django.contrib import admin
|
||
# import the Employee model from the current app
|
||
from .models import Employee
|
||
|
||
# Register the Employee model with the Django admin site
|
||
# This makes the Employee model manageable through the admin interface
|
||
admin.site.register([
|
||
Employee,
|
||
])
|