Organize Django settings into multiple files and directories. Easily override and modify settings. Use wildcards in settings file paths and mark settings files as optional. Managing Django’s settings might be tricky. There are severals issues which are encountered by any Django developer along the way. First one is caused by the default project structure. Django clearly offers us a single settings.py file. It seams reasonable at the first glance. And it is actually easy to use just after the start. But when it comes to the real-world it only causes misunderstanding and frustration. At some point, you will need to put some kind of personal settings in the main file: certificate paths, your username or password, database connection, etc. But putting your user-specific values inside the common settings is a bad practice. Other developers would have other settings, and it would just not work for all of you.

Features

  • Replace your existing settings.py with a list of components that make up your Django settings
  • Preferably create a settings package that contains all the files
  • The local context is passed on to each file
  • Note that files are included in the order that glob returns them
  • You can modify common settings in environment settings simply importing them
  • This package has no dependencies itself

Project Samples

Project Activity

See All Activity >

Categories

Frameworks, Libraries

License

BSD License

Follow django-split-settings

django-split-settings Web Site

You Might Also Like
All-in-One Payroll and HR Platform Icon
All-in-One Payroll and HR Platform

For small and mid-sized businesses that need a comprehensive payroll and HR solution with personalized support

We design our technology to make workforce management easier. APS offers core HR, payroll, benefits administration, attendance, recruiting, employee onboarding, and more.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of django-split-settings!

Additional Project Details

Programming Language

Python

Related Categories

Python Frameworks, Python Libraries

Registered

2022-09-06