1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 14:54:22 +00:00

Make ModelAdmin classes for every model

This commit is contained in:
Steffo 2021-04-08 14:22:30 +02:00
parent 89025324af
commit 667c7724e5

View file

@ -2,6 +2,16 @@ from django.contrib import admin
from . import models
admin.site.register(models.Project)
admin.site.register(models.DataSource)
admin.site.register(models.DataFlow)
@admin.register(models.Project)
class ProjectAdmin(admin.ModelAdmin):
pass
@admin.register(models.DataSource)
class DataSourceAdmin(admin.ModelAdmin):
pass
@admin.register(models.DataFlow)
class DataFlowAdmin(admin.ModelAdmin):
pass