Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[per-object-permissions] Corrected incorrect import in row_level_perm…

…_manipulator and made some format changes to the row level perm template

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 77eda0234e59ad009b5922d770e8b10a4125e80e 1 parent dc3c4db
Christopher Long authored
1  django/contrib/admin/
@@ -3,7 +3,6 @@
from django.http import Http404, HttpResponse, HttpResponseRedirect
from django.contrib.auth.models import User, Group, Permission, RowLevelPermission
from django.db.models import manipulators
-from auth import utils
class ChangeRLPManipulator(forms.Manipulator):
def __init__(self, ct=None):
8 django/contrib/admin/templates/admin/row_level_permission.html
@@ -49,6 +49,7 @@
<h2>{% trans "Current Permissions" %}</h2>
<table id="current-rlpTable">
+{% if rlp_form_list %}
<tr class="header">
<th id="select_header"></th>
<th id="owner_header">
@@ -65,7 +66,6 @@
-{% if rlp_form_list %}
{% load row_level_permission %}
{% for o in rlp_form_list %}
<tr id="editRLP-{{ }}">
@@ -106,8 +106,8 @@
{% else %}
-<tr><td colspan=4><em>No row level permissions</em></td></tr>
+<em>{% trans 'No row level permissions'%}</em>
{% endif %}
Please sign in to comment.
Something went wrong with that request. Please try again.