File: apps.py

package info (click to toggle)
python-django-ratelimit 4.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 348 kB
  • sloc: python: 892; makefile: 134; sh: 49
file content (10 lines) | stat: -rw-r--r-- 214 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
from django.apps import AppConfig


class DjangoRatelimitConfig(AppConfig):
    name = 'django_ratelimit'
    label = 'ratelimit'
    default = True

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