from django.contrib import admin
from datasets.models import Dataset, Sound, Vote, Taxonomy, DatasetRelease, TaxonomyNode


class TaxonomyNodeAdmin(admin.ModelAdmin):
    fields = ('node_id', 'name', 'description', 'citation_uri', 'faq', 'omitted', 'list_freesound_examples',
              'list_freesound_examples_verification')


admin.site.register(Dataset)
admin.site.register(Sound)
admin.site.register(Vote)
admin.site.register(Taxonomy)
admin.site.register(DatasetRelease)
admin.site.register(TaxonomyNode, TaxonomyNodeAdmin)

from django.contrib import admin
from datasets.models import Dataset, Sound, Vote, Taxonomy, DatasetRelease, TaxonomyNode


class TaxonomyNodeAdmin(admin.ModelAdmin):
    fields = ('node_id', 'name', 'description', 'citation_uri', 'faq', 'omitted', 'list_freesound_examples',
              'list_freesound_examples_verification', 'beginner_task')


admin.site.register(Dataset)
admin.site.register(Sound)
admin.site.register(Vote)
admin.site.register(Taxonomy)
admin.site.register(DatasetRelease)
admin.site.register(TaxonomyNode, TaxonomyNodeAdmin)

Add Admin beginner task field TaxonomyNode
Add Admin beginner task field TaxonomyNode
