HOME/Articles/

mysql example simpleocr simpleocr wsgi (snippet)

Article Outline

Python mysql example 'simpleocr simpleocr wsgi'

Modules used in program:

  • import os

python simpleocr simpleocr wsgi

Python mysql example: simpleocr simpleocr wsgi

"""
WSGI config for simpleocr project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/
"""

import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'simpleocr.settings')

application = get_wsgi_application()