how to go into a file inside another folder in django url path code example
Example 1: django include
from django.urls import include, path
urlpatterns = [
path('index/', views.index, name='main-view'),
path('bio/<username>/', views.bio, name='bio'),
path('articles/<slug:title>/', views.article, name='article-detail'),
path('articles/<slug:title>/<int:section>/', views.section, name='article-section'),
path('weblog/', include('blog.urls')),
...
]
Example 2: where we can store image in django project to so that t can work in html file
{% load static %}
<img src="{% static 'my_app/example.jpg' %}" alt="My image">