Programming

Python Programming
Python Programming

Frameworks

Django Framework
Django Framework
Django REST Framework
Django REST Framework

Latest Blog Articles

django built in template tags

django built in template tags
Django built in template tags are very useful in data manipulation, conditional data rendering and templates re-usability with template inheritance. We should follow smart ways to make our development life ease and consistent. While working with django templates we can make use of django built-in template tags render the templates in smart way and reuse the templates wherever required.

Read more

django forms and it's usage

django forms and it's usage
Django forms are used to validate the information submitted by the user and send the error responses back to the user if any and allow valid information inserted into the database.

Read more

kubernetes django app deployment

kubernetes django app deployment
Kubernetes has awesome deployment features. Deploying the django application with kubernetes even more awesome. Let's deploy a django application using kubernetes.

Read more

django forms getting started

django forms getting started
django forms are allow user to enter the data and send it to the server to use it further. django forms are powerful and generates the html form elements which simplifies developers life easy.

Read more

docker compose for django

docker compose for django
Docker compose is used to deploy multiple services in the containers like Django application, PostgreSQL database and Running Django Migrations to create table in the database.

Read more

golang struct convert unix timestamp to date string

golang struct convert unix timestamp to date string
Let's quickly check how we can convert unix timestamp to date string in a Go language. You may already used the unix timestamp, but let's quickly go through what is a unix timestamp ? the Unix timestamp is a way to track time as a running total of seconds. This count starts at the Unix Epoch on January 1st, 1970 at UTC.

Read more

django model CRUD operations

django model CRUD operations
Let's do CRUD operations on django model. Let's write basic queries like insert, update and delete queries using django ORM.

Read more

running flask app inside docker

running flask app inside docker
Docker is container platform is used by hundreds of develops and system admins to build, share and run applications. Let's get started with docker and running a simple flask application using the docker.

Read more

django create table from model

django create table from model
Django made creating the tables in the database very simple with its built-in ORM. To create table in the database with django is to create a django model with all required fields and then create migrations and apply them. Let's jump-in learn how to create database table with django model.

Read more

django database connectivity

django database connectivity
Django supports various relational databases like SQLite, mySQL, PostgreSQL, Oracle. Django is completely designed for Relational Databases so it does not support non-relational databases like mongoDB directly

Read more

django template using if...elif...else

django template using if...elif...else
We can use if...elif..else conditionals in django template. The only difference between python code and django template code is it's syntax. It's similar to python code.

Read more

Django template for loop

Django template for loop
Django provides a template tag "for" to provide the for loop functionality in django templates. By using the for loop template tag we can iterate over lists, tuples, dict's just like we do in python programs.

Read more

django pass data from view to template

django pass data from view to template
As we know django is a MVC framework. So, we seperate business logic from presentational logic. We write business logic in views and we pass data to templates to present the data.

Read more

renderers in Django Rest Framework

renderers in Django Rest Framework
Renderers are used to serialize the response into a specific media type like JSON, XML, YAML, etc. Django REST Framework provides various built-in renderer classes and it also supports to write a custom renderer. We specify renderers as an iterable type (i.e tuple, list, set, etc.). It means we can use multiple renderers for a single view/viewset.

Read more

parsers in Django Rest Framework

parsers in Django Rest Framework
Parsers in Django REST are used to parse the content of incoming HTTP request. In HTTP request we recieve the data as a string format. Parsers will parse the HTTP contetns in to python data types based on the Content-Type header recieved in the HTTP request. Django REST Framework provides a number of built-in parsers which parses different types of

Read more

Read More Blog Posts