herreweb_site/herreweb_backend/project/admin.py

9 lines
211 B
Python

from django.contrib import admin
from .models import Project
class ProjectAdmin(admin.ModelAdmin):
list = ('title', 'description', 'visible')
# Register projects
admin.site.register(Project, ProjectAdmin)