mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-05-23 03:35:52 +00:00
15 lines
557 B
Python
15 lines
557 B
Python
''' Django notification urls for tests '''
|
|
# -*- coding: utf-8 -*-
|
|
from django.contrib import admin
|
|
from notifications.tests.views import live_tester, make_notification
|
|
from django.urls import include, path
|
|
from django.contrib.auth.views import LoginView
|
|
|
|
|
|
urlpatterns = [
|
|
path('test_make/', make_notification),
|
|
path('test/', live_tester),
|
|
path('login/', LoginView.as_view(), name='login'), # reverse for django login is not working
|
|
path('admin/', admin.site.urls),
|
|
path('', include('notifications.urls', namespace='notifications')),
|
|
]
|