mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-11-20 15:37:48 +00:00
remove team endpoints showing in admin and swagger ui
This commit is contained in:
1 parent
40f65e5e55
commit
0e6f2e109e
2 files changed
+17
-30
No files matched your search
@@ -1,13 +0,0 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from apps.team.models import Team
|
||||
|
||||
|
||||
@admin.register(Team)
|
||||
class TeamAdmin(admin.ModelAdmin):
|
||||
list_display = ("name", "owner")
|
||||
search_fields = (
|
||||
"name",
|
||||
"owner",
|
||||
"members",
|
||||
)
|
||||
Reference in new issue
Block a user