BEST SITE FOR WEB DEVELOPERS
Django. Lessons for beginners

Ua Es De

Django Tutorial


[+:

Django is a back-end server side web framework.

Django is free, open source and written in Python.

Django makes it easier to build web pages using Python.

Start learning Django now ❯

Learning by Doing

In this tutorial, you get a step-by-step guide on how to install and create a Django project. You will learn how to create a project where you can add, read, update or delete data.

You will learn how to make HTML Templates and use Django Template Tags to insert data within an HTML document.

You will learn how to work with QuerySets to extract, filter, and sort data from the database.

You will also learn how to set up a PostgreSQL database and how to deploy your Django project to the world.


Django Exercises

Test Yourself With Exercises

Exercise:

Insert the missing parts to write a Django variable in a template:

<h1>Hello  firstname , how are you?</h1>


Django Quiz

Learn by taking a quiz! The quiz will give you a signal of how much you know about Django.

Start Django Quiz


Learning by Examples

In the tutorial, we will use examples to better explain the various concepts.

Example

<ul>
  {% for x in mymembers %}
    <li>{{ x.firstname }}</li>
  {% endfor %}
</ul>
Run Example »

My Learning

Track your progress with the free "My Learning" program here at W3Schools.

Log in to your account, and start earning points!

This is an optional feature. You can study at W3Schools without using My Learning.

My Learning W3Schools

Learning by References

You will also find references over the most common Django features: