garyburgmann / drf-firebase-auth

Firebase backend to receive a user idToken and authenticate via Django REST Framework 'authentication.BaseAuthentication'. Optionally, a new local user can be created in the process.
MIT License
128 stars 62 forks source link

Django 4 compatibility #41

Open quorth0n opened 2 years ago

quorth0n commented 2 years ago

Fixes #40

Simple PR to remove an unused call that was causing this library to fail in django 4

adamduren commented 2 years ago

@quorth0n this looks good and simple to me. One question: how did you go about getting the DEFAULT_AUTO_FIELD warning? For me, just removing the deprecated import seemed to work.

quorth0n commented 2 years ago

Thanks :) I simply had to set DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' in settings.py