We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6db0e0f commit 60ff6fcCopy full SHA for 60ff6fc
README.md
@@ -0,0 +1,42 @@
1
+# django-bootstrap-email
2
+
3
+## Usage
4
5
+1. Install
6
7
+```shell
8
+pip install django-bs-email
9
+```
10
11
+2. Add to `INSTALLED_APPS`
12
13
+```python
14
+INSTALLED_APPS = [
15
+ # ...
16
+ "django_bootstrap_email",
17
+]
18
19
20
+3. Use the template tag
21
22
+```html
23
+{% load bootstrap_email %}
24
25
+{% bootstrap_email %}
26
+<body class="bg-light">
27
+ <div class="container">
28
+ <div class="card my-10">
29
+ <div class="card-body">
30
+ <p>
31
+ Hello World!
32
+ </p>
33
+ </div>
34
35
36
+</body>
37
+{% end_bootstrap_email %}
38
39
40
+And a complete HTML email will be output, which should render correctly across email clients:
41
42
+
example.png
1.62 KB
0 commit comments