Conditional Display of Fields in Wagtail Admin
There may be times when you need to conditionally hide or show some fields in the Wagtail Page Editor. This post illustrates one approach to achieve this, using JavaScript.
💡
This post has an accompanying GitHub repo at github.com/engineervix/blog-...
Read: https://blog.victor.co.zm/conditional-display-of-fields-in-wagtail-admin
@django_prog
There may be times when you need to conditionally hide or show some fields in the Wagtail Page Editor. This post illustrates one approach to achieve this, using JavaScript.
💡
This post has an accompanying GitHub repo at github.com/engineervix/blog-...
Read: https://blog.victor.co.zm/conditional-display-of-fields-in-wagtail-admin
@django_prog
👍2
Django URLs and Views
Django stands as a powerhouse web framework for Python, empowering developers to craft robust and scalable web applications. Django's URL routing system is like a map that guides incoming web requests to the right place in your Django application. In...
Read: https://poojadanu.hashnode.dev/django-urls-and-views
@django_prog
Django stands as a powerhouse web framework for Python, empowering developers to craft robust and scalable web applications. Django's URL routing system is like a map that guides incoming web requests to the right place in your Django application. In...
Read: https://poojadanu.hashnode.dev/django-urls-and-views
@django_prog
The Django ORM: The Magic between the Application and the Database
Introduction
Applications that constitute a database allow users to interact with the application’s data through Object Relational Mappers (ORMs). ORMs are the intermediaries between an application and a database. They provide a set of functionality...
Read: https://nickoch.hashnode.dev/the-django-orm-the-magic-between-the-application-and-the-database
@django_prog
Introduction
Applications that constitute a database allow users to interact with the application’s data through Object Relational Mappers (ORMs). ORMs are the intermediaries between an application and a database. They provide a set of functionality...
Read: https://nickoch.hashnode.dev/the-django-orm-the-magic-between-the-application-and-the-database
@django_prog
Troubleshooting AJAX Cart Item Deletion in Django: Items Not Removing from Cart
I am getting problem during deleting product from cart In my cart.html: This is the delete button I created. Now also I created j...
Read: https://sagarmoy.hashnode.dev/troubleshooting-ajax-cart-item-deletion-in-django-items-not-removing-from-cart
@django_prog
I am getting problem during deleting product from cart In my cart.html: This is the delete button I created. Now also I created j...
Read: https://sagarmoy.hashnode.dev/troubleshooting-ajax-cart-item-deletion-in-django-items-not-removing-from-cart
@django_prog
How to centralize and visualize your app logs in Grafana
You're tired of sshing into your server, cding into your log directory and using cat or vim to struggle and find logs for your application.
This is what we were doing at Emilio at first, then Loki came into our lives and changed everything.
If this i...
Read: https://getemilio.hashnode.dev/how-to-centralize-and-visualize-your-app-logs-in-grafana
@django_prog
You're tired of sshing into your server, cding into your log directory and using cat or vim to struggle and find logs for your application.
This is what we were doing at Emilio at first, then Loki came into our lives and changed everything.
If this i...
Read: https://getemilio.hashnode.dev/how-to-centralize-and-visualize-your-app-logs-in-grafana
@django_prog
JWT Custom Authentication for Django Application
Introduction
What is the good of a web application without an efficient authentication system?
In this article, I will share how to create a simple and effective authentication for your Django web application.
By default, Django uses the built-in bas...
Read: https://chryzcode.hashnode.dev/jwt-custom-authentication-for-django-application
@django_prog
Introduction
What is the good of a web application without an efficient authentication system?
In this article, I will share how to create a simple and effective authentication for your Django web application.
By default, Django uses the built-in bas...
Read: https://chryzcode.hashnode.dev/jwt-custom-authentication-for-django-application
@django_prog
👍1
How to building a CRUD app using Django REST Framework
Django REST Framework (DRF) is a django framework that allows developers to quickly and easily build APIs.Today we'll be using DRF to build a movies review app.Before we dive into the specifics of the Movie Review App, let's briefly recap what CRUD o...
Read: https://ericwth.hashnode.dev/how-to-building-a-crud-app-using-django-rest-framework
@django_prog
Django REST Framework (DRF) is a django framework that allows developers to quickly and easily build APIs.Today we'll be using DRF to build a movies review app.Before we dive into the specifics of the Movie Review App, let's briefly recap what CRUD o...
Read: https://ericwth.hashnode.dev/how-to-building-a-crud-app-using-django-rest-framework
@django_prog
👍2
Introduction to Django Templates
In Django , templates are crucial for creating the static parts of web pages. They serve as the foundation or skeleton on which the dynamic content is added. Templates make Django follow the MVT (Model-View-Template) architecture: models handle data,...
Read: https://poojadanu.hashnode.dev/introduction-to-django-templates
@django_prog
In Django , templates are crucial for creating the static parts of web pages. They serve as the foundation or skeleton on which the dynamic content is added. Templates make Django follow the MVT (Model-View-Template) architecture: models handle data,...
Read: https://poojadanu.hashnode.dev/introduction-to-django-templates
@django_prog
👍3
Automating Django , Celery , Redis and postgres deployment to AWS EC2 using Terraform ( Complete Guide)
DevOps automation is the addition of technology that performs tasks with reduced human assistance to processes that facilitate feedback loops between operations and development teams so that iterative updates can be deployed faster to applications in...
Read: https://joelwembo.hashnode.dev/automating-django-celery-redis-and-postgres-deployment-to-aws-ec2-using-terraform-complete-guide
@django_prog
DevOps automation is the addition of technology that performs tasks with reduced human assistance to processes that facilitate feedback loops between operations and development teams so that iterative updates can be deployed faster to applications in...
Read: https://joelwembo.hashnode.dev/automating-django-celery-redis-and-postgres-deployment-to-aws-ec2-using-terraform-complete-guide
@django_prog
👍2
Launching IdeaVerify to Streamline Idea Validation - My #BuildInPublic Journey
Introduction
I'm finally going to start my #buildinpublic journey! On the journey you will see how I came across a problem, how I chose to solve it and finally how to launch! Each week I'll post what I've worked on and share what I built, so others c...
Read: https://rcmisk.com/launching-ideaverify-to-streamline-idea-validation-my-buildinpublic-journey
@django_prog
Introduction
I'm finally going to start my #buildinpublic journey! On the journey you will see how I came across a problem, how I chose to solve it and finally how to launch! Each week I'll post what I've worked on and share what I built, so others c...
Read: https://rcmisk.com/launching-ideaverify-to-streamline-idea-validation-my-buildinpublic-journey
@django_prog
❤1
Django Templates - 2
Template inheritance
Template inheritance allows you to create a base template with common elements and then create child templates that extend this base template and provide specific content for different pages of your website.
By using template inh...
Read: https://poojadanu.hashnode.dev/django-templates-2
@django_prog
Template inheritance
Template inheritance allows you to create a base template with common elements and then create child templates that extend this base template and provide specific content for different pages of your website.
By using template inh...
Read: https://poojadanu.hashnode.dev/django-templates-2
@django_prog
Demystifying Django Channels: Unleashing Real-Time Power in Your Web Apps
What is Django?
Before we delve into the exciting world of Django Channels, let's establish a foundation. Django is a free and open-source web framework built with Python. Imagine it as a powerful toolkit that streamlines the development process for ...
Read: https://lmapunzwana.hashnode.dev/demystifying-django-channels-unleashing-real-time-power-in-your-web-apps
@django_prog
What is Django?
Before we delve into the exciting world of Django Channels, let's establish a foundation. Django is a free and open-source web framework built with Python. Imagine it as a powerful toolkit that streamlines the development process for ...
Read: https://lmapunzwana.hashnode.dev/demystifying-django-channels-unleashing-real-time-power-in-your-web-apps
@django_prog
Django models
A Django model is a core component that Django employs to generate database tables, their fields, and diverse constraints. Put simply, Django Models serve as the SQL Database utilized within Django applications.Django models represent database tables...
Read: https://poojadanu.hashnode.dev/django-models
@django_prog
A Django model is a core component that Django employs to generate database tables, their fields, and diverse constraints. Put simply, Django Models serve as the SQL Database utilized within Django applications.Django models represent database tables...
Read: https://poojadanu.hashnode.dev/django-models
@django_prog
How to build a basic API using FastAPI?
Back then, if you needed to build a website or API in Python, the choices would be Flask or Django. Both are excellent options no doubt, however in recent times for APIs and machine learning backends, FastAPI seems to be the most popular choice.
I wo...
Read: https://kevincoder.co.za/how-to-build-a-basic-api-using-fastapi
@django_prog
Back then, if you needed to build a website or API in Python, the choices would be Flask or Django. Both are excellent options no doubt, however in recent times for APIs and machine learning backends, FastAPI seems to be the most popular choice.
I wo...
Read: https://kevincoder.co.za/how-to-build-a-basic-api-using-fastapi
@django_prog
Why Async Django Is The Future of Python Web Development
Introduction
Async Django is an extension of the popular Django web framework that adds support for writing asynchronous code using Python’s async/await syntax. Async/await is a feature added in Python 3.5 that allows for more efficient use of system...
Read: https://denislearns.tech/async-django
@django_prog
Introduction
Async Django is an extension of the popular Django web framework that adds support for writing asynchronous code using Python’s async/await syntax. Async/await is a feature added in Python 3.5 that allows for more efficient use of system...
Read: https://denislearns.tech/async-django
@django_prog
Django Admin Panel
The Django admin panel is a powerful tool provided by Django that allows you to manage your application's data without writing custom views or templates. It automatically generates an admin interface based on your models.To use the admin panel:
Crea...
Read: https://poojadanu.hashnode.dev/django-admin-panel
@django_prog
The Django admin panel is a powerful tool provided by Django that allows you to manage your application's data without writing custom views or templates. It automatically generates an admin interface based on your models.To use the admin panel:
Crea...
Read: https://poojadanu.hashnode.dev/django-admin-panel
@django_prog
A Practical Approach to Unit Testing in Django REST Framework
More often than not, you would encounter a bug when your app is in production. Sometimes the bug is easy to fix, sometimes it’s not. But many times, after shipping the fix, you realize that a different part of your app is broken.
This is very common ...
Read: https://mlsaunilag.hashnode.dev/a-practical-approach-to-unit-testing-in-django-rest-framework
@django_prog
More often than not, you would encounter a bug when your app is in production. Sometimes the bug is easy to fix, sometimes it’s not. But many times, after shipping the fix, you realize that a different part of your app is broken.
This is very common ...
Read: https://mlsaunilag.hashnode.dev/a-practical-approach-to-unit-testing-in-django-rest-framework
@django_prog
👍2
Welcome our new Fellow - Sarah Boyce
The DSF Board and Fellows Committee are pleased to introduce Sarah Boyce as our new Django Fellow. Sarah will be joining Natalia Bidart who is continuing her excellent tenure as a Fellow.
Sarah is a senior developer and developer advocate with 5 years of experience developing with Django under her belt. She graduated with a first class honours degree in Mathematics from the University of Bath, and transitioned in software development in her first job out of school.
Sarah first worked as a client project focused developer, where she gained experience directly dealing with requests from clients as well as managing our own internal ticketing system for feature/bug reports. A stint as a backend developer using Django and DRF provided a grounding in working on long term challenges on a single project. Most recently Sarah has been a developer advocate focused on creating content on and about Django and Django development.
For the past several years, Sarah has been a very active member of the Django community. She has a history of producing well researched and written patches for Django, as well as on a number of highly used third party packages. Sarah is a member of the Django Review and Triage team, helping others to get their patches over the line and into Django. She also finds time to participate in and create content for Django meetups, conferences, and the Django News newsletter.
Sarah is also a Co-Founder and Co-Organiser of Djangonaut Space, the mentorship program developing future contributors to Django and other Django related packages. Djangonaut Space was awarded the 2023 Malcolm Tredinnick Memorial Prize.
Please join me in welcoming and wishing Sarah well as the new Fellow.
Thank you to all of the applicants to the Fellowship. We hope that we will be able to expand the Fellowship program in the future, and knowing that there are more excellent candidates gives us confidence in working towards that goal.
Finally our deepest thanks and gratitude goes to Mariusz Felisiak. Mariusz is stepping down from the Fellowship after 5 years of dedicated service in order to focus on other areas of the Django and wider world. We wish you well Mariusz.
Read: https://www.djangoproject.com/weblog/2024/mar/22/welcome-our-new-fellow-sarah-boyce/
@django_prog
The DSF Board and Fellows Committee are pleased to introduce Sarah Boyce as our new Django Fellow. Sarah will be joining Natalia Bidart who is continuing her excellent tenure as a Fellow.
Sarah is a senior developer and developer advocate with 5 years of experience developing with Django under her belt. She graduated with a first class honours degree in Mathematics from the University of Bath, and transitioned in software development in her first job out of school.
Sarah first worked as a client project focused developer, where she gained experience directly dealing with requests from clients as well as managing our own internal ticketing system for feature/bug reports. A stint as a backend developer using Django and DRF provided a grounding in working on long term challenges on a single project. Most recently Sarah has been a developer advocate focused on creating content on and about Django and Django development.
For the past several years, Sarah has been a very active member of the Django community. She has a history of producing well researched and written patches for Django, as well as on a number of highly used third party packages. Sarah is a member of the Django Review and Triage team, helping others to get their patches over the line and into Django. She also finds time to participate in and create content for Django meetups, conferences, and the Django News newsletter.
Sarah is also a Co-Founder and Co-Organiser of Djangonaut Space, the mentorship program developing future contributors to Django and other Django related packages. Djangonaut Space was awarded the 2023 Malcolm Tredinnick Memorial Prize.
Please join me in welcoming and wishing Sarah well as the new Fellow.
Thank you to all of the applicants to the Fellowship. We hope that we will be able to expand the Fellowship program in the future, and knowing that there are more excellent candidates gives us confidence in working towards that goal.
Finally our deepest thanks and gratitude goes to Mariusz Felisiak. Mariusz is stepping down from the Fellowship after 5 years of dedicated service in order to focus on other areas of the Django and wider world. We wish you well Mariusz.
Read: https://www.djangoproject.com/weblog/2024/mar/22/welcome-our-new-fellow-sarah-boyce/
@django_prog
Permission Classes in Django-Rest-Framework
Imagine you're throwing a party, and you're the host.
You have different types of guests coming in, each with their own level of access to your party.
Now you establish certain rules and conditions that grant permission to some specific people:
Gues...
Read: https://mayukh551.hashnode.dev/permission-classes-in-django-rest-framework
@django_prog
Imagine you're throwing a party, and you're the host.
You have different types of guests coming in, each with their own level of access to your party.
Now you establish certain rules and conditions that grant permission to some specific people:
Gues...
Read: https://mayukh551.hashnode.dev/permission-classes-in-django-rest-framework
@django_prog
👍2
CRUD operations in Django
Managing data in Django typically involves performing CRUD (Create, Read, Update, Delete) operations on your database.
Start the shell by running python manage.py shell. When you run python manage.py shell, Django will initialize your project's setti...
Read: https://poojadanu.hashnode.dev/crud-operations-in-django
@django_prog
Managing data in Django typically involves performing CRUD (Create, Read, Update, Delete) operations on your database.
Start the shell by running python manage.py shell. When you run python manage.py shell, Django will initialize your project's setti...
Read: https://poojadanu.hashnode.dev/crud-operations-in-django
@django_prog
👍1
*Django REST Framework* Part 3 :
Video ContainsDjango rest framework setup
Read: https://aghattikar82.hashnode.dev/django-rest-framework-part-3
@django_prog
Video ContainsDjango rest framework setup
Read: https://aghattikar82.hashnode.dev/django-rest-framework-part-3
@django_prog