| Apr | MAY | Jun |
| 23 | ||
| 2021 | 2022 | 2023 |
COLLECTED BY
Collection: Common Crawl
For example,
authentication,
URL routing, a
template engine,
an object-relational mapper (ORM),
and database schema migrations
are all included with the Django framework.
Compare that included functionality to the Flask framework which requires a
separate library such as
Flask-Login
to perform user authentication.
The batteries-included and extensibility philosophies are simply two different
ways to tackle framework building. Neither philosophy is inherently better
than the other one.
Django is an implementation of the web frameworks concept. Learn how these pieces fit together in the web development chapter or view the table of contents for all topics.
manage.py commands list with your
own custom commands in your projects. The tutorial has a bunch of great
examples with expected output to make it easy to follow along and learn
while you work through the post.
Luke Plant writes about
his approach to class based views (CBVs),
which often provoke heated debate in the Django community for whether they
are a time saver or "too much magic" for the framework.
Django Apps Checklist
gives some good practices rules for building reusable Django apps.
User model that
is packaged with Django. This scenario is very common for all but the
simplest Django projects.
Creating a Custom User Model in Django
looks at how to create a custom User model in Django so that an email
address can be used as the primary user identifier instead of a
username for authentication.