Introduction to Django migration commands When working with Django, you don’t need to write SQL to create new tables or make changes to existing tables. Instead, you use Django migrations. Django migrations allow you to propagate the changes that you make to the models to the database via the command line. DjangoContinue Reading

Introduction to Django models In Django, a model is a subclass of the django.db.models.Model class. A model contains one or more fields and methods that manipulate the fields. Essentially, a Django model maps to a single table in the database in which each field of the model represents a column in theContinue Reading

Introduction to the Django templates In the previous tutorial, you learned how to return a HttpResponse with a h1 tag from a view. To return a full HTML page, you need to use a template. A template is a file that contains the static and dynamic parts of a webpage. To generate the dynamicContinue Reading

Django projects and applications In the Django framework: A Django project may have one or more applications. For example, a project is like a website that may consist of several applications such as blogs, users, and wikis. Typically, you design a Django application that can be reusable in other DjangoContinue Reading

Django overview Django is a Python web framework that includes a set of components for solving common web development problems. Django allows you to rapidly develop web applications with less code by taking advantage of its framework. Django follows the DRY (don’t repeat yourself) principle, which allows you to maximize the codeContinue Reading