zbyte64 / django-configstore Goto Github PK
View Code? Open in Web Editor NEWAn application to allow for other apps to easily store site based configurations
An application to allow for other apps to easily store site based configurations
When I have a key in CONFIGS, then i remove it, I get a key error. This should be handled more gracefully. Perhaps just punt and show a textarea that can be edited.
New encryption functionality broke config task execution, here's a patch:
diff --git a/configstore/admin.py b/configstore/admin.py
index bbe2f90..0be3d28 100644
--- a/configstore/admin.py
+++ b/configstore/admin.py
@@ -18,8 +18,7 @@ class ConfigurationAdmin(admin.ModelAdmin):
def run_setup(self, request, queryset):
for item in queryset:
conf = Configuration.objects.get(key=item.key)
form = CONFIGS[item.key].form(instance=conf, key=item.key)
form = CONFIGS[item.key].get_form_builder()(instance=item, key=item.key)
r = form.config_task()
if isinstance(r, HttpResponse):
return r
Is it unethical if I do it and point zbyte64 as the author ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.