Latest Blog Articleshttps://learnbatta.com/Updates on changes and additions to police beat central.en-usSat, 04 Jan 2020 07:28:01 +0000django built in template tagshttps://learnbatta.com/blog/django-built-in-template-tags-109/django built in template tags are very useful in data manipulation, conditional data rendering and template re-usability with template inheritance.https://learnbatta.com/blog/django-built-in-template-tags-109/django forms and it's usagehttps://learnbatta.com/blog/django-forms-and-its-usage-108/Django forms are used to validate the information submitted by the user and send the error responses back to the user if any.https://learnbatta.com/blog/django-forms-and-its-usage-108/kubernetes django app deploymenthttps://learnbatta.com/blog/kubernetes-django-app-deployment-107/Kubernetes has awesome deployment features. Deploying the django application with kubernetes pretty awesome. Let's deploy a django application using kubernetes.https://learnbatta.com/blog/kubernetes-django-app-deployment-107/django forms getting startedhttps://learnbatta.com/blog/django-forms-getting-started-106/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 elementshttps://learnbatta.com/blog/django-forms-getting-started-106/docker 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/