I did an SVN pull, and now there is a new admin setting:

+EMAIL_FOOTER_TEXT = Setting(u'EMAIL_FOOTER_TEXT', '', EMAIL_SET, dict(
+label = _("Email Footer Text"),
+help_text = _("Email footer text, usually \\"CAN SPAM\\" compliance, or the physical address of the organization running the website. See <a href=\\"http://en.wikipedia.org/wiki/CAN-SPAM_Act_of_2003\\">this Wikipedia article</a> for more info."),
+required=False))

What do I need to do to get this setting in my live OSQA sites, that I am upgrading? Is this setting automatically imported into the database? Or do I need to syncdb? Or what? I don't see a database migration.

asked 02 Jun '10, 13:52

Joseph's gravatar image

Joseph
1.6k387172
accept rate: 36%


Yes, it's automatically stored into the database, that is, if you change it, otherwise it will keep using the default until you do it.

link

answered 02 Jun '10, 14:54

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
16.8k65975
accept rate: 52%

No, what I mean is: If the database has already been created (because I am upgrading my codebase), will this row get added?

(02 Jun '10, 15:33) Joseph

Yes, almost every day new settings are added :-)

(02 Jun '10, 17:43) Hernani Cerq... ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×61
×30
×23

Asked: 02 Jun '10, 13:52

Seen: 476 times

Last updated: 02 Jun '10, 17:43

powered by OSQA