Introduction to Django (original) (raw)
Intended Audience¶
This Django training course is for beginners as well as for programmers who already have some experience with Django.
You should have experience in an object-oriented programming language. Python knowledge is ideal but not mandatory to get started. In addition, you should have basic knowledge in web application development with databases.
Content¶
We first introduce of the basics of the Django web application framework and guide all participants through the installation process. Together with the trainer, the participants will create a simple web application that teaches the principles and components of Django. This approach will cover the following:
- Software tools for a Django development environment
- Database abstraction (Object Relational Mapper)
- Creation of a model
- Model validation
- Export and import of data (via JSON)
- Working with an ORM on the commandline
- Using Django’s admin
- Defining URLs at one place (Routing)
- In-depth explanation of function based views
- How to use class-based views
- Creating templates using Django’s template engine
- How to handle static files in Django
- Managing Django’s settings
- Different debugging techniques
- Logging
- Forms and their validation
- Sending email using a form
- Pagination
- Authentication
- Sessions and messages
- Security
- Write your own middleware
- Create your own tags and filters
Exercises¶
The participants can follow all steps directly on their computers. There are exercises at the end of each unit providing ample opportunity to apply the freshly learned knowledge.
Course Material¶
Every participant receives comprehensive materials in PDF format that cover the whole course content as well as all source code.