A guide to writing documentation
As a fellow developer, I have spent my share in writing and reading documentation. Since documentation is the foundation for good developer experience, here are a few things that you should consider while writing it.
Where to start?
A great and effic...
Read: https://anonymousblogger.hashnode.dev/a-guide-to-writing-documentation
As a fellow developer, I have spent my share in writing and reading documentation. Since documentation is the foundation for good developer experience, here are a few things that you should consider while writing it.
Where to start?
A great and effic...
Read: https://anonymousblogger.hashnode.dev/a-guide-to-writing-documentation
Top 10 Pros and Cons of using Python for Web Development
Python is a popular programming language that is widely used in web development, scientific computing, data analysis, and many other fields. Here are some of the key advantages and disadvantages of using Python for web development:
Pros:
1. Python ha...
Read: https://giasuddin90.hashnode.dev/top-10-pros-and-cons-of-using-python-for-web-development
Python is a popular programming language that is widely used in web development, scientific computing, data analysis, and many other fields. Here are some of the key advantages and disadvantages of using Python for web development:
Pros:
1. Python ha...
Read: https://giasuddin90.hashnode.dev/top-10-pros-and-cons-of-using-python-for-web-development
Deploying a Django Application to Heroku
You're just a developer who writes code for a small project and hides it from the public. Instead of letting the world know about what you are working on. If you answered yes to this, you are missing out on something big.
Not just one thing, but a lo...
Read: https://mathewsmusukuma.com/deploying-a-django-application-to-heroku-clbp8hmbe000308l32f2q64ph
You're just a developer who writes code for a small project and hides it from the public. Instead of letting the world know about what you are working on. If you answered yes to this, you are missing out on something big.
Not just one thing, but a lo...
Read: https://mathewsmusukuma.com/deploying-a-django-application-to-heroku-clbp8hmbe000308l32f2q64ph
Outreachy: Week two
This article is the second of a series of articles detailing my Outreachy internship experience with Wagtail.
In last week's article about my Outreachy experience, I presented a brief background of myself along with my core values. Additionally, I pr...
Read: https://activuscode.hashnode.dev/outreachy-week-two
This article is the second of a series of articles detailing my Outreachy internship experience with Wagtail.
In last week's article about my Outreachy experience, I presented a brief background of myself along with my core values. Additionally, I pr...
Read: https://activuscode.hashnode.dev/outreachy-week-two
How to change the number of objects (rows) to show in the Django admin change list view?
Note: If you want to read the blog series on Django Admin customization, then click here.
Suppose you have a Book model as given below.
# app_name/models.py
class Book(models.Model):
...
title = models.CharField(max_length=150)
is_activ...
Read: https://blog.devjunction.in/how-to-change-the-number-of-objects-rows-to-show-in-the-django-admin-change-list-view
Note: If you want to read the blog series on Django Admin customization, then click here.
Suppose you have a Book model as given below.
# app_name/models.py
class Book(models.Model):
...
title = models.CharField(max_length=150)
is_activ...
Read: https://blog.devjunction.in/how-to-change-the-number-of-objects-rows-to-show-in-the-django-admin-change-list-view
Introduction to AWS IoT Core Using Python
This Article is for Python Devs who are new to AWS IoT Core. Here I will be sharing an experimental version, How we can use AWS IoT Core for Authentication, Send messages to AWS IoT Core via MQTT and save that messages to Database through AWS Lambda ...
Read: https://prashanthsworld.hashnode.dev/introduction-to-aws-iot-core-using-python
This Article is for Python Devs who are new to AWS IoT Core. Here I will be sharing an experimental version, How we can use AWS IoT Core for Authentication, Send messages to AWS IoT Core via MQTT and save that messages to Database through AWS Lambda ...
Read: https://prashanthsworld.hashnode.dev/introduction-to-aws-iot-core-using-python
How to get started with Python?
Welcome to the world of Python! Python is a popular, high-level programming language known for its simplicity, readability, and versatility. It is used in a variety of fields, including web development, data analysis, artificial intelligence, and sci...
Read: https://technicave.hashnode.dev/how-to-get-started-with-python
Welcome to the world of Python! Python is a popular, high-level programming language known for its simplicity, readability, and versatility. It is used in a variety of fields, including web development, data analysis, artificial intelligence, and sci...
Read: https://technicave.hashnode.dev/how-to-get-started-with-python
Briefly about mongodb
Briefly about mongodb:
import pymongo
#connect_string = localhost
from django.conf import settings
my_client = pymongo.mongoclient(connect_string, 27017)
# First define the database name
dbname = my_clientsample_medicines
# Now get/create the col...
Read: https://linux70.hashnode.dev/briefly-about-mongodb
Briefly about mongodb:
import pymongo
#connect_string = localhost
from django.conf import settings
my_client = pymongo.mongoclient(connect_string, 27017)
# First define the database name
dbname = my_clientsample_medicines
# Now get/create the col...
Read: https://linux70.hashnode.dev/briefly-about-mongodb
What is Django?
Django is a secure and easy-to-learn web framework which follows MVT architecture inspired by MVC(Model-View-Controller) enabling us a quick development process with its built-in admin side, ORM(Object Relational Mapping), etc.
MVT here is Model-View...
Read: https://rajm.hashnode.dev/what-is-django
Django is a secure and easy-to-learn web framework which follows MVT architecture inspired by MVC(Model-View-Controller) enabling us a quick development process with its built-in admin side, ORM(Object Relational Mapping), etc.
MVT here is Model-View...
Read: https://rajm.hashnode.dev/what-is-django
👍1
How to register a model twice in the Django admin?
Note: If you want to read the blog series on Django Admin customization, then click here.
Suppose you have a Book model as given below.
# app_name/models.py
class Book(models.Model):
...
title = models.CharField(max_length=150)
is_activ...
Read: https://blog.devjunction.in/how-to-register-a-model-twice-in-the-django-admin
Note: If you want to read the blog series on Django Admin customization, then click here.
Suppose you have a Book model as given below.
# app_name/models.py
class Book(models.Model):
...
title = models.CharField(max_length=150)
is_activ...
Read: https://blog.devjunction.in/how-to-register-a-model-twice-in-the-django-admin
Deploy a Django application using Gunicorn and Nginx
Differences by responsibility
Django is a web framework used to build web applications.
Gunicorn is an application server which transfers HTTP requests to web applications. It implements WSGI (Web Server Gateway Interface) which works as an interface...
Read: https://akashojha.hashnode.dev/deploy-a-django-application-using-gunicorn-and-nginx
Differences by responsibility
Django is a web framework used to build web applications.
Gunicorn is an application server which transfers HTTP requests to web applications. It implements WSGI (Web Server Gateway Interface) which works as an interface...
Read: https://akashojha.hashnode.dev/deploy-a-django-application-using-gunicorn-and-nginx
Boost your Django skills: Learn how to use super()
The super() keyword is a useful tool in Django, a high-level Python web framework, for working with inheritance in classes. It allows a subclass to refer to its parent class, allowing the subclass to inherit attributes and methods from the parent cla...
Read: https://selftaughtdev.me/boost-your-django-skills-learn-how-to-use-super
The super() keyword is a useful tool in Django, a high-level Python web framework, for working with inheritance in classes. It allows a subclass to refer to its parent class, allowing the subclass to inherit attributes and methods from the parent cla...
Read: https://selftaughtdev.me/boost-your-django-skills-learn-how-to-use-super
Top 5 Optimization Tips to Improve Django Performance
As a popular Python web framework, Django is known for its simplicity and ease of use. However, as with any web framework, performance can be an issue. In this article, we will explore some tips and techniques that can help you optimize your Django a...
Read: https://giasuddin90.hashnode.dev/top-5-optimization-tips-to-improve-django-performance
As a popular Python web framework, Django is known for its simplicity and ease of use. However, as with any web framework, performance can be an issue. In this article, we will explore some tips and techniques that can help you optimize your Django a...
Read: https://giasuddin90.hashnode.dev/top-5-optimization-tips-to-improve-django-performance
👍1
How to setup a Django project
Are you looking to start a Django project but don't know where to begin? Django is a great web development framework for creating web applications quickly and easily. However, without a virtual environment, your project can become messy and difficult...
Read: https://rajm.hashnode.dev/how-to-setup-a-django-project
Are you looking to start a Django project but don't know where to begin? Django is a great web development framework for creating web applications quickly and easily. However, without a virtual environment, your project can become messy and difficult...
Read: https://rajm.hashnode.dev/how-to-setup-a-django-project
How to setup a Django project with MySQL in few minutes
Using the default SQLite in a production environment is not recommended. So, you could use other SQL databases like MySQL, PostgreSQL, etc or No-SQL databases like MongoDB, Firebase, Redis, etc.
Here I'll demonstrate how you could use MySQL as a data...
Read: https://rajm.hashnode.dev/how-to-setup-a-django-project-with-mysql-in-few-minutes
Using the default SQLite in a production environment is not recommended. So, you could use other SQL databases like MySQL, PostgreSQL, etc or No-SQL databases like MongoDB, Firebase, Redis, etc.
Here I'll demonstrate how you could use MySQL as a data...
Read: https://rajm.hashnode.dev/how-to-setup-a-django-project-with-mysql-in-few-minutes
👍1
Build a Blog API With JWT Authentication Using Django Rest Framework
Django REST framework is a powerful and flexible toolkit for building Web APIs. You can easily build a REST API using DRF and consume the endpoints from a React, Angular, or other Frontend application. DRF provides a lot of features out of the box to...
Read: https://documatic.hashnode.dev/build-a-blog-api-with-jwt-authentication-using-django-rest-framework
Django REST framework is a powerful and flexible toolkit for building Web APIs. You can easily build a REST API using DRF and consume the endpoints from a React, Angular, or other Frontend application. DRF provides a lot of features out of the box to...
Read: https://documatic.hashnode.dev/build-a-blog-api-with-jwt-authentication-using-django-rest-framework
Documatic
Build a Blog API With JWT Authentication Using Django Rest Framework
Django REST framework is a powerful and flexible toolkit for building Web APIs. You can easily build a REST API using DRF and consume the endpoints from a React, Angular, or other Frontend application. DRF provides a lot of features out of the box to...
Understanding Django translation mechanism
Let's try to understand django translation mechanism. Firstly, django uses a widely used mechanism in most open-source software, which is gettext, so it's not unique to django alone. Many other open-source software also using gettext as their transla...
Read: https://grep.koditi.my/understanding-django-translation-mechanism
Let's try to understand django translation mechanism. Firstly, django uses a widely used mechanism in most open-source software, which is gettext, so it's not unique to django alone. Many other open-source software also using gettext as their transla...
Read: https://grep.koditi.my/understanding-django-translation-mechanism
Kamal's Blog
Understanding Django translation mechanism
Let's try to understand django translation mechanism. Firstly, django uses a widely used mechanism in most open-source software, which is gettext, so it's not unique to django alone. Many other open-source software also using gettext as their transla...
Django Web Framework and its MVT architecture
My first experience with Django was very challenging, maybe because I needed to use this web framework to develop an e-commerce website quickly in one of my projects. I’ve been writing in python for a while now and then I thought Django would be easy...
Read: https://savviesammie.hashnode.dev/django-web-framework-and-its-mvt-architecture
My first experience with Django was very challenging, maybe because I needed to use this web framework to develop an e-commerce website quickly in one of my projects. I’ve been writing in python for a while now and then I thought Django would be easy...
Read: https://savviesammie.hashnode.dev/django-web-framework-and-its-mvt-architecture
Django Proxy Inheritance
Proxy Inheritance This style is used if you only want to change the behavior of the model at the python level without changing the fields of the model. You inherit from the base class and can add your own properties other than fields. The base class ...
Read: https://linux70.hashnode.dev/django-proxy-inheritance
Proxy Inheritance This style is used if you only want to change the behavior of the model at the python level without changing the fields of the model. You inherit from the base class and can add your own properties other than fields. The base class ...
Read: https://linux70.hashnode.dev/django-proxy-inheritance
👍1
How to use mixins, Viewsets & Routers to create a Todo API in Django Rest Framework
Introduction
Following this link: https://emmakodes.com/build-a-todo-api-backend-using-generic-class-based-views-in-django-rest-framework we implemented a Todo API using Generic class-based views in Django Rest Framework.
In this article, we will see...
Read: https://emmakodes.com/how-to-use-mixins-viewsets-routers-to-create-a-todo-api-in-django-rest-framework
Introduction
Following this link: https://emmakodes.com/build-a-todo-api-backend-using-generic-class-based-views-in-django-rest-framework we implemented a Todo API using Generic class-based views in Django Rest Framework.
In this article, we will see...
Read: https://emmakodes.com/how-to-use-mixins-viewsets-routers-to-create-a-todo-api-in-django-rest-framework