diff options
author | Alban Gruin | 2019-01-27 21:59:34 +0100 |
---|---|---|
committer | Alban Gruin | 2019-01-27 21:59:34 +0100 |
commit | 3db1e1cf3147c2a12eb29973493d9fbae063ee7c (patch) | |
tree | f7427d1cef5e84ba09dc6f01884b306f986d6ea9 /urls.py | |
parent | 0001f374946a8778b0b5fad4c5baee091d328a9f (diff) | |
parent | 9987d47ec8c74d649de2a7d09ef62beb885949d9 (diff) |
Merge branch 'ag/api' into prod/pa1ch/0.14.z
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# Copyright (C) 2017-2018 Alban Gruin +# Copyright (C) 2017-2019 Alban Gruin # # celcatsanitizer is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published @@ -14,10 +14,13 @@ # along with celcatsanitizer. If not, see <http://www.gnu.org/licenses/>. from django.urls import include, path + from . import feeds, views +from .api.urls import router urlpatterns = [ path("", views.index, name="index"), + path("api/", include(router.urls)), path("pages/", include("django.contrib.flatpages.urls")), path("salles/", views.rooms, name="rooms"), path("salles/qsjps", views.qsjps, name="qsjps"), |