🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn_web_development › Extensions › Server-side › Django › Tutorial_local_library_website
Django Tutorial: The Local Library website - Learn web development | MDN
You'll find out what the tutorial covers, how to get started, how to ask for help, and everything else you need to build and deploy your first server-side Python app. Welcome to the MDN "Local Library" Django tutorial, in which we develop a website that might be used to manage the catalog for a local library.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn_web_development › Extensions › Server-side › Django
Django Web Framework (Python) - Learn web development | MDN
This tutorial extends our LocalLibrary website, adding a session-based visit-counter to the home page. This is a relatively simple example, but it does show how you can use the session framework to provide persistent behavior for anonymous users on your own sites. Django Tutorial Part 8: User authentication and permissions
Discussions

Developer Mozilla Django Project Tutorial
Unfortunately the polls app is not going to be anywhere the level of experience you’ll need to work with Django in a professional setting. There are other resources online. But yes, it’s possible to learn via online only these days. Just need to filter out the garbage. Best of luck in your endeavors. More on reddit.com
🌐 r/django
6
4
February 14, 2024
Just stumbled upon the MDN Django Tutorial, haven't seen it mentioned here before. Is it good? How does it compare to the official Tutorial, and the Vincent books? I see that it has exercises for most sections, which might help to solidify the learning.
I have mentioned it many times, it is easily one of the best free tutorials available. And is a perfect second tutorial after the official Django tutorial. More on reddit.com
🌐 r/django
7
9
September 24, 2022
Mozilla Complete Django Development Guide | MDN
For some reason, I never knew this existed. It's somewhat new- being posted in November 2016... Anyway Thanks for posting this- it looks like a great resource to have! More on reddit.com
🌐 r/django
19
122
February 12, 2017
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn_web_development › Extensions › Server-side › Django › Introduction
Django introduction - Learn web development | MDN
We'll outline the main features, including some of the advanced functionality that we won't have time to cover in detail in this module. We'll also show you some of the main building blocks of a Django application (although at this point you won't yet have a development environment in which ...
🌐
GitHub
github.com › mdn › django-locallibrary-tutorial
GitHub - mdn/django-locallibrary-tutorial: Local Library website written in Django; example for the MDN server-side development Django module: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django. · GitHub
Local Library website written in Django; example for the MDN server-side development Django module: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django. - mdn/django-locallibrary-tutorial
Starred by 1.7K users
Forked by 960 users
Languages   Python 78.0% | HTML 21.7%
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn_web_development › Extensions › Server-side › Django › skeleton_website
Django Tutorial Part 2: Creating a skeleton website - Learn web development | MDN
This second article in our Django Tutorial shows how you can create a "skeleton" website project as a basis, which you can then populate with site-specific settings, paths, models, views, and templates.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn_web_development › Extensions › Server-side › Django › Models
Django Tutorial Part 3: Using models - Learn web development | MDN
Once you've chosen what database you want to use, you don't need to talk to it directly at all — you just write your model structure and other code, and Django handles all the dirty work of communicating with the database for you. This tutorial shows how to define and access the models for ...
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn_web_development › Extensions › Server-side › Django › Home_page
Django Tutorial Part 5: Creating our home page - Learn web development | MDN
The first part of the view function fetches the number of records using the objects.all() attribute on the model classes. It also gets a list of BookInstance objects that have a value of 'a' (Available) in the status field. You can find more information about how to access model data in our previous tutorial Django Tutorial Part 3: Using models > Searching for records.
Find elsewhere
🌐
Dj4e
dj4e.com › lessons › mdn_legacy
DJ4E - Django for Everybody
This is a set of assignments centered around the Mozilla Developer Network Django tutorial.
🌐
GitConnected
gitconnected.com › the developer homepage | gitconnected › coding tutorials › django tutorials › review of learn django by mozilla developer network
Tutorial Review - Learn Django by Mozilla Developer Network
Total upvotes - 3. This tutorial can be found on developer.mozilla.org. The discussion, overview, and rankings are submitted by the developers that have used the course. Learn Django from Learn Django by Mozilla Developer Network.
🌐
Readthedocs
mozilla-django-oidc.readthedocs.io › en › stable › installation.html
Installation — mozilla-django-oidc documentation
This means that no two users in the Django user table can have the same email address. Since the email field is not unique, it’s possible that this can happen. Especially if you allow users to change their email address. If it ever happens, then the users in question won’t be able to authenticate. If you want different behavior, subclass the mozilla_django_oidc.auth.OIDCAuthenticationBackend class and override the filter_users_by_claims method.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn_web_development › Extensions › Server-side › Django › development_environment
Setting up a Django development environment - Learn web development | MDN
2 weeks ago - Now that you know what Django is for, we'll show you how to set up and test a Django development environment on Windows, Linux (Ubuntu), and macOS — whatever common operating system you are using, this article should give you what you need to be able to start developing Django apps.
🌐
CodingNomads
codingnomads.com › django-local-library-project
Build the MDN LocalLibrary Project with Django
Django Polls project that includes a PostgreSQL database backend, your next task is to follow another excellent Django tutorial by yourself: Building the LocalLibrary app via MDN's tutorial. MDN, the Mozilla Developer Network, created an excellent tutorial for getting started with Django.
🌐
GitHub
github.com › djknox › mdn-django-tutorial
GitHub - djknox/mdn-django-tutorial: Repository for code created during MDN's Django Tutorial - https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django
Repository for code created during MDN's Django Tutorial - https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django - djknox/mdn-django-tutorial
Author   djknox
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn_web_development › Extensions › Server-side › Django › Deployment
Django Tutorial Part 11: Deploying Django to production - Learn web development | MDN
February 19, 2026 - Choose an environment for hosting the Django app. Choose an environment for hosting any static files. Set up a production-level infrastructure for serving your website. This tutorial provides some guidance on your options for choosing a hosting site, a brief overview of what you need to do in order to get your Django app ready for production, and a working example of how to install the LocalLibrary website onto the Railway cloud hosting service.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn_web_development › Extensions › Server-side › Django › Admin_site
Django Tutorial Part 4: Django admin site - Learn web development | MDN
After registering the models we'll ... the views and templates we'll start creating in the next tutorial. First, open admin.py in the catalog application (/django-locallibrary-tutorial/catalog/admin.py)....
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn › Server-side › Django › Authentication
Django Tutorial Part 8: User authentication and permissions - Learn web development | MDN
November 22, 2024 - In this tutorial, we'll show you how to allow users to log in to your site with their own accounts, and how to control what they can do and see based on whether or not they are logged in and their permissions. As part of this demonstration, we'll extend the LocalLibrary website, adding login and logout pages, and user- and staff-specific pages for viewing books that have been borrowed. Django provides an authentication and authorization ("permission") system, built on top of the session framework discussed in the previous tutorial, that allows you to verify user credentials and define what actions each user is allowed to perform.