Return the codename of the permission for the specified action.
(action, opts)
| 368 | |
| 369 | |
| 370 | def get_permission_codename(action, opts): |
| 371 | """ |
| 372 | Return the codename of the permission for the specified action. |
| 373 | """ |
| 374 | return "%s_%s" % (action, opts.model_name) |
| 375 | |
| 376 | |
| 377 | def update_session_auth_hash(request, user): |
no outgoing calls