app/settings.py
changeset 77 778b5f9d6e7c
parent 66 8c86470746fc
child 91 21b78b8ea590
equal deleted inserted replaced
76:d9ac37396b1c 77:778b5f9d6e7c
    12 # See the License for the specific language governing permissions and
    12 # See the License for the specific language governing permissions and
    13 # limitations under the License.
    13 # limitations under the License.
    14 
    14 
    15 __authors__ = [
    15 __authors__ = [
    16   '"Augie Fackler" <durin42@gmail.com>',
    16   '"Augie Fackler" <durin42@gmail.com>',
       
    17 	'"Pawel Solyga" <pawel.solyga@gmail.com',
    17   ]
    18   ]
    18 
       
    19 
    19 
    20 import os
    20 import os
    21 
    21 
    22 
    22 # Debug flag True only on App Engine development environment (dev_appserver.py)
    23 DEBUG = True
    23 # dev_appserver sets SERVER_SOFTWARE to 'Development/1.0'
       
    24 DEBUG = os.environ['SERVER_SOFTWARE'].startswith('Dev')
    24 TEMPLATE_DEBUG = DEBUG
    25 TEMPLATE_DEBUG = DEBUG
    25 
    26 
    26 ADMINS = (
    27 ADMINS = (
    27     # ('Your Name', 'your_email@domain.com'),
    28     # ('Your Name', 'your_email@domain.com'),
    28 )
    29 )