Browse Source

Fix typos

pull/6/head
Marcio Mazza 9 years ago
parent
commit
571dc55456
  1. 1
      sapl/settings.py
  2. 2
      sapl/test_general.py

1
sapl/settings.py

@ -24,7 +24,6 @@ SECRET_KEY = '!9g1-#la+#(oft(v-y1qhy$jk-2$24pdk69#b_jfqyv!*%a_)t'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
TEMPLATE_DEBUG = DEBUG
ALLOWED_HOSTS = ['*'] ALLOWED_HOSTS = ['*']

2
sapl/test_general.py

@ -15,6 +15,6 @@ def test_str_sanity():
try: try:
str(obj) str(obj)
except Exception as exc: except Exception as exc:
msg = '%s.%s.__str__ has is broken.' % ( msg = '%s.%s.__str__ is broken.' % (
model.__module__, model.__name__) model.__module__, model.__name__)
raise AssertionError(msg, exc) from exc raise AssertionError(msg, exc) from exc

Loading…
Cancel
Save