Latest Blog Articleshttps://learnbatta.com/Updates on changes and additions to police beat central.en-usSun, 24 Nov 2019 12:10:44 +0000docker compose for djangohttps://learnbatta.com/blog/docker-compose-for-django-96/Docker compose is used to deploy multiple services in the containers like Django application, PostgreSQL database and Running Migrations.https://learnbatta.com/blog/docker-compose-for-django-96/golang struct convert unix timestamp to date stringhttps://learnbatta.com/blog/golang-struct-convert-unix-time-to-date-string-97/Let's quickly check how we can convert unix timestamp or epoch time to date string in a Go language.https://learnbatta.com/blog/golang-struct-convert-unix-time-to-date-string-97/django model CRUD operationshttps://learnbatta.com/blog/django-model-crud-operations-105/Let's do CRUD operations on django model. Let's write basic queries like insert, update and delete queries using django ORM.https://learnbatta.com/blog/django-model-crud-operations-105/running flask app inside dockerhttps://learnbatta.com/blog/running-flask-app-inside-docker-103/Docker is container platform is used by hundreds of develops and system admins to build, share and run applications.https://learnbatta.com/blog/running-flask-app-inside-docker-103/django create table from modelhttps://learnbatta.com/blog/django-create-table-from-model-104/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.https://learnbatta.com/blog/django-create-table-from-model-104/django database connectivityhttps://learnbatta.com/blog/django-database-connectivity-102/Django supports various relational databases like SQLite, mySQL, PostgreSQL, Oracle. Django is completely designed for Relational Databaseshttps://learnbatta.com/blog/django-database-connectivity-102/django template using if...elif...elsehttps://learnbatta.com/blog/django-template-using-if-elif-else-101/We can use if...elif..else conditionals in django template. The only difference between python code and django template code is it's syntax.https://learnbatta.com/blog/django-template-using-if-elif-else-101/Django template for loophttps://learnbatta.com/blog/django-template-for-loop-100/Django provides a template tag "for" to provide the for loop functionality in django templates.https://learnbatta.com/blog/django-template-for-loop-100/django pass data from view to templatehttps://learnbatta.com/blog/django-pass-data-from-view-to-template-99/we seperate business logic from presentational logic. We write business logic in views and we pass data to templates to present the data.https://learnbatta.com/blog/django-pass-data-from-view-to-template-99/renderers in Django Rest Frameworkhttps://learnbatta.com/blog/renderers-in-django-rest-framework-86/renderers in Django Rest are used to give response to a request with specific media type like JSON, XML, YAML, etc.https://learnbatta.com/blog/renderers-in-django-rest-framework-86/parsers in Django Rest Frameworkhttps://learnbatta.com/blog/parsers-in-django-rest-framework-85/parsers in Django Rest are used to parse the content of incoming HTTP request. Parsers can parse different HTTP content types like "applicaion/json", etc.https://learnbatta.com/blog/parsers-in-django-rest-framework-85/mysql basics in ubuntuhttps://learnbatta.com/blog/mysql-basics-in-ubuntu-98/MySQL is a opensource database software it helps users to store, organise and retrieve data.https://learnbatta.com/blog/mysql-basics-in-ubuntu-98/routers in Django Rest Frameworkhttps://learnbatta.com/blog/routers-in-django-rest-framework-84/Routers 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.https://learnbatta.com/blog/routers-in-django-rest-framework-84/django send email using mailgun apihttps://learnbatta.com/blog/django-send-email-using-mailgun-api-94/We can send email in django using mailgun api. Mailgun is one of the trusted email service providers.https://learnbatta.com/blog/django-send-email-using-mailgun-api-94/viewsets in Django Rest Frameworkhttps://learnbatta.com/blog/viewsets-in-django-rest-framework-83/DRF 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.https://learnbatta.com/blog/viewsets-in-django-rest-framework-83/