B. Tech. (5th Sem)
(Common for CSE, CSE with Specialization in Data Science,
CSE with specialization in Cloud Technology & Information Security)
BCSE-533 (Python & its Framework)
![]() |
| Django Python & its Framework Syllabus | IndianTechnoEra |
Course Objectives:
- 1.To demonstrate how to install and configure Python and Django frameworks in a development and production environment.
- 2.To provide an understanding of Django features, and develop web-based applications using basic and advanced concepts of Django.
- 3.To encourage students to design and develop forms (both ad-hoc and from Models and Data Models) and automate the validation and verification of data in those forms.
- 4.Understand the essentials of database connectivity and deployment of a developed web application.
Unit:-1
Introduction: The Python Language, Why Use Python?, Development Environments: Text Editors and IDEs, Shells, Terminal multiplexers, Environment configuration, Source Control; Essential Python Libraries: NumPy, Pandas, MatPlot,IPython and Jupyter, SciPy, scikit-learn, Visualization of Data; Web Frameworks: Django, Flask, Bottle, Pyramid, TurboGears, Falcon, Morepath, Sanic, Other web frameworks
Unit:-2
Django – Basic Concepts: What is Django framework?, Why Django Framework?, Who’s Using Django?, Installation: Python, Virtual Environment, Django; Starting a New Project, Django – the Project Structure, Model-View-Template (MVT) architecture, Django - Apps, Django Models, Views, Template and Static Files, Introduction to Django Admin
Unit:-3
Django – Advanced Concepts: URLs, URL Mapping, Reusable Templates, Django Forms: Render HTML Forms (Get & Post) in Django, Form Field and Custom Widgets, ModelForm – Create form from Models, Django Formsets, ModelFormSets, Authentication and Permissions,
Unit:-4
Database Connectivity: Django CRUD (Create, Retrieve, Update, Delete), Django-ORM, Function based views, Class-based generic views
Deployment: Version Control, Project Settings, Tracking Requirements, Deployment and Configuring Strategy
Course Outcome:
After completion of this course, students will have a fundamental understanding of how to:
- 1.Understand Django Architecture and its take on MVC (Models, Views & Templates).
- 2.Connect templates with models to serve data dynamically.
- 3.Handle and validate forms in Django.
- 4.Create Relative URLs with templates and how to check out Template and Custom Filters.
- 5.Build and deploy Django web apps.
Text Books:
- 1.Lightweight Django by Julia Elman, Mark Lavin.
- 2.Python Web Development with Django (Developer's Library) by by Jeff Forcier, Paul Bissex and Wesley J Chun.
- 3.Django for APIs: Build web APIs with Python & Django by William S. Vincent.
Reference Books:
- 1.Django Design Patterns and Best Practices by by Arun Ravindran.
- 2.Django for Professionals: Production websites with Python & Django by William S. Vincent.
Django Lab
B. Tech. (5th Sem)
Course Objectives:
- 1.To demonstrate how to install and configure Python and Django framework in a development and production environment.
- 2.To provide an understanding of Django features, and develop web-based applications using basic and advanced concepts of Django.
- 3.To encourage students to design and develop forms (both ad-hoc and from Models and Data Models) and automate the validation and verification of data in those forms.
- 4.Understand the essentials of database connectivity and deployment of developed web application.
List of Practical
1.Tool Installation (Python, Virtual Environment, Django) and Building a simple app from scratch.
2.Demonstrate how to create a basic project using MVT in Django.
3.Demonstrate how to activate & use Django's Admin module (interface) and to perform admin related tasks.
4.Develop a program to add Site Header, Site Title, Index Title in a Django Project.
5.Develop program to demonstrate adding tags using Django-Taggit.
6.Develop program to create a simple view for a web browser.
7.Create a Python module called a URLconf and design URLs for an application. Like a table of contents for your app, it contains a simple mapping between URL patterns and your views.
8.Develop program to generate forms from existing models and use those forms to perform CRUD operations on data.
9.Develop program to send simple emails to the registered users of your Django application.
10.Demonstrate how to integrate Django with Reactjs using Django REST Framework.
Course Projects:
Apart from the mentioned list of experiments, the student will have to develop the following projects.
Project Title: Virtual Community
Project Overview: “Virtual Community” is a fully functional and user interactive web-based application. The purpose of this application is to reduce the communication gap between the employees/or other stakeholders of an organization and to create a convenient and easy-to-use application for their side activities except from official work. Moreover, this community also helps users to develop connections and expand their business vacancies.
Project Title: Blog Application
Project Overview: This Blog Application is a complete blogging site for the users where users can add, edit and delete their blogs and share to everyone on the world. It contains all the features of a Blog site like login/register into the system, CRUD operation like add blog post with title, description and image and edit or delete the blog post.
Course Outcome:
After completion of this course, students will have a fundamental understanding of how to:
- 1.Understand Django Architecture and its take on MVC (Models, Views & Templates)
- 2.Connect templates with models to serve data dynamically.
- 3.Handle and validate forms in Django.
- 4.Create Relative URLs with templates and how to check out Template and Custom Filters.
- 5.Build and deploy Django web apps
