wesleylima / django-rest-framework-firebase

Use Firebase to authenticate requests to your Django Rest Framework project
32 stars 14 forks source link

broken example #2

Closed AdrienLemaire closed 6 years ago

AdrienLemaire commented 6 years ago

README:

REST_FRAMEWORK = {
  ...
  'DEFAULT_AUTHENTICATION_CLASSES': (
    'rest_framework_firebase_auth.authentication.Firebaseuthentication',
  )
  ...
}

The package name seems to be rest_framework_firebase (without _auth), so I'm assuming the correct example should be:

REST_FRAMEWORK = {
  ...
  'DEFAULT_AUTHENTICATION_CLASSES': (
    'rest_framework_firebase.authentication.Firebaseuthentication',
  )
  ...
}
AdrienLemaire commented 6 years ago

Also, why did you use the name Firebaseuthentication instead of FirebaseAuthentication ?

wesleylima commented 6 years ago

Good catch on the documentation and class name. Wasn't like that for a reason, just a nasty type-o.