Update last modified date for HTTP 304 after migrating to qr_code 6.1.
from datetime import datetime

from qrcode import ERROR_CORRECT_L, ERROR_CORRECT_M, ERROR_CORRECT_Q, ERROR_CORRECT_H

from qr_code.qrcode.image import SVG_FORMAT_NAME

QR_CODE_GENERATION_VERSION_DATE = datetime(year=2019, month=4, day=11, hour=15)
SIZE_DICT = {'t': 6, 's': 12, 'm': 18, 'l': 30, 'h': 48}
ERROR_CORRECTION_DICT = {'L': ERROR_CORRECT_L, 'M': ERROR_CORRECT_M, 'Q': ERROR_CORRECT_Q, 'H': ERROR_CORRECT_H}
DEFAULT_MODULE_SIZE = 'M'
DEFAULT_BORDER_SIZE = 4
DEFAULT_VERSION = None
DEFAULT_IMAGE_FORMAT = SVG_FORMAT_NAME
DEFAULT_ERROR_CORRECTION = 'M'
DEFAULT_CACHE_ENABLED = True
DEFAULT_URL_SIGNATURE_ENABLED = True

ALLOWS_EXTERNAL_REQUESTS_FOR_REGISTERED_USER = 'ALLOWS_EXTERNAL_REQUESTS_FOR_REGISTERED_USER'
ALLOWS_EXTERNAL_REQUESTS = 'ALLOWS_EXTERNAL_REQUESTS'
SIGNING_KEY = 'SIGNING_KEY'
TOKEN_LENGTH = 'TOKEN_LENGTH'
SIGNING_SALT = 'SIGNING_SALT'

from datetime import datetime

from qrcode import ERROR_CORRECT_L, ERROR_CORRECT_M, ERROR_CORRECT_Q, ERROR_CORRECT_H

from qr_code.qrcode.image import SVG_FORMAT_NAME

QR_CODE_GENERATION_VERSION_DATE = datetime(year=2018, month=3, day=15, hour=0)
SIZE_DICT = {'t': 6, 's': 12, 'm': 18, 'l': 30, 'h': 48}
ERROR_CORRECTION_DICT = {'L': ERROR_CORRECT_L, 'M': ERROR_CORRECT_M, 'Q': ERROR_CORRECT_Q, 'H': ERROR_CORRECT_H}
DEFAULT_MODULE_SIZE = 'M'
DEFAULT_BORDER_SIZE = 4
DEFAULT_VERSION = None
DEFAULT_IMAGE_FORMAT = SVG_FORMAT_NAME
DEFAULT_ERROR_CORRECTION = 'M'
DEFAULT_CACHE_ENABLED = True
DEFAULT_URL_SIGNATURE_ENABLED = True

ALLOWS_EXTERNAL_REQUESTS_FOR_REGISTERED_USER = 'ALLOWS_EXTERNAL_REQUESTS_FOR_REGISTERED_USER'
ALLOWS_EXTERNAL_REQUESTS = 'ALLOWS_EXTERNAL_REQUESTS'
SIGNING_KEY = 'SIGNING_KEY'
TOKEN_LENGTH = 'TOKEN_LENGTH'
SIGNING_SALT = 'SIGNING_SALT'
