Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8082227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:01:03+00:00 2026-06-05T17:01:03+00:00

What is the difference between the two folders? I created an example project in

  • 0

What is the difference between the two folders? I created an example project in Pinax and sometimes they put stuff in media and other times site_media.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T17:01:05+00:00Added an answer on June 5, 2026 at 5:01 pm

    I believe MEDIA Is used for uploaded files while site_media is for static files.

    https://docs.djangoproject.com/en/dev/topics/files/

    Although the following quote is about staticfiles I think it covers the difference:

    In previous versions of Django, it was common to place static assets
    in MEDIA_ROOT along with user-uploaded files, and serve them both at
    MEDIA_URL. Part of the purpose of introducing the staticfiles app is
    to make it easier to keep static files separate from user-uploaded
    files.

    For this reason, you need to make your MEDIA_ROOT and MEDIA_URL
    different from your STATIC_ROOT and STATIC_URL. You will need to
    arrange for serving of files in MEDIA_ROOT yourself; staticfiles does
    not deal with user-uploaded files at all. You can, however, use
    django.views.static.serve() view for serving MEDIA_ROOT in
    development; see Serving other directories.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to get difference between two times. I calculate this by using following.
I want to calculate the difference between two times, one of which is the
How can I get the difference between two times in a Batch file? Because
I'm wondering what the difference is between the following two modules # First Example
I'm able to set up a connection in project A between two local folders,
How to calculate minute difference between two date-times in PHP?
Using TSQL how do you find the difference between two times, in milliseconds? declare
Possible Duplicate: Calculating the Difference Between Two Java Date Instances How do I get
What is the difference between two ways to obtain a string from resources: setPositiveButton(R.string.some_string);
Possible Duplicate: How to calculate the difference between two dates using PHP? I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.