mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
21 lines
379 B
Python
21 lines
379 B
Python
from django.conf import settings
|
|
|
|
from django.contrib import admin
|
|
from django.urls import include, path
|
|
|
|
from .views import trigger_error
|
|
|
|
|
|
urlpatterns = [
|
|
path('api/', include('ingest.urls')),
|
|
|
|
path('events/', include('events.urls')),
|
|
|
|
path('admin/', admin.site.urls),
|
|
]
|
|
|
|
if settings.DEBUG:
|
|
urlpatterns += [
|
|
path('trigger-error/', trigger_error),
|
|
]
|