mirror of
https://github.com/jazzband/django-authority.git
synced 2026-05-01 20:24:44 +00:00
Minor updates to docs
This commit is contained in:
parent
2a2675087b
commit
456afd3153
6 changed files with 17 additions and 17 deletions
|
|
@ -1,14 +1,14 @@
|
|||
.. _check-templates:
|
||||
|
||||
==============================
|
||||
Check permissions in templates
|
||||
==============================
|
||||
|
||||
.. index::
|
||||
single: ifhasperm
|
||||
single: get_permissions
|
||||
single: get_permission
|
||||
|
||||
==============================
|
||||
Check permissions in templates
|
||||
==============================
|
||||
|
||||
django-authority provides a couple of template tags which allows you to get
|
||||
permissions for a user (and a related object).
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
.. _configuration:
|
||||
|
||||
=============
|
||||
Configuration
|
||||
=============
|
||||
|
||||
.. index::
|
||||
single: urls.py
|
||||
single: settings.py
|
||||
single: autodiscover
|
||||
|
||||
=============
|
||||
Configuration
|
||||
=============
|
||||
|
||||
settings.py
|
||||
===========
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
.. _create-basic-permission:
|
||||
|
||||
=========================
|
||||
Create a basic permission
|
||||
=========================
|
||||
|
||||
.. index::
|
||||
single: autodiscover
|
||||
single: permissions.py
|
||||
single: BasePermission
|
||||
|
||||
=========================
|
||||
Create a basic permission
|
||||
=========================
|
||||
|
||||
Where to store permissions?
|
||||
===========================
|
||||
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ would allow an user to have permission to edit a flatpage only between
|
|||
Check custom permissions
|
||||
========================
|
||||
|
||||
The permission check is similiar to :ref:`create-basic-permisson` and
|
||||
The permission check is similiar to :ref:`create-basic-permission` and
|
||||
:ref:`create-per-object-permission`.
|
||||
|
||||
.. warning:: Although *per-object* permissions are translated to
|
||||
|
|
|
|||
|
|
@ -80,4 +80,4 @@ Other pages
|
|||
|
||||
tips_tricks
|
||||
support
|
||||
documentation_guidelines
|
||||
documentation_guidelines
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
.. _support:
|
||||
|
||||
.. index::
|
||||
single: Support
|
||||
|
||||
=======
|
||||
Support
|
||||
=======
|
||||
|
||||
.. index::
|
||||
single: Support
|
||||
|
||||
We've created a `google group`_ for django-authority. If you have questions or
|
||||
suggestions, please drop us a note.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue