FB Twitter Linkedin Instagram Django Framework - Itronix Solutions

Django Framework

DJANGO TRAINING

Django is an extremely widely used framework, and because it’s open source.Django is a web framework which written in python & follows the MVC architectural pattern. It is maintained by the django software foundation, an independent organization. There are many other framework like Pyramid,web2py,Flask etc. which support developers in the design & maintenance of complex applications. Pyjamas & IronPython can be used to develop the client-side of ajax-based applications.Django officially supports four database backends: PostgreSQL, MySQL, SQLite, and Oracle.More interestingly, django includes a layer between the developer and the database called an ORM (Object Relational Mapper).Django provides well-organized documentation and example code tagged for every specific release.

INTRODUCTION

  • What is Django..?
  • Installing Django
  • MVC

VIEWS

  • Your First View
  • Mapping urls to Views
  • How django process a request..?
  • Urlpatterns
  • Regular expressions
  • 404 Errors

TEMPLATES

  • Template Basic
  • Dictionaries and Contexts
  • Built-in Tags & filters
  • Custom Tags & filters
  • Using Templates in Views

MODELS

  • Define models
  • Setting up database access
  • Creating django apps
  • Defining model fields
  • Creating a model
  • How to create tables for models in Database
  • Adding Model String Representations
  • Inserting & updating Data
  • Filtering Data
  • Ordering Data
  • Slicing Data
  • Deleting Objects

DJANGO ADMIN INTERFACE

  • Enabling admin interface
  • Creating admin user

DJANGO FORMS

  • Forms in Django
  • Searching Query
  • GET & POST methods
  • Form fields in django
  • Simple validation
  • Custom Validation
  • Building a form in Django
  • Placing form instance into the templates context

USER AUTHENTICATION

  • User objects
  • Using the Django authentication system
  • Authentication Views
  • Extending the existing User model
  • Build a login-logout application

CLASS-BASED VIEWS

  • View()
  • TemplateView()
  • CreateView()
  • ListView()
  • DetailView()
  • FormView()
  • UpdateView()
  • DeleteView()

PAGINATION

  • Function based pagination
  • class based pagination

SENDING MAIL

  • Configure email setting
  • Send_mail funtion
  • Introduction about Sessions & cookies
  • How to use sessions..?
  • Using sessions in views
  • Authentication in web requests
  • Login & Logout with session
  • Activating middleware
  • Write your own middleware
  • Expire session due to inactivity