diff --git a/README.md b/README.md index a86a48d..01280fb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Open in Visual Studio Code](https://classroom.github.com/assets/open-in-vscode-2e0aaae1b6195c2367325f4f02e2d04e9abb55f0b24a779b69b11b9e10269abc.svg)](https://classroom.github.com/online_ide?assignment_repo_id=21788448&assignment_repo_type=AssignmentRepo) # 🚀 Django Workshop - Assignment 0: Pierwsze URL-e Django Witamy w pierwszym zadaniu z serii Django Workshop! To zadanie wprowadzi Cię w podstawy mapowania URL-i w Django. diff --git a/workshop_project/urls.py b/workshop_project/urls.py index da1dc37..5fc0a81 100644 --- a/workshop_project/urls.py +++ b/workshop_project/urls.py @@ -16,9 +16,11 @@ """ from django.contrib import admin from django.urls import path -# TODO: Zaimportuj views zgodnie z instrukcjami w README.md +from . import views urlpatterns = [ path('admin/', admin.site.urls), - # TODO: Dodaj mapowanie URL-i zgodnie z README.md + path('', views.home), + path('info/', views.info), + path('health/', views.health_check) ]