Latest Blog Articles on changes and additions to police beat central.en-usSun, 24 Nov 2019 12:10:44 +0000docker compose for django compose is used to deploy multiple services in the containers like Django application, PostgreSQL database and Running Migrations. struct convert unix timestamp to date string's quickly check how we can convert unix timestamp or epoch time to date string in a Go language. model CRUD operations's do CRUD operations on django model. Let's write basic queries like insert, update and delete queries using django ORM. flask app inside docker is container platform is used by hundreds of develops and system admins to build, share and run applications. create table from model create table in the database with django is to create a django model with all required fields and then create migrations and apply them. database connectivity supports various relational databases like SQLite, mySQL, PostgreSQL, Oracle. Django is completely designed for Relational Databases template using if...elif...else can use if...elif..else conditionals in django template. The only difference between python code and django template code is it's syntax. template for loop provides a template tag "for" to provide the for loop functionality in django templates. pass data from view to template seperate business logic from presentational logic. We write business logic in views and we pass data to templates to present the data. in Django Rest Framework in Django Rest are used to give response to a request with specific media type like JSON, XML, YAML, etc. in Django Rest Framework in Django Rest are used to parse the content of incoming HTTP request. Parsers can parse different HTTP content types like "applicaion/json", etc. basics in ubuntu is a opensource database software it helps users to store, organise and retrieve data. in Django Rest Framework are used with ViewSets in django rest framework to auto config the urls. Routers provides a simple, quick and consistent way of wiring up url config. send email using mailgun api can send email in django using mailgun api. Mailgun is one of the trusted email service providers. in Django Rest Framework allows us to combine the logic for a set of related views in a single class "ViewSet". ViewSets can speed-up the development and better maintainability.