Django

Course Info

  • Category: IT Program
  • TRAINER: MR.ASHUTOSH
  • Duration: 2 Months.
  • Share Course:

Django Course

Overview:

1. Introduction to web framework

2. Starting a Django powered project

• Django project architecture
• Understanding manage.py
• Understanding settings.py
• Understanding __init__.py and wsgi.py
• Understanding urls.py and Python regular expression

3. Starting your first web application

• Django project architecture
• Understanding admin.py
• Understanding models.py
• Understanding views.py

4. Templates

• Developing standard web template
• Template tags
• Filters in templates
• Template API

5. Django Admin

• Activating the Admin interface
• Creating super user for Admin site
• Using the Admin site and django.contrib package

6. Models

• The MVC Development Pattern
• Defining Models using Python classes
• Defining Model data fields
• Initializing model using makemigrations
• Running model initialization using migrate
• Registering models in settings.py
• Registering models with Admin site

7. Views and URLconfs

• Understanding the view layer
• Requesting a web page via URL
• Rendering web page via view function
• Render HTTPResponse to templates
• Understanding context data and Python dictionary type

8. Forms

• Form basics ( GET and POST methods)
• Form validation
• Rendering forms
• ModelForm

9. Working with Static File

• Creating static repository
• Loading static files
• Adding image file to template
• Advance Models, Views, Forms and Admin
• Understanding model fields in depth
• Database function

10. Extending Templates

• Creating a template library
• Writing custom template filter
• Writing custom templates tags
• Registering the tags
• Setting a variable in the context
• Writing template loader