관리-도구
편집 파일: wsgi.cpython-311.pyc
� �܋f� � �J � d Z ddlmZ ddlmZ ddlmZ G d� de� � ZdS )z� raven.contrib.django.middleware.wsgi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. � )�absolute_import)�Sentry)�memoizec �. � e Zd ZdZd� Zed� � � ZdS )r z� Identical to the default WSGI middleware except that the client comes dynamically via ``get_client >>> from raven.contrib.django.middleware.wsgi import Sentry >>> application = Sentry(application) c � � || _ d S )N)�application)�selfr s �u/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/raven/contrib/django/middleware/wsgi.py�__init__zSentry.__init__ s � �&����� c � � ddl m} |S )Nr )�client)�raven.contrib.django.modelsr )r r s r r z Sentry.client s � �6�6�6�6�6�6�� r N)�__name__� __module__�__qualname__�__doc__r r r � r r r r sH � � � � � �� �'� '� '� �� � �W�� � r r N)r � __future__r �raven.middlewarer �raven.utilsr r r r �<module>r s{ ��� � '� &� &� &� &� &� #� #� #� #� #� #� � � � � � �� � � � �V� � � � � r