Created
April 26, 2018 10:47
-
-
Save dbwodlf3/a0d04413ae2eae3759fa1eea39b9efe4 to your computer and use it in GitHub Desktop.
Django webPage urls.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.urls import path, include | |
| from .views import * | |
| urlpatterns = [ | |
| path('home/', Home), | |
| path('news/', News), | |
| path('contact/', Contact), | |
| path('about/', About), | |
| path('board/<int:pageNumber>', BoardViewer.as_view()), | |
| path('board/', BoardViewerRedirect), | |
| path('board/viewer/<int:boardID>', Viewer), | |
| path('editor/', Editor.as_view()), | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment