Skip to content

Commit

Permalink
Add missing PostgresqlDatabasePermissionAdmin
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Marchant committed Aug 4, 2021
1 parent 2d98dee commit 2085bd1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hexa/plugins/connector_postgresql/admin.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
from django.contrib import admin
from .models import PostgresqlDatabase
from .models import PostgresqlDatabase, PostgresqlDatabasePermission


@admin.register(PostgresqlDatabase)
class PostgresqlDatabaseAdmin(admin.ModelAdmin):
list_display = ("database", "hostname", "port", "username")


@admin.register(PostgresqlDatabasePermission)
class PostgresqlDatabasePermissionAdmin(admin.ModelAdmin):
list_display = ("database", "team")

0 comments on commit 2085bd1

Please sign in to comment.