Skip to content

Commit 14cf43c

Browse files
committed
remove unnecessary html, add new django example project
1 parent 254e5c6 commit 14cf43c

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

content/pages/examples/django/django-code-examples.markdown

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ dccnsys is shown on the following code example pages:
5151
* [django.contrib.auth.decorators login_required](/django-contrib-auth-decorators-login-required-examples.html)
5252
* [django.urls.path](/django-urls-path-examples.html)
5353

54+
5455
### django-allauth
5556
[django-allauth](https://github.com/pennersr/django-allauth)
5657
([project website](https://www.intenct.nl/projects/django-allauth/)) is a
@@ -157,6 +158,17 @@ open source under the
157158
* [django.db.models DateTimeField](/django-db-models-datetimefield-examples.html)
158159

159160

161+
### django-jsonfield
162+
[django-jsonfield](https://github.com/dmkoch/django-jsonfield)
163+
([jsonfield on PyPi](https://pypi.org/project/jsonfield/)) is a
164+
[Django](/django.html) code library that makes it easier to store validated
165+
JSON in a [Django object-relational mapper (ORM)](/django-orm.html) database
166+
model.
167+
168+
The django-jsonfield project is open source under the
169+
[MIT license](https://github.com/dmkoch/django-jsonfield/blob/master/LICENSE).
170+
171+
160172
### django-oscar
161173
[django-oscar](https://github.com/django-oscar/django-oscar/)
162174
([project website](http://oscarcommerce.com/))

theme/templates/article-sidebar.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{% include "sponsor/ezoic.html" %}
21
<div class="pn">
32
<div class="pnh">
43
<h3>Learn more</h3>

theme/templates/sidebar.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{% if page %}
22
{% include "books-videos/learnmore.html" %}
3-
{% include "sponsor/ezoic.html" %}
43
{% if not page.slug == "about-author" %}
54
{% include "desktop-toc.html" %}
65
{% endif %}
7-
<div class="pn">
6+
<div class="pn" style="margin-top:10px">
87
<div class="pnh"><h3>Full Stack Python</h3></div>
98
<div class="pnb">
109
<a href="/table-of-contents.html">Full Stack Python</a>
@@ -18,7 +17,7 @@
1817
</div>
1918
{% endif %}
2019
{% if not page %}
21-
<div class="pn">
20+
<div class="pn" style="margin-top:10px">
2221
{% if page and page.slug == "about-author" %}
2322
<div class="pnh"><h3>Updates</h3></div>
2423
{% else %}

theme/templates/sponsor.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{% include "sponsor/ezoic.html" %}
21
{% if false %}
32
{% if page.sortorder[0:2] == "01" or page.sortorder[0:2] == "02" %}
43
{% include "sponsor/dual-premium-standard.html" %}

theme/templates/sponsor/ezoic.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)