11 Static files | Hindi Tutorial

Опубликовано: 09 Август 2026
на канале: AnsrCoach
5
0

Websites generally need to serve additional files such as images, JavaScript, or CSS. In Django, we refer to these files as “static files”. Django provides django.contrib.staticfiles to help you manage them.Using the collectstatic command, Django looks for all static files in your apps and collects them wherever you told it to, i.e. the STATIC_ROOT . In our case, we are telling Django that when we run python manage.py collectstatic , gather all static files into a folder called static files in our project root directory.
#Django #Python #Webdevelopment #AnsrCoach #Hindi #Easy #Online tutorials