Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Setup JWT for a React Django app in minutes
In my previous post, I explained what the JWT are. Today I will show you how to use it in a project with a React frontend and a Django backend. The backend part with Django I guess you already have basic knowledge of Python, Django and Django Rest Fr... -
What's the Ultimate Reason for Working at Octopus Energy?
On November 16, 2020, I started my first day of employment at Octopus Energy. A few days ago I discussed reasons why I enjoy my work and colleagues. In this article, I explain the ultimate reason I work for Octopus Energy. A Realization One day in autumn of 2020, while considering new employment, I was talking to many potential employers. Several organizations stood out above all others. They stood out because they both had a mission to address global climate change. I realized I could use all my talents and skills to make the planet a better place. Concerns About Climate Change For years I've been concerned about the changing climate. I had been reducing my carbon footprint for years, composting, reducing unnecessary travel, and more. I preferred to vote for eco-friendly political candidates. In many other ways, I did what I could, yet always I wanted to do more. The Ultimate Reason I Work for Octopus It's all about this little girl. I want to give my daughter a better planet. She and her generation deserve to live in the same kind of world I had growing up. Enter Octopus Energy Octopus Energy is giving me the chance to … -
Creating a COVID-19 dashboard with Django & ChartJS
In this article, we will create a COVID-19 dashboard using the Django Framework in Python. We will use some API to fetch data on active, confirmed, recovered, and deceased cases and try to answer questions like: How does the National Spread of the v... -
Built-in Permission Classes in Django Rest Framework
This article looks at how the built-in permission classes work in Django REST Framework. -
Connecting Google Cal API and Django
Some tricky configuration is required, and the existing Python-specific documentation is sparse and buggy (or simply not written for a production setting). My eventual solution involves using a Google Cloud Platform service account and a custom Herok... -
Basic Django Project
Overview Okay, today i'll be showing you how to setup a python3 django project, basically, we'll build something basic, a blog. Alright, let's jump in; Content Install python3 from official source Use pip to install django Use django-admin to start... -
Basic Django Project
Overview Okay, today i'll be showing you how to setup a python3 django project, we'll build something basic, a blog. Alright, let's jump in; Content Install python3 from official source Use pip to install django Use django-admin to start a new proj... -
Greening Django - Chris Adams
Chris is a consultant and director of the Green Web Foundation. We discuss how he first become involved with Django, recent talks, and how to speed the transition of the web away from fossil fools.LINKS:Chris Adams personal site Greening Digital@mrchrisadams on Twitter[Branch Magazine - https://branch.climateaction.tech/]Greening Django: Talk at Django Day Copenhagen 2020Jupyter, Django, and Altair: DjangoCon 2019 EuropeTesting Firefox more efficiently with machine learningSupport the ShowThis podcast does not have any ads or sponsors. To support the show, please consider visiting LearnDjango.com, Button, or Django News. -
Pagination in Django.
Pagination is the process of splitting the contents of a website, or a section of contents from a website, into discrete pages. One should use pagination to make his/her website more efficient to use when working with a huge list of contents for exa... -
Using uwsgi to deply django site on ubuntu server
Here are some few things to know before deploying django site on ubuntu server install You have two ways to install uwsgi on ubuntu: apt-get or pip apt-get if you use apt-get, you need to install the python plugin: sudo apt-get install uwsgi-plugin-p... -
Subclassing in Python Redux
The conflict between subclassing and composition is as old as object-oriented programming. The latest crop of languages like Go or Rust prove that you don’t need subclassing to successfully write code. But what’s a pragmatic approach to subclassing in Python, specifically? -
What is Django?
Django is a web application framework written in python programming language. It is based on MVT (Model View Template) design pattern. The Django is very demanding due to its rapid development feature. It takes less time to build application after co... -
What is Django?
Django is a web application framework written in python programming language. It is based on MVT (Model View Template) design pattern. The Django is very demanding due to its rapid development feature. It takes less time to build application after co... -
Encrypting data in Django with SECRET_KEY
Hi everyone. Let's talk about encrypting data in Django. Django has a built-in module called signing that allows you to sign data and then also unsign it. It uses SECRET_KEY of your project to hash so only the backend that encrypted can decrypt the ... -
Django Templates, Context, Template Tags and filters
When working with web frameworks at some point rendering data directly through your controller or views is not efficient. Let's take an example of code snippet from our first article in this series Django Setup, Architecture and Hello World which loo... -
Learning Backend WebDev, Log #10 - A Very Long, and a Really Good Day
I did. I really did have a good work day! I had one of those, whatchacallit, flow states. Read more… (2 min remaining to read) -
Dockerizing Flask with Postgres, Gunicorn, and Traefik
This tutorial details how to configure Flask to run on Docker along with Postgres, Gunicorn, Traefik, and Let's Encrypt. -
Django News - DjangoCon US 2021 CFP, new Wagtail, TailwindCSS 2.2, and more. - Jun 18th 2021
News Wagtail 2.13.2, 2.12.5, and 2.11.8 releases! New Wagtail CVE-2021-32681: Improper escaping of HTML (‘Cross-site Scripting’) in Wagtail StreamField blocks for 2.13.2, 2.12.5, and 2.11.8. wagtail.io PSF News: Update on the Python Software Foundation Executive Director Python Software Foundation Executive Director Ewa Jodlowska is stepping down at the end of the year. The Python and Django community would not be where we are today without her ten+ years of service. blogspot.com Psycopg 2.9 released If you are like us and have used Psycopg for years and never paid much attention to the release notes, 2.9 is a good opportunity to get caught up. psycopg.org Python 3.10.0b3 is available Python 3.10.0b3 is the third of four planned beta release previews. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release. python.org Tailwind CSS v2.2 An all-new high-performance CLI tool, ::before and ::after support, sibling selectors, selected text variants, and tons more. tailwindcss.com Events DjangoCon US 2021 CFP is open! The DjangoCon US 2021 CFP is open and closes on July 18, 2021. papercall.io PyGotham TV Call for Proposals The PyGotham TV … -
Basic and Full-text Search with Django and Postgres
This article looks at how to add basic and full-text search to a Django app with Postgres. -
Learning Backend WebDev, Log #8 - Many, Many Relationships
Another day of doing only Django. Not that I’m complaining. Finishing up this Django course is my priority. Followed by PostgreSQL and Data Structures and Algorithms. I just have to do them step by step, one after another. Read more… (2 min remaining to read) -
Best practices for Django and Django Rest Framework
Django is one such Rest API framework that has been continuously in the picture for its scalability, flexibility, and accountability. All our developers rely on the ‘Python’ language of intelligence while coding and scripting because best remains best always. Let us understand “Django” in depth. What is Django? What's the use of it in the Software and IT development sector? Firstly! Django is a toolkit that is used to prepare web API. There are lots of developers like web browsing developers, web server developers and so are the web API developers. To understand the very interface of Application programming [API], one needs to know that an API interacts and deals professionally between two parties. You can also consider it a true and genuine third digital party. Hence, a developer is responsible to build that particular ‘web API’ for each company and enterprises. To maintain the loyalty and proficiency of ‘no cheating/ black marketing/ hoarding; an API is created. The very API is systematic in its working progress as it doesn’t reveal all the facts to any of the parties. Any online business which wants to enhance and expand for the longer term, it must build “TRUST” with the other business/ … -
FYP-DevLog-010
Progress Highlights Project Research / Discussion Completed FItweet's UML activity diagrams Completed Fitweet EDM's ML process diagram Recorded FYP1 Final Presentation video https://youtu.be/IbpKjgCF-e4 Project Development Fitweet Labelling ... -
Reasons why Django is the best web framework
Choosing a web framework is hard especially now when there are a lot of frameworks on the market, each designed to address different project needs. Here is why I think that Django is the best choice in most cases. What is Django? Django - The web fr... -
Learning Backend WebDev, Log #7 - Owning All the Rows
Let’s get on with today’s log! I studied only Django today. Was plagued with rains and power cuts and family stuff. Managed to work well and patiently though. Read more… (2 min remaining to read) -
How to Receive and Respond to Incoming SMS Messages in Python with Flask and Plivo
Sending an outbound message using the Plivo SMS platform is easy, but communication should be a two-way street. Customers should be able to text you, and you should acknowledge their messages and address their concerns. To do this, you can build a Py...