This guide walks you through creating a Django project, configuring uWSGI and an INI file, setting up Nginx as a reverse proxy, enabling HTTPS with SSL certificates, collecting static files, and scaling the deployment for high availability, all with clear command‑line examples.
This guide introduces Django, a Python-based open‑source web framework, covering its definition, installation commands, key advantages, architecture, and the MVT design pattern to help developers decide if it fits their projects in modern development.
After months of trial and error, I share my step‑by‑step journey of creating a Python web scraper that collects Zhihu and Weibo hot‑list data, exposing it via a Django REST API, and integrating the results into a functional WeChat mini‑program, while outlining the challenges and future improvements.
This step‑by‑step guide shows how to configure PyCharm live (activity) templates, explains their benefits for faster coding, and demonstrates practical examples—including a main‑function shortcut and a class‑based view template for Django—so you can code more efficiently.
This tutorial explains how to create Django view functions for user registration and login, covering request handling, rendering templates, database interactions, and URL routing, with complete Python code examples and guidance on using the render function and request methods.
This guide explains how to define Django model classes, map them to database tables, and use the makemigrations and migrate commands to generate and apply migrations, illustrated with Users and Files examples and the resulting SQL schema.
This tutorial walks through preparing the development environment, creating a Django project and app in PyCharm, configuring MySQL, adjusting Django's MySQL backend, setting up URL routing, and establishing a folder for file uploads, all illustrated with step‑by‑step screenshots.
This article details how a single engineer created Listen Notes, a podcast search engine and API, by leveraging standard web technologies, AWS infrastructure, Django backend, React frontend, Ansible-driven DevOps, and a suite of monitoring and productivity tools, proving that a solo effort can launch a robust internet product.
This article explains how to extend a Django Channels‑based WebSSH tool with real‑time operation monitoring, group‑based messaging, and a forced‑disconnect feature, detailing the necessary layer configuration, consumer modifications, and WebSocket message handling for both operators and observers.
This guide explains how to set up DjCelery—combining Django and Celery—to create, schedule, and manage automated testing tasks such as single‑interface, API, App, and Web UI scripts, replacing Jenkins‑based cron jobs with a fully integrated backend solution.
The author recounts a nerve‑wracking video interview with ByteDance, detailing questions on Django, Nginx, uWSGI, Redis, data structures, message queues, a live coding task, and shares hard‑earned advice to help future candidates prepare effectively.
This article compares Flask and Django, outlining their core concepts, similarities, and differences across popularity, flexibility, documentation, routing, admin interfaces, development speed, and template engines, to help developers choose the most suitable Python web framework for their needs.
This guide walks beginners through Python fundamentals, essential development tools, HTTP basics, front‑end basics, popular web frameworks, database choices, testing strategies, and deployment techniques, offering practical book recommendations and actionable steps to start building real web applications.
After quitting my job in Shanghai, I went through eleven technical interviews ranging from Python full‑stack to data‑analysis roles, sharing detailed experiences, resume strategies, scheduling tactics, interview outcomes, key takeaways, and a curated list of frequently asked interview questions.
This article explains why Jaeger is a popular cloud‑native tracing solution, describes its architecture, sampling options, and deployment strategies on Kubernetes—including DaemonSet and Sidecar modes—followed by a step‑by‑step Django integration example and guidance on monitoring, alerting, and resource cleanup.
This tutorial walks you through configuring Django templates, static files, and MySQL database settings, then guides you step‑by‑step to create models, views, URLs, and templates for a complete library management system with publishers, books, and authors.
This tutorial introduces Django, outlines its major features, explains the standard project directory, provides essential command‑line tools, demonstrates how to create views, URLs, templates, and models, and walks through database operations and both GET and POST form handling, all with clear code examples.
This tutorial walks you through creating a complete Django project, covering settings configuration for templates, static files, and middleware, MySQL database integration, model definitions for publishers, books, and authors, view functions for CRUD operations, and essential front‑end template snippets, all with ready‑to‑run code examples.
This article first briefly introduces the traditional Chinese lantern‑festival foods 元宵 and 汤圆, then provides a step‑by‑step troubleshooting guide for installing and configuring the HttpRunnerManager environment, covering Python version selection, RabbitMQ security, Django and djcelery installation, MySQL client and charset settings, remote access configuration, and YAML module installation.
This article first wishes readers a happy Lantern Festival and then provides a comprehensive step‑by‑step troubleshooting guide for installing and configuring the HttpRunnerManager environment, covering Python, Django, RabbitMQ, MySQL, character‑set settings, remote access, and required Python packages.
The author shares detailed experiences from eight backend interview processes, covering Python basics, system design, network protocols, database fundamentals, and coding challenges, while offering practical advice and code examples for aspiring engineers.
This tutorial explains how to collect data with a Python web crawler, store it in MySQL using PyMySQL, set up a Django project with Django REST framework, define models, serializers, and views, and implement pagination for a robust backend API.
A former C++ MFC developer shares personal interview experiences and compiles a comprehensive Python backend interview guide covering core syntax, algorithms, networking, databases, Linux commands, and Django concepts, emphasizing daily coding practice and offering concrete sample questions and solutions.
This guide outlines practical techniques—ranging from analyzing debug‑mode error pages and hidden CSRF tokens to inspecting admin static files and third‑party module footprints—to reliably fingerprint Django‑based web applications during black‑box security assessments.
This article explains every Django Model Meta attribute—including abstract, app_label, db_table, db_tablespace, get_latest_by, managed, order_with_respect_to, ordering, permissions, proxy, unique_together, verbose_name, and verbose_name_plural—detailing their purpose, usage, and code examples for precise database and admin control.
This guide walks you through installing Django and the django-debug-toolbar on an Ubuntu cloud server, creating a new project, running migrations and the development server, configuring allowed hosts, and integrating the toolbar via settings and URLs to monitor queries, templates, and performance in real time.
Learn how to set up Django to automatically email error logs for both request and non‑request failures by configuring email settings, LOGGING handlers, and creating a reusable decorator, complete with code examples and screenshots of the monitoring results.
This article compares three popular backend frameworks—Django for Python, Symfony for PHP, and Ruby on Rails—detailing their advantages, disadvantages, and typical use cases to help developers select the most suitable option for their projects.
The author shares detailed experiences from eight backend engineering interviews, covering company backgrounds, interview formats, technical questions on Python, system design, networking, databases, and code challenges, plus personal reflections and advice for job seekers.
This tutorial walks you through creating a real‑world Django project, covering template, static, and middleware settings, switching to MySQL, defining models with one‑to‑many and many‑to‑many relationships, implementing CRUD views, configuring URLs, and building simple HTML templates with code examples and key configuration screenshots.
This article explains how to build an automated CMDB asset collection system by extending Puppet's Facter with custom plugins, using a custom Report Processor to post data to an AutoBank service, and deploying a Python/Django API server for storage and retrieval.
The author shares personal interview experiences and a comprehensive list of Python backend interview questions covering syntax, algorithms, networking, databases, Linux, and Django, while emphasizing daily coding practice and GitHub activity as key to impressing interviewers.
This comprehensive guide introduces Django, outlines its key features, explains the standard project structure, walks through essential commands, demonstrates view and URL configuration, covers template syntax and tags, and details model creation, database operations, and form handling with both GET and POST methods.
After three years of developing a HR SaaS product, the author recounts the backend’s architectural evolution—from an initial Django MVC prototype, through service splitting, to a microservices setup with Kong API gateway and custom RPC, and finally towards domain‑driven design—highlighting challenges, optimizations, and lessons learned.
This tutorial walks you through configuring Django templates, static files, middleware, and MySQL database settings, then defines models for publishers, books, and authors, implements CRUD views and URL routing, and creates the necessary front‑end templates to build a complete library management application.
This article explains Django's URLconf system, covering regex pattern matching, simple and named group configurations, default view parameters, URL aliases, reverse URL lookup in templates and Python code, and how to include app-specific URL modules for scalable routing.
This article explains Django view fundamentals, covering view functions, HttpRequest and HttpResponse objects, the render and redirect helpers, their differences, and provides practical code examples illustrating their usage in web applications today.
This article provides an in‑depth tutorial on using Django's ORM, covering model creation, custom table names, single and composite indexes, one‑to‑many and many‑to‑many relationships, forward and reverse lookups, performance tuning with select_related and prefetch_related, and model validation techniques.
This guide explains how to install MySQL, configure the Python MySQL client, set up a Django project, add an app, modify settings to connect to a local MySQL database, and run the development server to verify the installation.
This article provides a comprehensive overview of Django, covering its MVC/MTV architecture, key features, project directory layout, essential configuration settings for databases and static files, and detailed routing examples with code snippets for creating and managing a Django web application.
This eight‑day tutorial introduces how to quickly set up a Django‑based backend administration system, covering required dependencies, installation commands, project creation, server launch, and verification steps, encouraging readers to practice each day and eventually build an automated front‑end data entry platform.
This guide compiles key Python fundamentals, algorithm challenges, networking concepts, database knowledge, Linux commands, and Django project topics that frequently appear in junior backend interview screenings, urging candidates to practice coding daily and showcase their Git activity.
This talk outlines the challenges of modern enterprise operations, explains why traditional tools fall short, and details a step‑by‑step approach to designing and implementing a Python‑based DevOps platform—including CMDB design, backend selection, frontend integration, token security, asynchronous task handling, and monitoring—offering practical insights for building scalable, maintainable infrastructure.
This article reviews five proven Python web frameworks—Django, CherryPy, web2py, TurboGears, and Pylons—highlighting their key features, ease of use, and suitability for both beginners and seasoned developers, helping web developers choose the right tool for rapid, scalable application development.
This article explains the reasons Python 2 remains dominant, compares Python 2 and 3 features, offers guidance on learning Python via the __future__ library, and provides a step‑by‑step tutorial for building a lightweight DevOps monitoring platform using Django, MongoDB, ECharts and Psutil.
This guide walks you through creating a WeChat public‑account subscription service using Python and Django, covering environment setup on CentOS, installing dependencies, configuring the wechat‑python‑sdk, defining URL routes and views, and handling common pitfalls such as external access, encoding issues, and port conflicts.
This guide walks you through why Django and VueJS make a powerful pairing, explains their integration, and provides step‑by‑step instructions for setting up the project, configuring templates and static files, handling development and production environments, and deploying with uWSGI and Nginx.
This tutorial walks you through Django’s fundamentals, environment setup, project creation, model design, admin configuration, view implementation, and template integration to rapidly build a functional blog application.
This guide introduces Django’s fundamentals, explains its MTV architecture, walks through project and app setup, URL routing, views, models, admin customization, database configuration, and essential commands, providing a practical roadmap for quickly building web applications.
This article walks through the design and implementation of a Django‑powered operations management platform, covering request flow, modular app structure, user authentication, asset storage, performance monitoring, batch management with Ansible, and full‑stack front‑end integration, illustrated with diagrams and code snippets.
This article walks through creating a video‑aggregation platform for Hearthstone streamers by scraping data from sites like Douyu, processing it with Python regular expressions, storing results in Redis or LeanCloud, and exposing the rankings via a Django‑based web front‑end with periodic cloud‑function refreshes.
This tutorial walks you through creating an isolated Python environment, installing Django 1.8.6, and progressively building a full‑featured blog site with basic, enhanced, and extended functionalities, while highlighting common pitfalls of outdated resources.
This guide outlines practical techniques—such as spotting Django's debug error pages, hidden CSRF tokens, default admin URLs, characteristic server headers, third‑party module fingerprints, and static admin assets—to reliably determine whether a target web application is built with Django during black‑box testing.
This tutorial walks you through Django fundamentals, including its MTV architecture, project and app creation, URL routing, views, templates, static files, form handling, and database integration, enabling you to build a functional web service from scratch.
This tutorial walks you through installing Django, creating a project and a polls app, setting up the development server, writing views and URL configurations, and explains key concepts like include() and url() arguments, enabling you to build a functional poll website.
This article introduces Jumpserver, an open‑source bastion host built with Python and Django, and details its major new version updates—including a full code refactor, component separation, Docker support, internationalization, RESTful APIs, and enhanced UI—highlighting how these changes improve security, extensibility, and deployment flexibility for enterprises.
This article introduces Django’s MTV (Model‑Template‑View) architecture, explains how views and URL routing work, demonstrates template syntax, outlines model definitions with fields and relationships, shows admin integration, and discusses caching strategies, providing code examples for each component.
This guide explains how to retrieve string, array, and dictionary data from Django GET requests, covering environment setup, handling Unicode in Python 2.7, using request.GET.get and getlist, and parsing JSON payloads, with code snippets and example results.
Learn step‑by‑step how to create a basic file‑upload function in Django 1.10 using Python 3.6, covering project setup, model design, migrations, view logic, URL configuration, template form creation, and displaying uploaded results, with illustrative code snippets.
This article walks through building a Mezzanine CMS blog, first manually on macOS, then automating the deployment with Ansible, refactoring using roles, and finally containerizing the setup with Docker, providing detailed commands, configuration files, and best‑practice tips for production environments.
This tutorial walks you through installing and configuring Haystack, Elasticsearch, and the IK Chinese analyzer in a Django project, covering both a simple Whoosh‑based setup and a scalable Elasticsearch backend with code snippets and version‑compatibility tips.
This article fills the gap of detailed tutorials by chronologically documenting how the author constructed a Django‑powered operations platform, adding monitoring, dashboards, log viewing, task submission, and various management features, each illustrated with screenshots and brief explanations.
This article describes the design, architecture, and key features of AutoAMS 2.0, an automated asset management system built with Django, Bootstrap, MySQL, and Ansible, showing how it replaces manual Excel‑based tracking, collects server and network data without agents, and streamlines permission and location management for large‑scale operations.
A recent graduate shares how he overcame the pitfalls of self‑teaching programming by narrowing his tech stack to essential web tools, focusing on hands‑on projects, and avoiding endless theory, offering a concise roadmap for beginners eager to build functional prototypes quickly.
Learn how to create a custom Django 1.6 middleware by defining a class, overriding process_request, configuring it in MIDDLEWARE_CLASSES, and applying it to scenarios such as IP filtering, access control, user behavior tracking, and abnormal request detection, with full code examples.
This guide shows how to create a minimal Python WSGI server that can run Django, Flask, and Pyramid applications without modifying server or framework code, explains WSGI fundamentals, provides step‑by‑step setup, code snippets, testing commands, and demonstrates the server‑framework interaction.
This article explains the design and implementation of an operations automation platform, covering the necessity of standardization, system architecture, module functions, database modeling, work‑order processes, and real‑world examples to help IT teams achieve efficient, reliable, and low‑risk operations.
This article presents nine practical Django techniques—from using relative paths and the {% url %} tag to leveraging Memcache and unit testing—that help developers accelerate development, improve maintainability, and boost performance of Python web applications.
This guide outlines the fundamental topics and resources a novice web developer should master across web concepts, frontend basics, Python programming, Django framework, databases, tooling, development processes, soft skills, and a capstone project to build a functional Django application.
This article shares personal experiences and actionable advice on navigating Django's extensive official documentation, emphasizing selective reading, using the docs as a problem‑solving tool, and combining practice with teaching to deepen understanding for backend developers.
This step‑by‑step guide shows how to set up a production‑ready Django environment on an Ubuntu VPS, covering system updates, Python and virtualenv installation, Django, database, caching, asynchronous tasks, Gunicorn, Nginx, and process supervision with Supervisor.
The article shares a recent graduate's journey learning to code, highlighting two major mistakes—over‑studying unnecessary technologies and not coding early—and offers a concise list of essential front‑end tools (HTML, CSS, JavaScript, jQuery) plus Python and Django for rapid prototyping.
The author shares a candid account of transitioning from a non‑programmer graduate to building a product prototype, highlighting the pitfalls of over‑learning irrelevant technologies, delaying hands‑on coding, and offering a concise, prioritized tech stack to accelerate development.