View Full Version : Django Framework
Balaji
04-21-2017, 10:22 AM
I have learnt Python language and I am started learning Django. I have a doubt how to add images in django. Please help me to try this
Yokesh
04-21-2017, 10:33 AM
Actually, you cannot add a CSS file directly like an HTML file. Here you have to use it as a static file. Create a static folder in your main app and then in the static folder, you have to create a app inside that you have to include your CSS javascript files. In your view file, you have to add as {% static %} and run collect static in your terminal to load your static files.
Like that, you can upload the images in Django (https://www.egrovesys.com/python-development-services/)
programmers.io
05-06-2022, 07:05 AM
Django is the most popular framework used alongside Python (https://programmers.io/python/) for backend development. The framework helps build complex websites that are scalable in nature. The success of the Django framework is attributed to that of Python as both help boost each other’s popularity.
Maja22
11-04-2022, 10:13 AM
I have learnt Python language and I am started learning Django. I have a doubt how to add images in django. Please help me to try this
Try google your problem and finding solution.
Powered by vBulletin® Version 4.2.5 Alpha 2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.