maoaiz / django-admin-conf-vars Goto Github PK
View Code? Open in Web Editor NEWA simple Django app to edit configuration variables with the Django admin.
License: BSD 3-Clause "New" or "Revised" License
A simple Django app to edit configuration variables with the Django admin.
License: BSD 3-Clause "New" or "Revised" License
Hey, very good work :)
I wanted something like this, but then the values are cached in the system memory, and not in something like redis
or memcached
. So now if I edit the value, only the server that received the save
request will have updated values.
Traceback (most recent call last):
File "/home/mailsghd/mailer/passenger_wsgi.py", line 15, in
from mailer.wsgi import application
File "/home/mailsghd/mailer/mailer/wsgi.py", line 13, in
from mailer.admin_variables import set_admin_values
File "/home/mailsghd/mailer/mailer/admin_variables.py", line 1, in
from django_admin_conf_vars.global_vars import config
File "/home/mailsghd/virtualenv/mailer/3.8/lib/python3.8/site-packages/django_admin_conf_vars/global_vars.py", line 2, in
from .models import ConfigurationVariable
File "/home/mailsghd/virtualenv/mailer/3.8/lib/python3.8/site-packages/django_admin_conf_vars/models.py", line 5, in
class ConfigurationVariable(models.Model):
File "/home/mailsghd/virtualenv/mailer/3.8/lib/python3.8/site-packages/django/db/models/base.py", line 127, in new
app_config = apps.get_containing_app_config(module)
File "/home/mailsghd/virtualenv/mailer/3.8/lib/python3.8/site-packages/django/apps/registry.py", line 260, in get_containing_app_config
self.check_apps_ready()
File "/home/mailsghd/virtualenv/mailer/3.8/lib/python3.8/site-packages/django/apps/registry.py", line 138, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
Error when run migration in mysql
django.db.utils.OperationalError: (1101, "BLOB, TEXT, GEOMETRY or JSON column 'description' can't have a default value")
Error in migration 005_auto_20180725_1624.py
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.