Is this a clue? Got this info from forcing an error at the top of the form. Permissions are correct but seems to think there is a field missing, but not saying which one. Tried making sure there is data in every field but still no change. Just to confirm, I can save this with a user with table permissions.
(['admin/town/business/change_form.html', 'admin/town/ change_form.html', 'admin/change_form.html'], {'add': False, 'adminform': <django.contrib.admin.helpers.AdminForm object at 0x1dead50>, 'app_label': 'town', 'change': True, 'content_type_id': 45L, 'errors': [u'<ul class="errorlist"><li>This field is required.</li></ ul>'], 'form_url': '', 'has_absolute_url': True, 'has_add_permission': False, 'has_change_permission': True, 'has_delete_permission': False, 'has_file_field': True, 'inline_admin_formsets': [], 'is_popup': False, 'media': '<script type="text/javascript" src="/media/js/core.js"></ script>\n<script type="text/javascript" src="/media/js/admin/ RelatedObjectLookups.js"></script>\n<script type="text/javascript" src="/media/js/getElementsBySelector.js"></script>\n<script type="text/ javascript" src="/media/js/actions.js"></script>\n<script type="text/ javascript" src="/media/tinymce_2/jscripts/tiny_mce/tiny_mce.js"></ script>\n<script type="text/javascript" src="/media/filebrowser/js/ AddFileBrowser.js"></script>\n<script type="text/javascript" src="/ media/filebrowser/js/TinyMCEAdmin.js"></script>', 'object_id': u'86', 'opts': <Options for Business>, 'ordered_objects': [], 'original': <Business: Aileen's Beautique>, 'root_path': u'/admin/', 'save_as': False, 'save_on_top': False, 'title': u'Change Business Directory'}) On May 9, 9:18 am, phoebebright <phoebebri...@spamcop.net> wrote: > I have almost implemented a row level permissions facilitiy for a > model in my app. > > I can change the owner of the record > Display only their records in admin > But when logged in as the owner and click Save on the edit screen I > get the error "Please correct the error below." but no indication of > what the error is. If I log in with permissions to change the table > or as superuser I don't get this error, so I assume there is some > permissions checking going on somewhere. > > In an attempt to find where the problem is I have: > > in admin.py > > def has_change_permission(self, request, obj=None): > return True > > def save_model(self, request, obj, form, change): > ''' > do nothing > ''' > > Nothing makes a difference. Any suggestions as to where to look very > welcome as am stumped! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---