mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-23 07:14:21 +00:00
✨ Make ModelAdmin classes for every model
This commit is contained in:
parent
111e22d63b
commit
f766926dcc
1 changed files with 13 additions and 3 deletions
|
@ -2,6 +2,16 @@ from django.contrib import admin
|
||||||
from . import models
|
from . import models
|
||||||
|
|
||||||
|
|
||||||
admin.site.register(models.Project)
|
@admin.register(models.Project)
|
||||||
admin.site.register(models.DataSource)
|
class ProjectAdmin(admin.ModelAdmin):
|
||||||
admin.site.register(models.DataFlow)
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
@admin.register(models.DataSource)
|
||||||
|
class DataSourceAdmin(admin.ModelAdmin):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
@admin.register(models.DataFlow)
|
||||||
|
class DataFlowAdmin(admin.ModelAdmin):
|
||||||
|
pass
|
||||||
|
|
Loading…
Reference in a new issue