File: apps.py

package info (click to toggle)
python-drf-spectacular 0.28.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,748 kB
  • sloc: python: 14,174; javascript: 114; sh: 61; makefile: 30
file content (9 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
from django.apps import AppConfig


class SpectacularConfig(AppConfig):
    name = 'drf_spectacular'
    verbose_name = "drf-spectacular"

    def ready(self):
        import drf_spectacular.checks  # noqa: F401