Replies: 1 comment
-
@psugand Yes that is possible. You simply need to unregister all You can place this script in one of your apps that is placed in the # app_name/admin.py
from django.apps import apps
for model in apps.get_app_config('djstripe').get_models():
try:
admin.site.unregister(model)
except admin.sites.NotRegistered:
pass |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to hide all dj-stripe models from the django admin?
Beta Was this translation helpful? Give feedback.
All reactions