Skip to content

Discussion: decouple from django-ninja-extra #140

@brendan-morin

Description

@brendan-morin

Is the django-ninja-extra a critical dependency to getting this working? I tried following the function-based configs that don't use the ninja extra classes, and I see this error:

django.core.exceptions.ImproperlyConfigured: ninja_extra app is not installed. Did you forget register ninja_extra in INSTALLED_APPS

I'm wondering if this library may be too tightly coupled to ninja_extra, and would perhaps benefit from decoupling? For what it's worth. I think there's value in ninja_extra, and it's a great library. But it just seems like this library as a basic auth library for ninja should not need to know about or be co-installed with ninja_extra in order to be added to a ninja app.

If this was decoupled, I could see this easily being the standard solution for JWT in ninja.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions