Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

setup.py

Blame
  • Forked from uffd / uffd
    Source project has a limited visibility.
    • Julian's avatar
      45d4598e
      Replace flask_oauthlib with plain oauthlib · 45d4598e
      Julian authored
      flask_oauthlib is no longer available in Debian Bullseye. It is only a
      wrapper around oauthlib, which is still available. While this change does
      increase the OAuth2 code size, it achieves compatability with both Debian
      Buster and Bullseye.
      
      Aside from error handling, this change has no noticable effects on OAuth2.0
      clients. In terms of error handling, a few cases that were not properly
      handled before now return appropriate error pages.
      
      Fixes #101
      45d4598e
      History
      Replace flask_oauthlib with plain oauthlib
      Julian authored
      flask_oauthlib is no longer available in Debian Bullseye. It is only a
      wrapper around oauthlib, which is still available. While this change does
      increase the OAuth2 code size, it achieves compatability with both Debian
      Buster and Bullseye.
      
      Aside from error handling, this change has no noticable effects on OAuth2.0
      clients. In terms of error handling, a few cases that were not properly
      handled before now return appropriate error pages.
      
      Fixes #101
    apps.py 278 B
    """
        Default setted file from django for an added app.
    """
    
    from django.apps import AppConfig
    
    
    class ApiAuthConfig(AppConfig):
        """Default setted SharedModelsConfig class for the app.
        """
        default_auto_field = "django.db.models.BigAutoField"
        name = "api_auth"