diff options
author | Alban Gruin | 2017-10-30 18:23:43 +0100 |
---|---|---|
committer | Alban Gruin | 2017-10-30 18:23:43 +0100 |
commit | eed022ccf449a4cfceb39c28bb41741bc490d343 (patch) | |
tree | f18b8e364d6a7939cfc7ea561291b63fbe6236c9 /urls.py | |
parent | 03bf0f33ac47b2f5597c39b10d9f26d7fb893d79 (diff) |
Ajout d’une URL pour les flatpages
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -13,11 +13,12 @@ # You should have received a copy of the GNU Affero General Public License # along with celcatsanitizer. If not, see <http://www.gnu.org/licenses/>. -from django.conf.urls import url +from django.conf.urls import include, url from . import feeds, views urlpatterns = [ url(r"^$", views.index, name="index"), + url(r"^pages/", include("django.contrib.flatpages.urls")), url(r"^contact$", views.contact, name="contact"), url(r"^(?P<year_slug>[-\w]+)/$", views.mention_list, name="mentions"), url(r"^(?P<year_slug>[-\w]+)/(?P<timetable_slug>[-\w]+)/$", views.group_list, name="groups"), |