Django Project Blueprints by Asad Jibran Ahmed

Django Project Blueprints by Asad Jibran Ahmed

Author:Asad Jibran Ahmed
Language: eng
Format: epub, pdf
Publisher: Packt Publishing


Tip

One thing I had trouble understanding when I started using Django was the difference between MEDIA_ROOT and STATIC_ROOT. To put it simply, MEDIA_ROOT is where all the files uploaded by the site users live. These files are uploaded using the Image/File fields with forms.

STATIC_ROOT is where you put the static files associated with your web applications. These include CSS files, JavaScript files, and any other static files that are served as is. These have nothing to do with the Django part of your web application; these are delivered to the user as is, usually via a web server such as nginx.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.