[Python] What is the "path" mean in Django urls

Discussão em 'Python' iniciado por Stack, Fevereiro 5, 2025.

  1. Stack

    Stack Membro Participativo

    When a read some new project on Django in one of urls.py files i find following code:

    from django.urls import path
    from . import views

    urlpatterns = [
    path('buyers/embed/<int:id>/view', views.buyers_view),
    ]


    This is written in application that not used for now (Instead of this is used another application for buyers view). But i want to know what is this path.

    I can't find any information about it in documentation. Maybe this is some old style for url routing, or some mistakes.

    Thanks for any help.

    Continue reading...

Compartilhe esta Página