Re: How to use Admin modules in my application

2007-07-08 Thread Angela Sutanto
On 7/8/07, Doug B <[EMAIL PROTECTED]> wrote: > As tempting as the pretty admin interface > might be, I think you would be better off rolling your own form and > view for end users. Then you have complete control. Using the > form_for_* functions you could have the whole thing done in a few >

Re: How to use Admin modules in my application

2007-07-07 Thread Doug B
admin != user Atleast that's my view. As tempting as the pretty admin interface might be, I think you would be better off rolling your own form and view for end users. Then you have complete control. Using the form_for_* functions you could have the whole thing done in a few minutes. fetch

How to use Admin modules in my application

2007-07-07 Thread Angela Sutanto
Hi everybody, I'd like to take advantage of Admin modules to edit some my models e.g. user profile by navigating user to /admin/myapp/// to open change form. 1. I should check, whether is the same as request.user.id to prevent user from editing a foreign user record. But I don't know how