Outreachy: Week three
I can't believe we’re only three days away from Christmas. There's no doubt that you're all happy to finally have a holiday where you can celebrate and have some fun. You probably think the same about me, too. Oh well, I'm sorry to disappoint you. It...
Read: https://activuscode.hashnode.dev/outreachy-week-three
I can't believe we’re only three days away from Christmas. There's no doubt that you're all happy to finally have a holiday where you can celebrate and have some fun. You probably think the same about me, too. Oh well, I'm sorry to disappoint you. It...
Read: https://activuscode.hashnode.dev/outreachy-week-three
Boost Your Django App's Performance with Caching
Using Django's cache framework can significantly improve the performance of your application by allowing you to store the result of expensive computations or frequently accessed data in memory, rather than recalculating or querying the data each time...
Read: https://maxzeno.hashnode.dev/boost-your-django-apps-performance-with-caching
Using Django's cache framework can significantly improve the performance of your application by allowing you to store the result of expensive computations or frequently accessed data in memory, rather than recalculating or querying the data each time...
Read: https://maxzeno.hashnode.dev/boost-your-django-apps-performance-with-caching
How to setup django project with virtual environment
What is django?
Django is a powerful web framework for Python that allows developers to build dynamic and robust web applications quickly. In this tutorial, we will go over the steps to set up a Django project from scratch.
Before we get started, mak...
Read: https://nileshdarji.hashnode.dev/how-to-setup-django-project-with-virtual-environment
What is django?
Django is a powerful web framework for Python that allows developers to build dynamic and robust web applications quickly. In this tutorial, we will go over the steps to set up a Django project from scratch.
Before we get started, mak...
Read: https://nileshdarji.hashnode.dev/how-to-setup-django-project-with-virtual-environment
Deploying Django Apps with AWS Copilot
AWS is a powerful and comprehensive platform that can be very useful for many types of projects. However, it can be overwhelming for some developers. It can be difficult to understand how all the different pieces fit together, and it can be time-cons...
Read: https://blog.hypeforms.io/deploying-django-apps-with-aws-copilot
AWS is a powerful and comprehensive platform that can be very useful for many types of projects. However, it can be overwhelming for some developers. It can be difficult to understand how all the different pieces fit together, and it can be time-cons...
Read: https://blog.hypeforms.io/deploying-django-apps-with-aws-copilot
👍1
Build a Custom Command Line Tool with Django's Management Commands
Sure, here's a detailed guide on how to build a command line tool using Django's management commands.
First, let's start by creating a new Django project and app:
$ django-admin startproject myproject
$ cd myproject
$ python manage.py startapp myapp
...
Read: https://maxzeno.hashnode.dev/build-a-custom-command-line-tool-with-djangos-management-commands
Sure, here's a detailed guide on how to build a command line tool using Django's management commands.
First, let's start by creating a new Django project and app:
$ django-admin startproject myproject
$ cd myproject
$ python manage.py startapp myapp
...
Read: https://maxzeno.hashnode.dev/build-a-custom-command-line-tool-with-djangos-management-commands
Django Rest Framework Tutorial: Todo API
Django REST framework is a powerful and flexible toolkit for building Web APIs. It is a powerful library that sits on top of existing Django projects to add robust web APIs. If you have an existing Django project with only models and a database--no v...
Read: https://zeepy.hashnode.dev/django-rest-framework-tutorial-todo-api
Django REST framework is a powerful and flexible toolkit for building Web APIs. It is a powerful library that sits on top of existing Django projects to add robust web APIs. If you have an existing Django project with only models and a database--no v...
Read: https://zeepy.hashnode.dev/django-rest-framework-tutorial-todo-api
Django Admin 101: How to Add Custom Actions to the Model List View?
Hey everyone!
If you're a Django developer, you're probably familiar with the Django Admin interface. It's a built-in tool that allows you to manage your Django project's data through a web interface, making it easy to perform CRUD (create, read, upd...
Read: https://blog.devjunction.in/django-admin-101-how-to-add-custom-actions-to-the-model-list-view
Hey everyone!
If you're a Django developer, you're probably familiar with the Django Admin interface. It's a built-in tool that allows you to manage your Django project's data through a web interface, making it easy to perform CRUD (create, read, upd...
Read: https://blog.devjunction.in/django-admin-101-how-to-add-custom-actions-to-the-model-list-view
Boost Your Django Project with Custom Model Forms
Hey everyone!
If you're working with Django, you know that the Django Admin interface is a powerful tool for managing your project's data. But did you know that you can also customize the forms used in the admin interface to fit your specific needs?
...
Read: https://blog.devjunction.in/boost-your-django-project-with-custom-model-forms
Hey everyone!
If you're working with Django, you know that the Django Admin interface is a powerful tool for managing your project's data. But did you know that you can also customize the forms used in the admin interface to fit your specific needs?
...
Read: https://blog.devjunction.in/boost-your-django-project-with-custom-model-forms
How to create Custom Django Admin List Filters?
Hey everyone!
If you're using Django Admin to manage your project's data, you know that the ability to filter and organize your models is crucial. That's where list filters come in.
List filters are a built-in feature of Django Admin that allows you ...
Read: https://blog.devjunction.in/how-to-create-custom-django-admin-list-filters
Hey everyone!
If you're using Django Admin to manage your project's data, you know that the ability to filter and organize your models is crucial. That's where list filters come in.
List filters are a built-in feature of Django Admin that allows you ...
Read: https://blog.devjunction.in/how-to-create-custom-django-admin-list-filters
Django Admin Customization: Adding Custom Views in Django admin
Hey everyone!
If you're a Django developer, you know that the Django Admin interface is a convenient tool for managing your project's data. But did you know that you can also add custom views to Django Admin to expand its functionality?
Custom views ...
Read: https://blog.devjunction.in/django-admin-customization-adding-custom-views-in-django-admin
Hey everyone!
If you're a Django developer, you know that the Django Admin interface is a convenient tool for managing your project's data. But did you know that you can also add custom views to Django Admin to expand its functionality?
Custom views ...
Read: https://blog.devjunction.in/django-admin-customization-adding-custom-views-in-django-admin
Mastering Advanced Django Testing Techniques
Testing is a crucial aspect of software development, and Django provides several tools and techniques to make it easier for developers to write and maintain high-quality tests for their applications. In this article, we'll explore some advanced Djang...
Read: https://maxzeno.hashnode.dev/mastering-advanced-django-testing-techniques
Testing is a crucial aspect of software development, and Django provides several tools and techniques to make it easier for developers to write and maintain high-quality tests for their applications. In this article, we'll explore some advanced Djang...
Read: https://maxzeno.hashnode.dev/mastering-advanced-django-testing-techniques
How I migrated my Python Django project to Docker
Docker is great, ever since I learnt about docker I have developed a great liking for it. My organization does not use docker yet, and cannot say how long they are not going to, especially after my newfound interest in docker.
Steps involved:
Mainta...
Read: https://vijayrai.hashnode.dev/how-i-migrated-my-python-django-project-to-docker
Docker is great, ever since I learnt about docker I have developed a great liking for it. My organization does not use docker yet, and cannot say how long they are not going to, especially after my newfound interest in docker.
Steps involved:
Mainta...
Read: https://vijayrai.hashnode.dev/how-i-migrated-my-python-django-project-to-docker
Never Worry About Inconsistent Coding Styles Again: Introducing .editorconfig ✨
The .editorconfig file is a simple configuration file that helps developers define and maintain consistent coding styles between different editors and IDEs. It is a plain text file that can be placed in the root directory of a project, and specifies ...
Read: https://selftaughtdev.me/never-worry-about-inconsistent-coding-styles-again-introducing-editorconfig
The .editorconfig file is a simple configuration file that helps developers define and maintain consistent coding styles between different editors and IDEs. It is a plain text file that can be placed in the root directory of a project, and specifies ...
Read: https://selftaughtdev.me/never-worry-about-inconsistent-coding-styles-again-introducing-editorconfig
Effortlessly improve the quality and consistency of your code with these pre-commit Hooks!
Using pre-commit tools can be a great way to improve the quality and consistency of your code, as well as streamline your development workflow. Pre-commit tools are tools that run automatically before you commit your code changes to a version control...
Read: https://selftaughtdev.me/effortlessly-improve-the-quality-and-consistency-of-your-code-with-these-pre-commit-hooks
Using pre-commit tools can be a great way to improve the quality and consistency of your code, as well as streamline your development workflow. Pre-commit tools are tools that run automatically before you commit your code changes to a version control...
Read: https://selftaughtdev.me/effortlessly-improve-the-quality-and-consistency-of-your-code-with-these-pre-commit-hooks
How to build your own API to detect toxic comment
Introduction
Toxicity is anything rude, disrespectful, or otherwise likely to make someone leave a discussion. We will use Django Rest Framework to build the API.
See how the API works:
When I enter a comment, for Example: "trash stuff" as seen below...
Read: https://emmakodes.com/how-to-build-your-own-api-to-detect-toxic-comment
Introduction
Toxicity is anything rude, disrespectful, or otherwise likely to make someone leave a discussion. We will use Django Rest Framework to build the API.
See how the API works:
When I enter a comment, for Example: "trash stuff" as seen below...
Read: https://emmakodes.com/how-to-build-your-own-api-to-detect-toxic-comment
What are fixtures and how to use it in Django?
Introduction
In Django, fixtures are used to populate the database with initial data. This can be helpful for testing purposes or for setting up a new project with a specific set of data. In this article, we'll explore how to load or dump fixtures in...
Read: https://blog.devjunction.in/what-are-fixtures-and-how-to-use-it-in-django
Introduction
In Django, fixtures are used to populate the database with initial data. This can be helpful for testing purposes or for setting up a new project with a specific set of data. In this article, we'll explore how to load or dump fixtures in...
Read: https://blog.devjunction.in/what-are-fixtures-and-how-to-use-it-in-django
Integrate Stripe Payments with Django By Building a Digital Products Selling App
One of the great features of online selling is being able to process payments online. With the ever-growing online businesses, having a good payment processing system is necessary. Online selling has a lot of advantages among which are; low start-up ...
Read: https://documatic.hashnode.dev/integrate-stripe-payments-with-django-by-building-a-digital-products-selling-app
One of the great features of online selling is being able to process payments online. With the ever-growing online businesses, having a good payment processing system is necessary. Online selling has a lot of advantages among which are; low start-up ...
Read: https://documatic.hashnode.dev/integrate-stripe-payments-with-django-by-building-a-digital-products-selling-app
Integrating Django with GraphQL
Django is a popular web framework for building robust and scalable web applications. It provides a wide range of features for building web applications, including an ORM, templating engine, and routing system. However, with the rise of GraphQL, many ...
Read: https://maxzeno.hashnode.dev/integrating-django-with-graphql
Django is a popular web framework for building robust and scalable web applications. It provides a wide range of features for building web applications, including an ORM, templating engine, and routing system. However, with the rise of GraphQL, many ...
Read: https://maxzeno.hashnode.dev/integrating-django-with-graphql
Get Access to Your Remote PostgreSQL Database running on VPS in No Time: Here's How
Connecting to a PostgreSQL database running on an Ubuntu VPS from a local machine using VS Code involves the following steps:
Install the "PostgreSQL" extension in VS Code:
it should look like the below screenshot.👇
Click "Install" to install...
Read: https://selftaughtdev.me/get-access-to-your-remote-postgresql-database-running-on-vps-in-no-time-heres-how
Connecting to a PostgreSQL database running on an Ubuntu VPS from a local machine using VS Code involves the following steps:
Install the "PostgreSQL" extension in VS Code:
it should look like the below screenshot.👇
Click "Install" to install...
Read: https://selftaughtdev.me/get-access-to-your-remote-postgresql-database-running-on-vps-in-no-time-heres-how
👍1
Wagtail get parent page gotchas (tldr; use specific property)
I was implementing a tag page, a page for listing blog entries for a particular tag using RoutablePageMixin.
class BlogIndexPage(RoutablePageMixin, Page):
intro = models.CharField(max_length=250)
content_panels = Page.content_panels + [
...
Read: https://grep.koditi.my/wagtail-get-parent-page-gotchas-tldr-use-specific-property
I was implementing a tag page, a page for listing blog entries for a particular tag using RoutablePageMixin.
class BlogIndexPage(RoutablePageMixin, Page):
intro = models.CharField(max_length=250)
content_panels = Page.content_panels + [
...
Read: https://grep.koditi.my/wagtail-get-parent-page-gotchas-tldr-use-specific-property