Python
Python
Python
Django
- components of a URL
- Parts of an HTTP request
- Where is cookie attached in an HTTP request
- HTTP Status code 403
- Getting query params in view function
- Getting headers in a view function
- venv
- init.py
- product/:id in url pattern, how to access id in view function
SQL
- Transaction
- Requirements for a join
- WHERE vs HAVING
- TEXT vs VARCHAR
- Removing fk constraint
Theory 6
Practical 4"
"Python
- pep8 and python coding conventions
- syntax of a constructor
- variadic arguments in python
- writing methods and using attributes in them
- printing dict value using fstring (list[n]['key'])
- looping a dict to print its keys and values separately
- decorators
Django
- understand what port is
- accessing query params in a view function
- Common HTTP status codes
- accessing headers inside a view function
- different kinds of browser storages
- Parts of an HTTP request
SQL
- transaction rollback
- adding a foreign key constraint
- removing a foreign key constraint
Theory6
Practical 4"
"Python
- pep8 and python coding conventions
- variadic arguments in python
- using **kwargs in function
- sorting array using a key in elements that are dicts
- printing array element using fstring
- list comprehension with condition to filter
- understand data type of i in ""for i in list""
- looping through a dict to print all keys and values
- using decorators
- packages and modules
Django
- components of a URL
- Parts of an HTTP request
- Where is cookie attached in an HTTP request
- HTTP Status code 403
- Getting query params in view function
- Getting headers in a view function
- venv
- init.py
- product/:id in url pattern, how to access id in view function
SQL
- Transaction
- Requirements for a join
- WHERE vs HAVING
- TEXT vs VARCHAR
- Removing fk constraint
Theory 6
Practical 4"
Theory Topics:
SQL
How To Create Tables
Creating Tables Without Constraints
Creating Tables with Constraints
Insert Into
Insert Into Example
Generate 1000 Rows with Mockaroo
Select From
Order By
Distinct
Where Clause and AND
Comparison Operators
Limit, Offset & Fetch
IN
Between
Like And iLike
Group By
Group By Having
Adding New Table And Data Using Mockaroo
Calculating Min, Max & Average
Sum
Basics of Arithmetic Operators
Arithmetic Operators (ROUND)
Alias
Coalesce
NULLIF
Timestamps And Dates Course
Adding And Subtracting With Dates
Extracting Fields From Timestamp
Age Function
What Are Primary Keys
Understanding Primary Keys
Adding Primary Key
Unique Constraints
Check Constraints
How to Delete Records
How to Update Records
On Conflict Do Nothing
Upsert
What Is A Relationship/Foreign Keys
Adding Relationship Between Tables
Updating Foreign Keys Columns
Inner Joins
Left Joins
Deleting Records With Foreign Keys
Exporting Query Results to CSV
Serial & Sequences
Extensions
Understanding UUID Data Type
UUID As Primary Keys
Practical Work Topics:
"Advantages of ORM
Use case of proxy model inheritance
Explicit primary key
Decimal field args
on_delete options
Datefield
Adding data in fkey field
Select related workout
Aggregate annotate workout
Cover all topics
Theoty:5
Workout:3"
Pending Topics:
Improve the UI,
Why python,
Call method,
Features of django,
Types of views,
Types of models,
Migrations,
Types of database,
Why SQL in django,
BCNF,
Super key,
Rules for defining a tree,
Heap,
Applications of heap,
Applications of BST,
Queue implementation
Task/Django:
- Understand how authentication works
- Understand requests and response flow between Django components
- Deep dive into predefined functions and understand what exactly is doing inside
that.
Python:
- Understand how the decorator works
- Method resolution order and multiple inheritances in Python
SQL:
- having vs where
- case sensitivity of SQL language
- practice SQL queries for practical use cases
DS:
- Need to work on data structure
- Understand the problem well before proceeding
- Understand the pros and cons of each data structure well
- Understand complexity analysis and analyse the complexity of a solution
shallow copy
SQL
one to many vs frgn key
Magic methods
MRO
Python memory management
Copy by value and copy by reference
CSRF
Request-response cycle - needs improvement
authorization
sql update column command
tuncate with cascade
understand dictionary ds
find 2nd largest in a list
generator
Python Basics
Pending
Pendings:
REACT/REDUX
mixins
thunk
DJANGO/REST/ORM
custom middlewares
custom model manager
raw and cursor
reverse and reverse lazy
generics in rest
Python
closure
duck typing
SQL
rollback
commit
save point
TCL
Trigger
Django 5
React 6
Python 3
SQL 3
python
why python
advantages of python
python interpret
disadvantages of python
variable
what is infer language
what is dynamic typing
rules for creating a variable
multi word variables
single value assign
multi value assign
casting
local variable
global variable
static variable
instance variable
how to delete a variable
premitive data type
non premitive data type
fundamental data type
derivative daa type
data types in python
learn about datetime
random number ( learn OTP generation using random)
string and methods
list and methods
set and methods
dictionary and methods
f string
array
Aliasing
deep copy and syntax
shallow copy and syntax
function
argument
parameter
pass by value
pass by reference
pass by object reference
pass by assignment
type of argument...
formal argument
actual argument
_variable and __varible ( single underscore and double underscore varible different
use )
_name_
constructor
why python high level language
class
object
class properties
@property
@static method
@class method
@instance method
what is self
how to decide a size of object
name space
encapsulation
setter ans getter
accesor and muttator
magic method or dunder method
inheritance
polymorphism
duck typing
method overloading
method overriding
error type and how to handle
thread concept
file in python
is python combiled or interpreted? why
python vertual mechine
implementation of python
pychache
.pyc
binary search
lenear search
module vs package vs library vs framework
asset statement
type coercion
closue
meta class
splat operator
GIL
abstraction
pure function
variadic function
yield
list comprehension
dict comprehension
garbage collector
reference count
memory management in python
DB
- types of triggers
- atomicity
- SQL injection
- correlated subquery
- composite key
- cross join
- increase salary by 1000 where employee has less than average salary
- add a new column
- number of employees in each department
Score: 4
Framework
- SECRET_KEY
- reverse vs reverse_lazy
- view mixins
- signals
- commit=False in form
- static files
- related_name
- prefetch_related, select_related
- defer()
- values_list(flat=True)
- unique together
- ALLOWED_HOSTS
- HTTP OPTIONS
- structure of HTTP request and response
- query params
- path params
- browser cache
- localStorage
- WSGI
-
"Pendings:
makemigrations and migrate (need more understanding)
revert migration (unapply)
middlewares (need improvement)
context processor
mixin concept
db connection
Score:
Theory:5
Coding:5"
"Pendings:
Multiple inheritance
Exceptional handling exact syntax
Iist comprehension exact concept
Score:
Theory:5
Coding:5.5
Reviewer updated that he can move to the next week
(week 4)""Pending Topics
- dataclasses
- metaclass
- pickling
- using destructor
- docstrings
- init.py
- super()
- name
- don’t overwrite builtin names
- add key in object
- using dict values in fstrings
- lambda function to return last element of list
- ternary syntax
- list comprehension to extract small strings
- variadic function to return sum of all args
Theory : 5
Coding : 3""Review postponed on : 26-Feb-2024
Reason : Incompletion of task
Next review date : 27-Feb-2024
Pending Topics
Magic methods
MRO
list to string
Dict key value swap
Do more practical workouts
Theory : 6
Coding : 3""Review postponed on : 19-Feb-2024
Reason : Incompletion of task
Next review date : 21-Feb-2024
Pending Topics
List operations
Dictionary operations
Do more practicals with dict
Ternary operator
List vs tuple memory management
Generators
Decorators
For loop vs while loop
Theory : 3
Coding : 3""Pendings:
makemigrations and migrate (need more understanding)
revert migration (unapply)
middlewares (need improvement)
context processor
mixin concept
db connection
Score:
Theory:5
Coding:5"
message library concept in django
Joins in sql
relations concept in sql
Durablity and Consistancy in sql
Constructor concept in python
Multilevel inheritance concept
asgi vs wsgi
middlewears in django
Migration commands working
Django session management
Django features
MVT alternatives
Default middleware
Csrf
http request/response format
http methods, status codes
OOPs advantages
Encapsulation
Polymorphism
OOPS workouts
Don’t override python keywords
Find second largest number in a list
Replace first and last char in a string
Find key with longest value in a dict
Purpose of 3 schema
Partial dep
Explore more types in sql
Python
*Singleton
*@classmethod and @staticmethod
*Duck typing
*Filehandling using python
*cls argument in class