How do you organize your Settings.py file to keep it clean?

This page summarizes the projects mentioned and recommended in the original post on /r/django

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • django-configurations

    A helper for organizing Django project settings by relying on well established programming patterns.

  • Django

    The Web framework for perfectionists with deadlines.

  • The global_settings file for django is 645 lines long. I would say it is "clean". If yours is longer than that I'd say you probably need to put some of that data into a database. If it's not longer than that I wouldn't worry about it.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • django-split-settings

    Organize Django settings into multiple files and directories. Easily override and modify settings. Use wildcards and optional settings files.

  • I'm using https://github.com/sobolevn/django-split-settings

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts