320CORS_URLS_REGEX = r"^/api/.*$"
321
322# By Default swagger ui is available only to admin user(s). You can change permission classes to change that
323# See more configuration options at https://drf-spectacular.readthedocs.io/en/latest/settings.html#settings324SPECTACULAR_SETTINGS = {
325 "TITLE": "Linting-test API",
326 "DESCRIPTION": "Documentation of API endpoints of Linting-test",
115# https://docs.djangoproject.com/en/dev/ref/settings/#auth-password-validators
116AUTH_PASSWORD_VALIDATORS = [
117 {
118 "NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator"119 },
120 {"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator"},
121 {"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator"},
319# django-cors-headers - https://github.com/adamchainz/django-cors-headers#setup
320CORS_URLS_REGEX = r"^/api/.*$"
321
322# By Default swagger ui is available only to admin user(s). You can change permission classes to change that323# See more configuration options at https://drf-spectacular.readthedocs.io/en/latest/settings.html#settings
324SPECTACULAR_SETTINGS = {
325 "TITLE": "Linting-test API",
73 "is_active",
74 models.BooleanField(
75 default=True,
76 help_text="Designates whether this user should be treated as active. Unselect this instead of deleting accounts.", 77 verbose_name="active",
78 ),
79 ),
65 "is_staff",
66 models.BooleanField(
67 default=False,
68 help_text="Designates whether the user can log into this admin site.", 69 verbose_name="staff status",
70 ),
71 ),
Line length greater than configured max_line_length
detected, defaults to 79 character. This limit can be configured docs