You need to sign in or sign up before continuing.
Api root ninja
Move api root view to django ninja.
Adds unit tests to api root (we didn't have this!)
Because auth is None, we don't run the typical authentication flow. I moved some logic out of token auth to this view. It's a bit of a copy but also slightly different. In django ninja, we don't set request.auth when auth isn't required (we probably could, but it's simple as is and usually auth isn't optional)
Edited by David Burke