+ Post New Thread
Results 1 to 2 of 2

Thread: Django Framework

  1. #1
    Junior Member Balaji's Avatar
    Join Date
    Apr 2017
    Posts
    5

    Django Framework



    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

  2. #2
    Junior Member Yokesh's Avatar
    Join Date
    Apr 2017
    Posts
    7


    Is this useful / helpfull? Yes | No
    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

+ Post New Thread

Similar Threads

  1. Django
    By Balaji in forum Python Forum
    Replies: 1
    Last Post: 04-22-2017, 11:23 AM
  2. WTS Fully Managed Django Web Hosting - 10% Off - Hostripples!
    By hi5s2arp in forum Shared: Offers & Requests
    Replies: 0
    Last Post: 04-06-2017, 10:44 AM
  3. Replies: 0
    Last Post: 04-02-2014, 08:32 AM
  4. WTS Mobile friendly WHMCS theme based on Bootstrap 3 framework + shopping cart!
    By eekyelp in forum WTS/WTB Webdesign services
    Replies: 0
    Last Post: 03-24-2014, 10:44 AM
  5. Replies: 0
    Last Post: 12-24-2013, 08:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam