mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
572 B
20 lines
572 B
from .base import * # noqa: F403
|
|
|
|
MIDDLEWARE.append("api.middleware.RangesMiddleware") # noqa: F405
|
|
CORS_ORIGIN_WHITELIST = ("http://127.0.0.1:3000", "http://0.0.0.0:3000", "http://localhost:3000")
|
|
CSRF_TRUSTED_ORIGINS = CORS_ORIGIN_WHITELIST
|
|
# LOGGING = {
|
|
# 'version': 1,
|
|
# 'handlers': {
|
|
# 'console': {
|
|
# 'level': 'DEBUG',
|
|
# 'class': 'logging.StreamHandler',
|
|
# }
|
|
# },
|
|
# 'loggers': {
|
|
# 'django.db.backends': {
|
|
# 'level': 'DEBUG',
|
|
# 'handlers': ['console'],
|
|
# },
|
|
# }
|
|
# }
|