This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/airavata-cookiecutter-django-app.git

commit e1c4ce975901c272ca5d95dbc604b5881338bfa1
Author: Marcus Christie <[email protected]>
AuthorDate: Wed Jun 9 10:25:47 2021 -0400

    Add README for static folder
---
 .../static/{{cookiecutter.project_slug}}/README.md       | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git 
a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/static/{{cookiecutter.project_slug}}/README.md
 
b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/static/{{cookiecutter.project_slug}}/README.md
new file mode 100644
index 0000000..375e970
--- /dev/null
+++ 
b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/static/{{cookiecutter.project_slug}}/README.md
@@ -0,0 +1,16 @@
+# Static files folder
+
+Place your static files (JavaScript, CSS, images, etc.) in this folder. Then
+load them in your templates using the static template tag.
+
+```html
+{% raw %}
+{% load static %}
+{% endraw %}
+
+<script src="{{ '{%' }} static '{{ cookiecutter.project_slug 
}}/some_script.js' %}"></script>
+```
+
+See
+[Part 6 of the Django 
tutorial](https://docs.djangoproject.com/en/2.2/intro/tutorial06/)
+for more information.

Reply via email to