Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #из урл practice
- from django.urls import path
- from . import views
- urlpatterns = [
- path('', views.index, name="plans")
- ]
- # из головного url
- from django.contrib import admin
- from django.urls import path, include
- urlpatterns = [
- path("plans/", include("practice.urls")),
- path("admin/", admin.site.urls),
- ]
Advertisement
Add Comment
Please, Sign In to add comment