mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 05:04:46 +02:00

Added SPDX identifiers to all .py files except those in migrations directory. Fixes: [YOCTO #13527] Signed-off-by: Meh Mbeh Ida Delphine <idadelm@gmail.com> Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
18 lines
464 B
Python
18 lines
464 B
Python
# layerindex-web - middleware definitions
|
|
#
|
|
# Copyright (C) 2019 Intel Corporation
|
|
#
|
|
# Licensed under the MIT license, see COPYING.MIT for details
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
from django.utils.deprecation import MiddlewareMixin
|
|
from django.http import HttpResponseRedirect
|
|
from django.urls import reverse
|
|
from reversion.middleware import RevisionMiddleware
|
|
import settings
|
|
import re
|
|
|
|
class NonAtomicRevisionMiddleware(RevisionMiddleware):
|
|
atomic = False
|