html test uploader

This commit is contained in:
Mohamed Nouffer
2021-12-08 19:13:03 +05:30
parent e5e3f670e9
commit fae9e555dd
4 changed files with 32 additions and 4 deletions

View File

@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-#-a9k=#&y3e&a&@%rn7mhl@fk3smxceqh^@1)#9t@c-qzx&k^b
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['aiworks.intranet.sumasen.net',]
ALLOWED_HOSTS = ['aiworks.intranet.sumasen.net', 'localhost']
# Application definition
@ -56,7 +56,7 @@ ROOT_URLCONF = 'ocr.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'DIRS': [BASE_DIR / 'templates'],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [