qhfgva wrote: > - Is there a way to have input fields that are only available to > certain users/groups?
> - Is there a way to have certain rows not editable based on user/group > (e.g the mangager_signoff column is true so non manager users can't > modify this row any more)? See the other answer about my hacky solution, which should cover these two. > - Is there a way to have certain filters on as default? (Instead of > set to "All") I can't think of a way to do this at the moment. > - Is there a way to highlight certain rows with colors (e.g. if a row > meets a certain condition - e.g. a task past a due date highlighted in > red.) I think you should be able to do this in javascript - I think it is the 'js' option to Admin. > - Is there a reasonable way to add/remove buttons to/from the > save/delete buttons at the bottom of the create/update pages? You can override the admin templates on a per-model basis, which should allow you to do what you want. It's not ideal, as you'll have to copy the whole template and then tweak the bits you need, which is a pain if the admin templates change, but that doesn't happen very much any more. Luke X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.11.53.63 with SMTP id b63mr118065cwa; Mon, 22 May 2006 02:39:25 -0700 (PDT) X-Google-Token: EBWqpwwAAAB4EXIwnd4uBocvG1Cd6aYZ Received: from 217.67.53.216 by y43g2000cwc.googlegroups.com with HTTP; Mon, 22 May 2006 09:39:25 +0000 (UTC) From: "Luke Plant" <[EMAIL PROTECTED]> To: "Django users" <django-users@googlegroups.com> Subject: Re: does django go to 11? Date: Mon, 22 May 2006 02:39:25 -0700 Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 LEGOLAS Mime-Version: 1.0 Content-Type: text/plain qhfgva wrote: > - Is there a way to have input fields that are only available to > certain users/groups? > - Is there a way to have certain rows not editable based on user/group > (e.g the mangager_signoff column is true so non manager users can't > modify this row any more)? See the other answer about my hacky solution, which should cover these two. > - Is there a way to have certain filters on as default? (Instead of > set to "All") I can't think of a way to do this at the moment. > - Is there a way to highlight certain rows with colors (e.g. if a row > meets a certain condition - e.g. a task past a due date highlighted in > red.) I think you should be able to do this in javascript - I think it is the 'js' option to Admin. > - Is there a reasonable way to add/remove buttons to/from the > save/delete buttons at the bottom of the create/update pages? You can override the admin templates on a per-model basis, which should allow you to do what you want. It's not ideal, as you'll have to copy the whole template and then tweak the bits you need, which is a pain if the admin templates change, but that doesn't happen very much any more. Luke --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---