V
V
Vladimir Kuts2017-08-30 17:22:11
Django
Vladimir Kuts, 2017-08-30 17:22:11

Change variable from settings.py?

There is a third party application, say:
django-push-notifications
Which, depending on the variable in settings.py, uses either the live or test server to send push notifications.
How to make the value of this variable be readable from the database and set from the admin panel, in order to be able to switch between the production and test push server from the admin panel?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question