How Can Make media For Each app In One Project??? For Example I Have A Project That’s Name Is MyProject And Have Tow Application That’s Names Are myapp1 and myapp2 And Want To Make Media For Each Application Separately.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
It sounds like you need django.contrib.staticfiles as described here
https://docs.djangoproject.com/en/1.3/howto/static-files/
This allows you to keep the static media required by each app within a subfolder of each app (named static) and then, at deployment time, to collate the static content of all apps to a common location using:
manage.py collectstatic