Skip to content

Commit 5e1239d

Browse files
committed
updating django code examples
1 parent 9bb58e2 commit 5e1239d

File tree

1 file changed

+44
-14
lines changed

1 file changed

+44
-14
lines changed

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

Lines changed: 44 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,20 @@ Useful example code found within django-easy-timezones:
127127
* [django.utils.timezone](/django-utils-timezone-examples.html)
128128

129129

130+
### django-extensions
131+
[django-extensions](https://github.com/django-extensions/django-extensions)
132+
([project documentation](https://django-extensions.readthedocs.io/en/latest/)
133+
and [PyPI page](https://pypi.org/project/django-extensions/))
134+
is a [Django](/django.html) project that adds a bunch of additional
135+
useful commands to the `manage.py` interface. This
136+
[GoDjango video](https://www.youtube.com/watch?v=1F6G3ONhr4k) provides a
137+
quick overview of what you get when you install it into your Python
138+
environment.
139+
140+
The django-extensions project is open sourced under the
141+
[MIT license](https://github.com/django-extensions/django-extensions/blob/master/LICENSE).
142+
143+
130144
### django-filer
131145
[django-filer](https://github.com/divio/django-filer)
132146
([project documentation](https://django-filer.readthedocs.io/en/latest/))
@@ -141,21 +155,19 @@ Code from django-filer can be found on these pages:
141155
* [django.core.management.base BaseCommand](/django-core-management-base-basecommand-examples.html)
142156

143157

144-
### django-push-notifications
145-
[django-push-notifications](https://github.com/jazzband/django-push-notifications)
146-
is a [Django](/django.html) app for storing and interacting with
147-
push notification services such as
148-
[Google's Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/)
149-
and
150-
[Apple Notifications](https://developer.apple.com/notifications/).
151-
The django-push-notification project's source code is available
152-
open source under the
153-
[MIT license](https://github.com/jazzband/django-push-notifications/blob/master/LICENSE).
158+
### django-haystack
159+
[django-haystack](https://github.com/django-haystack/django-haystack)
160+
([project website](http://haystacksearch.org/) and
161+
[PyPI page](https://pypi.org/project/django-haystack/))
162+
is a search abstraction layer that separates the Python search code
163+
in a [Django](/django.html) web application from the search engine
164+
implementation that it runs on, such as
165+
[Apache Solr](http://lucene.apache.org/solr/),
166+
[Elasticsearch](https://www.elastic.co/)
167+
or [Whoosh](https://whoosh.readthedocs.io/en/latest/intro.html).
154168

155-
* [django.db.models Model](/django-db-models-model-examples.html)
156-
* [django.db.models BooleanField](/django-db-models-booleanfield-examples.html)
157-
* [django.db.models CharField](/django-db-models-charfield-examples.html)
158-
* [django.db.models DateTimeField](/django-db-models-datetimefield-examples.html)
169+
The django-haystack project is open source under the
170+
[BSD license](https://github.com/django-haystack/django-haystack/blob/master/LICENSE).
159171

160172

161173
### django-jsonfield
@@ -183,6 +195,23 @@ Further code examples from django-oscar:
183195
* [django.contrib.auth.decorators login_required](/django-contrib-auth-decorators-login-required-examples.html)
184196

185197

198+
### django-push-notifications
199+
[django-push-notifications](https://github.com/jazzband/django-push-notifications)
200+
is a [Django](/django.html) app for storing and interacting with
201+
push notification services such as
202+
[Google's Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/)
203+
and
204+
[Apple Notifications](https://developer.apple.com/notifications/).
205+
The django-push-notification project's source code is available
206+
open source under the
207+
[MIT license](https://github.com/jazzband/django-push-notifications/blob/master/LICENSE).
208+
209+
* [django.db.models Model](/django-db-models-model-examples.html)
210+
* [django.db.models BooleanField](/django-db-models-booleanfield-examples.html)
211+
* [django.db.models CharField](/django-db-models-charfield-examples.html)
212+
* [django.db.models DateTimeField](/django-db-models-datetimefield-examples.html)
213+
214+
186215
### django-smithy
187216
[django-smithy](https://github.com/jamiecounsell/django-smithy) is
188217
a [Django](/django.html) code library that allows users to send
@@ -199,6 +228,7 @@ Code examples from django-smithy are shown on the following pages:
199228

200229
### drf-action-serializer
201230
[drf-action-serializer](https://github.com/gregschmit/drf-action-serializer)
231+
([PyPI page](https://pypi.org/project/drf-action-serializer/))
202232
is an extension for [Django REST Framework](/django-rest-framework-drf.html)
203233
that makes it easier to configure specific serializers to use based on the
204234
client's request action. For example, a list view should have one serializer

0 commit comments

Comments
 (0)