summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2013-03-18 21:53:35 -0700
committerMichael Merickel <michael@merickel.org>2013-03-18 21:53:35 -0700
commit81e84fe86bee0c2753674fdaead001803936a2ba (patch)
treefa49a9c4c6572be82c7f170da6b7fbfec59ba11e /docs
parent2d931400b22f4c5764df68c2799be512e60a2de1 (diff)
downloadpyramid-81e84fe86bee0c2753674fdaead001803936a2ba.tar.gz
pyramid-81e84fe86bee0c2753674fdaead001803936a2ba.tar.bz2
pyramid-81e84fe86bee0c2753674fdaead001803936a2ba.zip
reorder some imports to be alphabetical
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/security.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/narr/security.rst b/docs/narr/security.rst
index 36c888559..203aa2404 100644
--- a/docs/narr/security.rst
+++ b/docs/narr/security.rst
@@ -234,8 +234,8 @@ class:
.. code-block:: python
:linenos:
- from pyramid.security import Everyone
from pyramid.security import Allow
+ from pyramid.security import Everyone
class Blog(object):
__acl__ = [
@@ -250,8 +250,8 @@ Or, if your resources are persistent, an ACL might be specified via the
.. code-block:: python
:linenos:
- from pyramid.security import Everyone
from pyramid.security import Allow
+ from pyramid.security import Everyone
class Blog(object):
pass
@@ -303,8 +303,8 @@ Here's an example ACL:
.. code-block:: python
:linenos:
- from pyramid.security import Everyone
from pyramid.security import Allow
+ from pyramid.security import Everyone
__acl__ = [
(Allow, Everyone, 'view'),
@@ -342,9 +342,9 @@ order dictated by the ACL*. So if you have an ACL like this:
.. code-block:: python
:linenos:
- from pyramid.security import Everyone
from pyramid.security import Allow
from pyramid.security import Deny
+ from pyramid.security import Everyone
__acl__ = [
(Allow, Everyone, 'view'),
@@ -380,8 +380,8 @@ ACE, as below.
.. code-block:: python
:linenos:
- from pyramid.security import Everyone
from pyramid.security import Allow
+ from pyramid.security import Everyone
__acl__ = [
(Allow, Everyone, 'view'),