summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/bldcollector/admin.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/bldcollector/admin.py b/bitbake/lib/toaster/bldcollector/admin.py
index c1f85d73d5..7b69ecd09e 100644
--- a/bitbake/lib/toaster/bldcollector/admin.py
+++ b/bitbake/lib/toaster/bldcollector/admin.py
@@ -1,15 +1,12 @@
1from django.contrib import admin 1from django.contrib import admin
2from django.contrib.admin.filters import RelatedFieldListFilter 2from django.contrib.admin.filters import RelatedFieldListFilter
3from orm.models import BitbakeVersion, Release, LayerSource, ToasterSetting 3from orm.models import BitbakeVersion, Release, ToasterSetting
4from django.forms.widgets import Textarea 4from django.forms.widgets import Textarea
5from django import forms 5from django import forms
6import django.db.models as models 6import django.db.models as models
7 7
8from django.contrib.admin import widgets, helpers 8from django.contrib.admin import widgets, helpers
9 9
10class LayerSourceAdmin(admin.ModelAdmin):
11 pass
12
13class BitbakeVersionAdmin(admin.ModelAdmin): 10class BitbakeVersionAdmin(admin.ModelAdmin):
14 11
15 # we override the formfield for db URLField because of broken URL validation 12 # we override the formfield for db URLField because of broken URL validation
@@ -27,7 +24,6 @@ class ReleaseAdmin(admin.ModelAdmin):
27class ToasterSettingAdmin(admin.ModelAdmin): 24class ToasterSettingAdmin(admin.ModelAdmin):
28 pass 25 pass
29 26
30admin.site.register(LayerSource, LayerSourceAdmin)
31admin.site.register(BitbakeVersion, BitbakeVersionAdmin) 27admin.site.register(BitbakeVersion, BitbakeVersionAdmin)
32admin.site.register(Release, ReleaseAdmin) 28admin.site.register(Release, ReleaseAdmin)
33admin.site.register(ToasterSetting, ToasterSettingAdmin) 29admin.site.register(ToasterSetting, ToasterSettingAdmin)