Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
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... -
Stripe payment gateway integration in Django with example
Overview: Stripe is one of the most used payment processing platforms. In this tutorial, we will learn how to integrate stripe checkout into a Django app. Stripe has very detailed and simple documentation which makes it developer-friendly. In this tu... -
The VPP/VPE Relationship
For an organization to succeed – to reliably and consistently deliver great products that customers want – Product and Engineering need to work well individually, but more importantly, they need to work well together. The working relationship between these two organizations starts with the relationship between their two leaders. If these two individuals don’t have a strong individual working relationship, the team relationship is doomed. This article covers what a strong relationship between the VPE and the VPP looks like, and how to build that relationship. -
Building an Admin Panel with Django Admin in 2021
Admin panels are at the heart of every business operation, be it sales, analytics, user management, and so much more. That said, it isn't easy to find the right tools to help you build robust and scalable systems without spending too much time. Djang... -
Learning Backend WebDev, Log #6 - Focus Followup
Today, I did not quite care how much progress I made. Instead I focussed on getting my focus periods in, like I described yesterday. Read more… (2 min remaining to read) -
Django Chat is Where it’s At
Have you heard of the Django Chat podcast? With more than 90 episodes on all things Django, it’s full of informative interviews featuring some of the best and brightest in the industry. Django Chat is focused on the Django Web Framework and is hosted by William Vincent and Carlton Gibson, two Django experts. Caktus co-founders Tobias McNulty and Colin Copeland were featured on the podcast in May, and former Cakti Erin Mullaney was featured last year in episode 63. In episode 92, Tobias and Colin discuss the evolution of Django and Caktus over the last 14 years. Tobias also discusses his work on the Django Ops Team, and Colin explains his involvement with co-founding Code for Durham. They also discuss Caktus’ focus on training and leveling up junior engineers. In The Beginning Both Tobias and Colin began programming when they were in high school. During the podcast, they speak about their common background and how they met in college, which eventually led to the creation of Caktus Group. “In my senior year of college, I met Colin and the other two founders. It was just a natural fit. We really enjoyed working together as a team,” says Tobias during the … -
Save your Django models using update_fields for better performance
A tutorial on how update_fields() can be used make the save() method more efficient in the Django ORM -
Integrate Axios with Django Rest Framework
Do you need to integrate the Axios HTTP client with Django Rest Framework? Then make sure to correctly configure the Django built-in Cross Site Request Forgery protection. TLDR: add these variables to your Django settings: CSRF_COOKIE_NAME = 'XSRF-TOKEN' CSRF_HEADER_NAME = 'HTTP_X_XSRF_TOKEN' Axios has built-in support for CSRF protection, and this is the default configuration: // name of the cookie to use as a value for xsrf token xsrfCookieName: 'XSRF-TOKEN' // name of the http header that carries the xsrf token value xsrfHeaderName: 'X-XSRF-TOKEN' According to Django documentation: "As with other HTTP headers in request.META, the header name received from the server is normalized by converting all characters to uppercase, replacing any hyphens with underscores, and adding an 'HTTP_' prefix to the name. For example, if your client sends a 'X-XSRF-TOKEN' header, the setting should be 'HTTP_X_XSRF_TOKEN'." -
What are Views in Django?
Building Web Application is fun and challenging as well. But why do you want to build a web application? is there any need to do that? Yes, there are Business requirements to building an application and requirements could be anything like build an ap... -
How to set up a Django project from scratch?
I think, therefore I am Rene Descartes Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can foc... -
Get Started with Django for Backend Development
I think, therefore I am Rene Descartes Table of Contents What is Django? Why should you use Django? Websites that rely on Django History of Django Prerequisites Virtual Environment Django: creating a project Django: creating an app Resources for f... -
5 Reasons to use Django, the Python web framework
Django is a Python framework for web development. These are the five reasons why you should use it. Faster Development Python is really easy to learn. It is usually first language of choice for developers. Django follow Python philosophy as DRY (Don'... -
Request and Response in Django
When a page is requested, Django under the hood created a HttpRequest object, this HttpRequest object contains meta information about the request. This is the same request object we talked when we created our view function def profile_view(request):.... -
Asynchronous and Periodic tasks with Django using Celery and Redis
Source: Celery Hey readers, today I will be talking about running asynchronous with Django using Celery and Redis as our message broker. Background story So let's assume you have some time-consuming I/O operations that you can't afford for the use... -
Django News - Free Diátaxis Workshop on Contributing to the Django Docs - Jun 11th 2021
News Jazzband joins the PSF Jazzband maintains many Django 3rd party packages and has recently joined the Python Software Foundation via their Fiscal Sponsorship program. jazzband.co Events Contributing to the Django Docs, with Diátaxis Workshop Two FREE workshops on June 16th and June 23rd from Daniele Procida, a long-time Django contributor and author of the Diátaxis framework. This is a fantastic and generous offer. The Django docs embody many of these ideas largely due to Daniele's input. google.com PyCon Namibia 2021 - Virtual June 18-19th PyCon Namibia is online this year. This is a good chance to experience an African PyCon. There are talks on Django and Adam Johnson is giving one on htmx. pycon.org Sponsored Link Seeking beta users for feedback to improve Django Server Management SaaS project Thank you to those who have taken the time to share with me their Django experiences. I've spoken with 9 Django developers about their Django experiences. I'm looking to build the Django equivalent of Laravel Forge. I like to reach a nice round 10. If you're highly opinionated and enthusiastic about this area, go to https://bit.ly/gd-seeking-beta (notion doc) so I can get your feedback. greendeployhq.com Articles Custom Relationships In Django A … -
Implementing Search functionality in your Django website
Most of the time, the reason for me to visit a particular website is to look up something and without a search option on the website, it will be a whole mess for me. I know you will say the same too. So to make our website more appealing and easy to ... -
URL designing and URL kwargs in Django
A clean URL is really important for a good quality web application. You can design your own URL style i.e url can contain / or - anything there is no restriction but these are the things i follow (some examples), /profile// instead of /pro... -
Django Setup, Architecture and Hello World
Installing python First of all, Python is required. Python is high level, interpreted general purpose programming language. Install Python on your system from Official Python Download We will not cover in depth about python in this series, but let ... -
Xử lý file trong Django
Đối tượng File Lớp File class File(file_object, name=None) Lớp File là lớp bao đối tượng file của Python với một số bổ sung được cung cấp bởi Django. Ở bên trong, Django sử dụng lớp này khi cần biểu diễn một file. Đối tượng File có thêm những thuộc ... -
Quản lý file đã upload trong Django
Theo mặc định, Django lưu trữ các file cục bộ bằng cách sử dụng các cài đặt MEDIA_ROOT và MEDIA_URL. Sử dụng các file trong model Khi bạn sử dụng một FileField hoặc ImageField, Django cung cấp một tập các API bạn có thể sử dụng để làm việc với file n... -
Đối tượng File trong Django Model
Lớp cơ sở File Lớp File là một lớp bao của một đối tượng file của Python với một vài bổ sung của Django. Ở đằng sau, Django sử dụng lớp này để biểu diễn một file. Tât cả các đối tượng File trong Django có những thuộc tính và phương thức sau: name Tên... -
Upload file trong Django
Khi Django xử lý tải lên tệp, dữ liệu tệp sẽ được đặt vào request.FILES. Bài viết này giải thích cách tệp được lưu trữ trên đĩa và trong bộ nhớ cũng như cách tùy chỉnh hành vi mặc định. Cơ bản Xét một form có chứa một trường FileField: # forms.py fr...