summaryrefslogtreecommitdiffstats
path: root/tests/urls_tests.py
blob: d95e2c02c3ac1d58766e6dcaf066e035fe708e84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import django

from django.conf.urls import url, include
from django.http import HttpResponse


def homepage(request):
    return HttpResponse('ok')

urlpatterns = [
    url('^', include('mellon.urls')),
    url('^$', homepage, name='homepage'),
]