From 7dc7e0c7bed9098019787742b5572b094dbb61ae 2016-10-27 16:28:21 From: Branko Majic Date: 2016-10-27 16:28:21 Subject: [PATCH] MDT-3: Use empty static directory to avoid errors from collectstatic command. Added some docs about project-specific static files. --- diff --git a/docs/usage.rst b/docs/usage.rst index 29e5b386b8673473d2c47b13a2ade466fc0369df..208e50f391fbede16020f7c1c763cb226e1a77c4 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -152,6 +152,11 @@ structure similar to: This way you can keep the assets (static and media files) outside of the project code tree. +If you ever need to have some static files as part of the project itself, you +can easily do so by putting the files into project's static directory +(i.e. ``~/tmp/myproject/static/``). This is helpful when you want to overrides a +specific static file from some other application. + Working with the project ------------------------ diff --git a/project-django-1.8/project_name/static/.keep b/project-django-1.8/project_name/static/.keep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391