Commit 42d2fa7e authored by Daniel W Bond's avatar Daniel W Bond

adopted same decorator pattern as used in the trades app

parent 9b3f64bf
......@@ -3,8 +3,8 @@ from django.contrib import admin
# imports from your apps
from .models import Student, Course
@admin.register(Student)
class StudentAdmin(admin.ModelAdmin):
list_display = ('__str__', 'created')
admin.site.register(Student, StudentAdmin)
admin.site.register(Course)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment