1👍
✅
The error wasn’t being caused by the urls.py folder, it was being by the AppConfig. I had to import the auth_router inside the ready method
from django.apps import AppConfig
class AuthConfig(AppConfig):
name = "core.auth"
# to avoid classing with the django auth
label = "custom_auth"
# router object
router = None
def ready(self):
from .signals import user_initialize, password_reset_set_token
from .router import auth_router
self.router = auth_router
default_app_config = 'core.auth.AuthConfig'
Source:stackexchange.com