We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can someone help how to register the models of the package to be visible in the admin panel?
I thought It would work if i add an admins.py with the code below to the package
from django.contrib import admin from .models import FirebaseUser, FirebaseUserProvider admin.site.register(FirebaseUser) admin.site.register(FirebaseUserProvider)
The text was updated successfully, but these errors were encountered:
you can just import the models from the app and register them under an app's admin file (e.g. user/admin.py):
user/admin.py
from drf_firebase_auth.models import FirebaseUser, FirebaseUserProvider admin.site.register(FirebaseUser) admin.site.register(FirebaseUserProvider)
Sorry, something went wrong.
No branches or pull requests
Can someone help how to register the models of the package to be visible in the admin panel?
I thought It would work if i add an admins.py with the code below to the package
The text was updated successfully, but these errors were encountered: