Setting up website global settings.

Register or login to post to the forum.
13 May, 2016 10:45

We try to develope our own website based on Tendenci CMS. We firstly try to do it on local server: Ubuntu 14.04, Python 2.7, Postgreql 9.3, Tendenci 7.2.14. Tendenci was installed based on your Instructions . When we perform migrations by migrate_initials.sh we have errors in the first migrations but migrate_initials.sh says that this errors can be ignored. Then all seems to be working OK: We can change menus, pages, articles and so on and this can be seen in logs of Postgesql.

But when we try to change the global settings by the "Administrative->Site Settings" from top menu like "Address", "Administrator Email", "Site URL" and so on the error will be appear and nothing chainged and also any INSERT query with this fields don't uppear in Postgresql logs.

Is there any text file or data base table where we can set this settings by hands?

We have next error message when login(but login is successfull) and try to update global settings: "Oops ____, we caused a problem We have been notified of this and will be working on it quickly. You may want to try this page again in a little bit."

25 May, 2016 16:31

Yes, there is a management command that let you update site settings. For example:

python manage.py set_setting site global siteurl http://www.your-domain.com

But, let's fix the error. Can you please update tendenci to the latest version to see if that fix the issue? If not, turn on the debug mode by changing the DEBUG = True in the conf/local_settings.py, and paste the traceback error here...

27 May, 2016 08:16

Thank you very much for reply! Now all works fine. When I try to implement your manage.py command it says errors about secret keys. When I install Tendenci I really forgot reset SECRET_KEY and SECRET_SETTINGS_KEY. I generate two random strings and put them into local_settings.py and all works now.

23 Sep, 2016 19:57

Glad this was resolved and we would love to see you on github!