Skip to content

Commit e60b492

Browse files
helgimboersma
authored andcommitted
ref(api): split api models into a class per file
Allows a separate of a class per file and makes it easier to read through the code and work with it
1 parent ea3e8c6 commit e60b492

22 files changed

Lines changed: 1538 additions & 1283 deletions

rootfs/api/admin.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,7 @@
99
from django.contrib import admin
1010
from guardian.admin import GuardedModelAdmin
1111

12-
from .models import App
13-
from .models import Build
14-
from .models import Config
15-
from .models import Container
16-
from .models import Domain
17-
from .models import Key
18-
from .models import Release
12+
from .models import App, Build, Config, Container, Domain, Key, Release
1913

2014

2115
class AppAdmin(GuardedModelAdmin):

0 commit comments

Comments
 (0)