On Thursday 25 May 2006 09:50, Joseph Kocherhans wrote:
> On 5/25/06, Eric Walstad <[EMAIL PROTECTED]> wrote:
> > My 'Projects' admin form has 'Notes'.  Notes have a non-user-editable
> > 'note date' DateTimeField.  I haven't been able to figure out how to get
> > the note date to get displayed in the admin interface in such a way that
> > it's visible but not editable.  Any ideas?
>
> I assume you mean on the edit form since doing this in the change list
> if straightforward. I've done this a few times by overriding the
> appropriate change_form.html template. It's probably your best bet for
> now. You also might try creating a custom field and a new admin widget
> template if this is more than a one off type of thing.
>
> Joseph

Hi Joseph,

Yes, I'm talking about the edit form.

Yes, I suspect this is more than a one-off issue.  I'd also like to see the 
last modified timestamp on the Project's related ProjectFiles.  Can you point 
me to documentation on how to whip up a new admin widget and direct the admin 
code to use it for particular fields?  Is this a 'use the source, Luke' 
instance?

Thanks,

Eric.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to