diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-01-23 23:22:45 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-01-23 23:22:45 +0000 |
| commit | 14ea5bfef5f10fccd20cc3dc70b39f55673b0ebd (patch) | |
| tree | 6b42e7bdd9d700b36fff59ed707c18c7276d75c1 /docs | |
| parent | 7ce571ef015705a8e19994f68dd71d0a32f95390 (diff) | |
Added 'How do I automatically set a field's value to the user who last edited the object in the admin?' and 'How do I limit admin access so that objects can only be edited by the users who created them?' to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/faq.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/faq.txt b/docs/faq.txt index 00fb881c7d..2bf31aeffd 100644 --- a/docs/faq.txt +++ b/docs/faq.txt @@ -406,6 +406,19 @@ If you're sure your username and password are correct, make sure your user account has ``is_active`` and ``is_staff`` set to True. The admin site only allows access to users with those two fields both set to True. +How do I automatically set a field's value to the user who last edited the object in the admin? +----------------------------------------------------------------------------------------------- + +At this point, you can't do this. But it's an oft-requested feature, so we're +discussing how it can be implemented. The problem is we don't want to couple +the model layer with the admin layer with the request layer (to get the current +user). It's a tricky problem. + +How do I limit admin access so that objects can only be edited by the users who created them? +--------------------------------------------------------------------------------------------- + +See the answer to the previous question. + My "list_filter" contains a ManyToManyField, but the filter doesn't display. ---------------------------------------------------------------------------- |
