[Fixed]-Displaying Data in a tabular form in django admin

1👍

In admin.py:

class CourseAdmin(admin.ModelAdmin):
    list_display = ('courseId', 'courseName')

admin.site.register(Course, CourseAdmin)

Read Django docs for more.

👤v1k45

Leave a comment