You are on page 1of 2

What are the Prerequisites for learning

Django?
Django is a Python framework and it’s obvious you need to get comfortable with
some of the Python terminologies.

1. The basic syntax of the Python (For example, understanding the indentation if
you are coming from other programming languages and new into Python.)

2. Python function: How to pass the argument to the Python function? Setting the
default value. Getting a list of Python values using *args and **kwargs.

3. While developing the website you may require multiple Python modules. It
depends on the requirement for your website. So the understanding
of importing external modules is required.

4. The website is not just as we see in browsers. There are tons of data, images or
any kind of data that are used in the background. To accessing those data files,
you need to have an understanding of Python Path concepts.

5. Get familiar with the Python control structure. It includes both conditional
operators and loops. If you are coming from any other programming language
and have basic Python syntax knowledge, it is not a big deal.2

6. No matter what programming language you are learning. The string is one of the
data structures you should be using in every other line of your project code. Sink
yourself and try to check out all the string manipulation operations. It is easy
to do that in Python.

7. There is one more entity called: Regular Expression (RE). The main purpose
of RE is to validate the string. For example, if you are asking visitors to input
his/her email ID on your website, you have to validate if the string user entered
is a valid email ID. There is a Python module- re for a string validation. Start
using and exploring it in your Python code.
8. You have chosen the Django Python framework for your web development.
What makes Python different from all other programming languages is its
prominent data structures like tuple, list (Difference between Python tuple
and list), set and dictionary. Understand the structure of data saved in those
types of variables. Check out all the functions associated with those data
Page 1|2
structures. It is fun as the things will start rolling so easily with those data
structure variables.
9. As the projects start looming you need to apply object-oriented concepts. In
fact, it is better to drive the object-oriented concepts from the beginning of the
development itself. It helps you to bind a similar kind of data (class) and access
those data with a single variable called object. You can also reuse the lines of
codes if the logic is the same. And it reduces the line of code, as well as, it will
be easy to maintain.
You might be thinking, I have listed so many basics prerequisites of Python to
Learn Django web framework.

But it is not…

One can learn Python and Django framework in parallel. In fact, most of the
concepts I have listed above will be cleared in parallel when you start developing a
website using Django.

Moving forward to this,

10.Learn REST APIs and JSON

I have already covered the detailed post about REST APIs, so I am skipping it
here. JSON is the data structure that makes it easy to store and transfer the data
between different network entities.

11.Database Management and SQL queries

Data is crucial whether you are developing a portfolio website or content


management system. In today’s era, it is not reliable to save the date in a text file.
If you are doing it, you are living far behind.

790041580142

Page 2|2

You might also like