Metadata-Version: 2.4
Name: ngits-drf-sentry-tunnel
Version: 2.1.0
Summary: Sentry tunnel for DRF
Author-email: "NG IT Services Sp. z o. o." <biuro@ngits.pl>
License: BSD-3-Clause
Project-URL: Homepage, https://ngits.dev
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 5.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Python: >=3.11
Description-Content-Type: text/x-rst
Requires-Dist: Django==5.*
Requires-Dist: djangorestframework==3.*
Requires-Dist: requests==2.*

ngits-drf-sentry-tunnel
=======================

Olá!

Setup
-----

1. Install using pip:
~~~~~~~~~~~~~~~~~~~~~

::

    pip install ngits-drf-sentry-tunnel

2. Change your ``settings`` file:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

::

    import os

    ...

    INSTALLED_APPS = [
        ...
        "rest_framework",
        "sentry_tunnel"
    ]

    ...

    SENTRY_HOST = "sentry.local"
    SENTRY_PROJECT_IDS = ["4"]

3. Add paths to your ``urls.py`` file:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

::

    from django.urls import path, include

    urlpatterns = [
        ...
        path("", include("sentry_tunnel.urls"))
    ]

Above example results: ``http://127.0.0.1:8000/tunnel/`` API endpoint URL

