Giter Club home page Giter Club logo

django-df-remote-config's People

Contributors

ayushin avatar eugapx avatar

Watchers

 avatar

django-df-remote-config's Issues

Create initial implementation

This will be something similar to firebase remote config.

I was going to propose a to build a generic module for defining conditions and discovered this:

https://pypi.org/project/django-conditions/ by @RevolutionTech

If it does what it says and code quality is acceptable we can build our module on top of that, and also potentially use conditions for django-df-notifications

We should be able to return a dict of key / values via rest (openapi) to the app based on a number of conditions:

  • certain headers not/present in the request / matching a pattern
  • certain user model attributes set/not set
  • certain post serialiser keys/values sent by the app in the configuration request
  • anything else in the django project - check models, settings etc

app --- request-remote-config /remote-config with keys/values ---> check conditions --- respond with keys/values ----> app

imagined models:

Attribute
Condition
Value

... to be continued

provide reasonable defaults for config schemas

when i create a part legal i would like to have the json pre-populated with some default structure.

Task

In schema.py add PART_DEFAULTS dict with default values for parts.

On part create, we should take the default value from there.

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.