Course · Training · Workshop

Django

Two to four days of intensive introduction to web development with Django: ORM, admin interface, authentication and templates through to deploying a web application to production.

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. With its "batteries included" approach, Django provides everything needed for developing modern web applications: ORM, admin interface, authentication, template engine, and much more. The framework follows the DRY principle (Don't Repeat Yourself) and enables efficient development of secure and maintainable web applications.

What participants say

These customers booked courses in the same topic cluster.More customers →

Content

During the course, we build step by step a comprehensive Django web application. We focus on the practical application of Django and its core components:

– Django Fundamentals and Architecture:

  • Python basics & advanced features
  • Virtual environments and dependencies
  • MTV (Model-Template-View) pattern
  • Project and app structure
  • Django settings and configuration – Models and Database:
  • Django ORM (Object-Relational Mapping)
  • Model definition and relationships
  • Migrations and schema management
  • QuerySets and database queries
  • Custom managers and QuerySets – Views and URL Routing:
  • Function-based views (FBV)
  • Class-based views (CBV)
  • Generic views and mixins
  • URL patterns and URL namespacing
  • Request and response handling – Templates and Frontend:
  • Django Template Language (DTL)
  • Template inheritance and includes
  • Context processors
  • Static files and media handling
  • Integration with frontend frameworks – Forms and Validation:
  • Django forms and ModelForms
  • Form validation and custom validators
  • Formsets and inline formsets
  • File uploads
  • CSRF protection – Django Admin:
  • Admin interface customization
  • ModelAdmin and inline models
  • Custom admin actions
  • Admin permissions – Authentication and Authorization:
  • User model and authentication
  • Login, logout, and registration
  • Permissions and groups
  • Custom user models
  • Password management – REST APIs with Django REST Framework:
  • Serializers and ViewSets
  • API endpoints and routing
  • Authentication and permissions
  • Filtering, pagination, and ordering – Testing and Debugging:
  • Unit tests and integration tests
  • Test client and test database
  • Coverage and test-driven development
  • Django Debug Toolbar – Security Best Practices:
  • SQL injection prevention
  • XSS and CSRF protection
  • Secure password storage
  • Security middleware – Deployment and Production:
  • Production settings
  • Static files and media in production
  • Database migration strategies
  • Logging and monitoring
  • Docker and container deployment

The course is based on refined and tested course material with explanation, practical exercises, course project with code, solution code, and further information.

You will not only learn these concepts but also implement them practically.

The actual course content may differ from the above depending on the trainer, delivery, duration and the composition of participants.

Request this course in-house

By submitting you accept our Privacy Policy.

Request a public date

No suitable public date? Register without obligation — once there is enough interest we schedule a new public date and let you know first.

Number of participants (approx.)

More than 3 participants? Best to request a dedicated in-house date directly.

By submitting you accept our Privacy Policy.

More about Django

Django is a high-level Python web framework developed by the Django Software Foundation, known for rapid development and clean, pragmatic design. It follows the MTV pattern (Model-Template-View) and offers a comprehensive solution for modern web development with its "batteries included" approach.

Further resources:

History

Django was developed in 2003 by Adrian Holovaty and Simon Willison at the Lawrence Journal-World newspaper to quickly create news websites. The framework was released as an open-source project in 2005 and named after jazz guitarist Django Reinhardt.

Development was significantly driven by the Django Software Foundation, with important contributions from developers like Jacob Kaplan-Moss, Russell Keith-Magee, and James Bennett. Key milestones included the introduction of class-based views (2011), migrations system (2014), Channels for WebSockets (2016), and async support (2019). The integration of Django REST Framework as the de facto standard for APIs revolutionized API development.

Today, Django is one of the most popular web frameworks and is used by companies like Instagram, Mozilla, Pinterest, and NASA. It has set new standards for secure web development and, with its comprehensive documentation, strong community, and "batteries included" philosophy, offers a robust solution for web applications of any size. Continuous development with modern features like async views and improved performance ensure the framework's future viability.