Fix typos
authorMagnus Hagander <magnus@hagander.net>
Wed, 4 Oct 2017 08:55:13 +0000 (10:55 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 4 Oct 2017 08:58:30 +0000 (10:58 +0200)
postgresqleu/confreg/jinjafunc.py

index da58f08a2790ceb4e2d59158653686eeeebba6bb..692037357dc53c5e6b4d3e6cb59f6683ba4816df 100644 (file)
@@ -89,14 +89,14 @@ class ConfTemplateLoader(jinja2.FileSystemLoader):
 #   - For any models outside the confreg and confwiki namespaces, only attributes
 #     specifically listed in the models _safe_attributes are allowed.
 #   - The same applies to any model wihin confreg that has a _safe_attributes set
-#   - Any model that has a member named conference are considered part oc confreg,
+#   - Any model that has a member named conference are considered part of confreg,
 #     and access will be allowed to all attributes on it.
 #     - Except if it has a member called _unsafe_attributes, in which case they are
 #       restricted.
 #   - Specifically for InvoicePresentationWrapper, access is allowed except for
 #     things listed in _unsafe_attributes.
 #
-# For all other access, the jinja2 default sanbox rules apply.
+# For all other access, the jinja2 default sandbox rules apply.
 #
 class ConfSandbox(jinja2.sandbox.SandboxedEnvironment):
        def is_safe_attribute(self, obj, attr, value):