Coder Social home page Coder Social logo

kpn / django-etcd-settings Goto Github PK

View Code? Open in Web Editor NEW
37.0 37.0 11.0 2.4 MB

A config manager for django apps based on ETCD

License: Other

Makefile 9.27% Python 90.34% Dockerfile 0.39%
config-management configuration-management django etcd settings-management

django-etcd-settings's People

Contributors

aochagavia avatar beerdeaap avatar edwardbetts avatar fladi avatar jeduden avatar mjholtkamp avatar quiquepaz avatar ricardosantosalves avatar sergray avatar snelis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-etcd-settings's Issues

etcd_settings.loader.get_overwrites requires django.conf.settings

I tried to offload all of my deployment-specific settings in my DJANGO_SETTINGS_MODULE to etcd_settings but I'm not able to do so because the following line causes django.conf.settings to be imported:

from etcd_settings.loader import get_overwrites

In etcd_settings/__init__.py the EtcdSettingsProxy is instantiated the moment my import happens. This in turn tries to get the DJES_* settings. At this moment SECRET_KEY is missing from the settings because it is one of the values I want to fetch through etcd_settings.

So far, my solution has been to set SECRET_KEY to some fake value before importing etcd_settings but I don't think this is the best solution. IMO it would be better to move the instantiation of EtcdSettingsProxy out of the package __init_.py.

Incorrect documentation regarding X-Dynamic-Setting header

Documentation now mentions X-Dynamic-Settings while it should be X-Dynamic-Setting.
The usage of this feature should also be documented a little more (like the fact that you can provide one or more keys and how to configure it in ETCD).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.