Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C. The language provides constructs intended to enable clear programs on both a small and large scale.
Python supports multiple programming paradigms, including object-oriented, imperative and functional programming or procedural styles. It features a dynamic type system and automatic memory management and has a large and comprehensive standard library.
All attendees should already be comfortable using the operating system (Linux, Unix, Windows, Solaris, Mac OS X, etc.) on which they will be running Python. While not mandatory, basic skills with at least one other programming language are desirable.
The Django web development framework provides a fast, easy, and secure method of developing rich web sites using the Python programming langauge. In this Django training course, programmers will learn how to design, implement, and manage web applications using Django.
Participants will learn how to use the Django core component set along with advanced modules, techniques, and third-party tools. Students attending this Django training course will leave having developed a complete content-management web site, with user authentication, advanced forms, session management, email notification functionality, and a complete administrative interface
At the end of Django training course, the participants will be able to:
Basic understanding of the Python language
Basic understanding of Object Oriented programming and relational database concepts (no SQL knowledge is required)
2. Installing & Configuring Django Components Django Pre-Requisites Downloading & Installing Django Choosing a Database Creating a New Project
3. Generating Simple Django Views About View Functions Using Django's HttpResponse Class Understanding HttpRequest Objects Using QueryDict Objects
4. Configuring URLconf's About URLconf Regular Expressions Expression Examples Simple URLConf Examples Using Multiple URLConf's Passing URL Arguments
5. Django Templates About Templates Template Fundamentals Creating Template Objects Loading Template Files Filling in Template Content (Context Objects) Template Filters Template Tags More on For Loops Template Inheritance Easy Rendering of Templates RequestContext Processors Global Context Processors
6. HTML Forms with Forms (formerly newforms) The Forms Module Creating the Form Generating Output From the Form Customizing Field Parameters Processing Form Data Custom Form Field Validation Generating Custom Field Errors Customizing Form Output
7. Database Models with Django About Database Models Configuring Django for Database Access Understanding Django Apps About Django Models Defining Django Models Understanding Model Fields & Options Table Naming Conventions Creating A Django Model Adding the App to Your Project Validating the App Generating & Reviewing the SQL Adding Data to the Model Primary Keys and the Model Simple Data Retrieval Using a Model Understanding QuerySets Applying Filters Specifying Field Lookups Lookup Types Slicing QuerySets Specifying Ordering in QuerySets Common QuerySet Methods Deleting Records Managing Related Records Retrieving Related Records
8. Django ORM ORM Configuration: Mapper Configuration Relationship Configuration Inheritance Mapping Advanced Collection Configuration Configuration Extensions: Declarative Extension Association Proxy Hybrid Attrbutes Mutable Scalars Ordered List ORM Usage: Session Usage and Guidelines Query API reference Relationship Loading Techniques Using Q Objects Creating Forms from Models
9. Using the Django Admin Interface Enabling the Admin Interface Creating an Admin User
10. Access Control with Sessions and Users Cookies & Django The Django Session Framework Sessions in Views Session Tuning Installing Django User Authentication Using Authentication in Views Login and Logout Building your Own Login/Logout Views Authentication Decorators Adding & Deactivating Users Asynchronous Messaging Managing Permissions
11. Generic Views Simple Generic Views Using Generic Redirects Other Generic Views Create/Update/Delete Generic views
12. Creating Syndication Feeds About Syndication
13. AJAX Integration with Django AJAX with Django
14. Data Caching for Performance Data Caching Setting up Per-View Caching Site Caching
15. Preventing Cross Site Request Forgery Cross Site Request Forgery
16. Django's Email Functionality Configuring Mail Settings Sending Email Other Email Functions
17. Deploying Django Applications Deploying to Apache
18. Using ReportLab for PDF Generation About ReportLab Toolkit