herreweb_site/herreweb_backend/project/admin.py

9 lines
211 B
Python
Raw Normal View History

2022-12-28 18:51:36 +00:00
from django.contrib import admin
from .models import Project
class ProjectAdmin(admin.ModelAdmin):
list = ('title', 'description', 'visible')
# Register projects
admin.site.register(Project, ProjectAdmin)