Best of Django2024

  1. 1
    Article
    Avatar of jetbrainsJetBrains·2y

    Django Project Ideas

    Get inspired with a range of Django project ideas, from simple beginner apps to more advanced, full-stack applications. Learn how to set up a Django project, develop models, views, and templates, and explore various tech stacks for each project. Ideal for building a personal project, enhancing your portfolio, or experimenting with new technologies.

  2. 2
    Video
    Avatar of TechWithTimTech With Tim·2y

    FastAPI, Flask or Django - Which Should You Use?

    Comparison of Flask, Django, and FastAPI for Python web development. Flask is lightweight and customizable, ideal for small to medium-sized apps. Django is high-level with many built-in features, suitable for complex web applications. FastAPI is a modern, high-performance framework for building self-documenting and fast APIs. Choose the framework based on your use case, ease of learning, performance needs, and project requirements.

  3. 3
    Article
    Avatar of hnHacker News·2y

    nfoert/cardie: An open source business card designer and sharing platform

    Cardie is an open-source platform for designing and sharing business cards. Users can create unlimited cards, get analytics, edit cards, and control privacy settings. The platform is in open alpha and subject to changes. Instructions for setting up the application locally, including creating a Python virtual environment, setting up a Django superuser, and configuring environment variables, are provided.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Learn Backend Development by Building Three Projects [Full Course]

    Learn backend development by building three projects with Python, Django, JavaScript, and PostgreSQL. Projects include an AI Blog Article Generator, Netflix Clone, and Spotify Clone.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    22 GitHub Repositories for Learning Web Development: HTML, CSS, MERN, Python, and Django

    This post offers a curated list of 22 GitHub repositories ideal for learning various web development technologies, including HTML, CSS, MERN stack, Python, and Django. These resources provide a mix of beginner-friendly and advanced materials, featuring interactive challenges, structured curriculums, and real-world projects to help improve and diversify your web development skills.

  6. 6
    Article
    Avatar of itnextITNEXT·2y

    Best Practices for Structuring a Django Project

    Learn how to structure a Django project using best practices. This guide covers setting up a virtual environment, organizing your project's folders, managing dependencies with requirements files, separating settings based on different environments, creating a modular structure for Django applications, and using Makefile for command shortcuts to streamline development processes.

  7. 7
    Article
    Avatar of devtoDEV·2y

    How to build your own SAAS business

    Learn how to build a successful SAAS business by building an audience, using Django for development, offering a free tier, generating expansion revenue, listing your product on various platforms, and learning from expert founders.

  8. 8
    Article
    Avatar of communityCommunity Picks·2y

    🌍🚀🎯 From Localhost to Cloud ☁️: Next.js, Django, SSL 🔒, GitHub Actions 🚀, DNS| Ultimate Website Deployment Tutorial🌟🔥✨

    This post is a tutorial on deploying a website from localhost to the cloud using Next.js, Django, SSL, GitHub Actions, and DNS. It covers the process of Dockerizing the frontend and backend, writing Kubernetes manifests, creating a GCP Kubernetes cluster, configuring DNS, and using GitHub Actions for building and deploying applications.

  9. 9
    Article
    Avatar of asayerasayer·2y

    Integrating React with Django

    This guide walks through the process of integrating a Django backend with a React.js front-end. It covers setting up a Django project, creating a REST API with Django REST Framework, and configuring CORS headers. On the front-end side, it explains how to create a React application, handle form submissions, and fetch data using Axios. The integration aims to create a dynamic web application where users can manage food and ingredients.

  10. 10
    Article
    Avatar of planetpythonPlanet Python·2y

    From React to a Django+HTMX based stack

    Learn about Sheena O'Connell's journey of moving from a React-Django application to a pure Django with HTMX stack. Discover a real-world success story, lessons learned, and relevant resources including workshops, courses, and tools related to HTMX and Django development.

  11. 11
    Video
    Avatar of TechWithTimTech With Tim·2y

    Python + JavaScript - Portfolio Web App Tutorial

    Learn how to build a portfolio website using Django and Python. Follow step-by-step instructions to deploy the site on Hostinger. Add tags and filter projects for easy navigation.

  12. 12
    Article
    Avatar of planetpythonPlanet Python·2y

    The State of Django 2024

    Discover the latest trends in Django development, including the use of Flask and FastAPI alongside Django, the popularity of Django for both full-stack and API development, the shift towards htmx, Alpine.js, and Tailwind CSS for frontend development, and the favored databases, container orchestration, CI systems, and infrastructure as code solutions among Django developers.

  13. 13
    Article
    Avatar of devtoDEV·2y

    Building a FullStack Application with Django, Django REST & Next.js

    Learn how to build a fullstack application with Django and Next.js. Understand the features of both frameworks and how to set up a Django REST API and create a frontend application with Next.js. Explore handling CRUD operations, routing, and connecting the backend and frontend applications.

  14. 14
    Article
    Avatar of earthlyEarthly·2y

    Top Python Frameworks for 2024

    This post provides an overview of Python web frameworks, including Django, Flask, and FastAPI. It explains the difference between a library and a framework, highlights the features and use cases of each framework, and offers tips for choosing the right framework for your project.

  15. 15
    Article
    Avatar of communityCommunity Picks·2y

    Django Logging | Tutorial & Best Practices

    Learn how to implement logging in Django and follow best practices to improve application development and end-user experience. Understand logging levels in Python.

  16. 16
    Article
    Avatar of hnHacker News·2y

    Taming the beast that is the Django ORM - An introduction

    This post provides an introduction to the Django ORM, emphasizing its strengths and weaknesses. It covers the basics of object-relational mapping, the reasons for using an ORM, potential pitfalls like lazy loading and N+1 queries, and provides guidance on migrations, querying, and performance improvements. It also details the differences between raw SQL and how Django ORM handles various SQL operations.

  17. 17
    Article
    Avatar of last9Last9·2y

    Django Logging: Everything You Need to Know

    Logging is a crucial part of any web framework, including Django. This guide covers setting up and configuring Django logging, handling different log formats like JSON, and improving logging strategies for better monitoring and performance. It also discusses how to customize logging settings in settings.py, use various log levels, and employ advanced configurations using dictConfig. Additionally, it explains logging API calls, capturing server logs, and integrating with modern log analysis tools for enhanced observability.

  18. 18
    Video
    Avatar of coreymsCorey Schafer·2y

    Python Tutorial: Pathlib - The Modern Way to Handle File Paths

    Learn about Python's pathlib module introduced in Python 3.4, a modern alternative to the OS module for handling file paths. Pathlib represents paths as objects, making file operations more intuitive and less error-prone across different operating systems. The tutorial provides practical examples and contrasts the usage of pathlib versus the OS module, explaining the benefits of switching to pathlib for better readability and efficiency. Additionally, the tutorial covers pathlib's methods for creating, deleting, and modifying files and directories, with guidance on when to use the OS or shutil modules instead.

  19. 19
    Article
    Avatar of planetpythonPlanet Python·2y

    How to convert a Python script into a web app, a product others can use

    The post explains how to convert a Python utility script into a web app using Django and Django Rest Framework for the backend and React.js for the frontend. It describes the motivation behind building the app, the backend API design, authentication using JWT, and the deployment process using Docker. Additionally, it provides insights into the overall development lifecycle, emphasizing simplicity, speed, and gradual feature addition.

  20. 20
    Article
    Avatar of rpythonReal Python·2y

    HTML and CSS Foundations for Python Developers – Real Python

    Learn HTML and CSS foundations for Python developers to understand web frameworks and create impressive websites.

  21. 21
    Article
    Avatar of planetpythonPlanet Python·2y

    Multi-factor authentication in django

    Multi-factor authentication (MFA) is crucial for modern web applications. This guide explains how to implement both TOTP and FIDO2 authentication in Django using the django-mfa3 package and cbor-js for hardware token support. Key highlights include configuring templates, middleware, and views to enable MFA in your Django application.

  22. 22
    Article
    Avatar of hnHacker News·2y

    HTMX Playground

    HTMX Playground is a simple code sandbox for playing around with HTMX. It allows you to write code in a backend-like environment, running entirely inside the browser. You can save and share your code by copying it as JSON and uploading it as a Gist. The playground has some limitations, such as no page navigation and limited mobile support. It uses Svelte, Ace, PollyJS, and Nunjucks libraries.

  23. 23
    Article
    Avatar of communityCommunity Picks·2y

    Database testing with fixtures and seeding

    Database testing requires both static seeding and fixtures to ensure reliable and consistent data. Static seeding provides essential data for applications to function, while dynamic seeding offers varied data for stress testing. Fixtures offer a controlled environment for specific test scenarios. Using seeding and fixtures alongside database branching can enhance testing by providing isolated and resettable environments.

  24. 24
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Secure Your Django App – Best Practices and Code Examples

    Learn best security practices for securing your Django app, including measures for authentication and authorization, protection against SQL injection attacks, prevention of cross-site scripting (XSS) attacks, and more.

  25. 25
    Article
    Avatar of communityCommunity Picks·2y

    Developing Multi-Modal Bots with Django, GPT-4, Whisper, and DALL-E

    Learn how to develop a multi-modal bot using Django, GPT-4, Whisper, and DALL-E. The tutorial covers integrating artificial intelligence into web applications, creating a multi-modal bot that understands and responds to user inputs in various forms (text, voice, and images), and leveraging models like Whisper for speech transcription, GPT-4 for text generation, and DALL-E for image generation.