from django.contrib import admin

from Artifactorial.models import Artifact, Directory


admin.site.register(Artifact)
admin.site.register(Directory)

from django.contrib import admin

from Artifactorial.models import Artifact, Directory


class ArtifactAdmin(admin.ModelAdmin):
    list_display = ('path', 'directory',)


class DirectoryAdmin(admin.ModelAdmin):
    list_display = ('path', 'user', 'group', 'is_public',)

admin.site.register(Artifact, ArtifactAdmin)
admin.site.register(Directory, DirectoryAdmin)

Improve the admin interface