Admin custom widget and add new button

2012-08-08 Thread Leonardo Giordani
Hi all, I'm trying to enhance a form in the admin site for a given model (Django 1.3). The relevant part of the model is the following class Project(models.Model): [...] icon = models.ForeignKey(Icon, null=True) [...] and the admin is a simple call to admin.site.register(). This way I get

Re: Admin custom widget

2007-05-22 Thread Jens Werner
I found the solution. It is very simple. I need only a directory named 'widget' in my project-template-directory. Thats all! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Admin custom widget

2007-05-15 Thread Jens Werner
Hi everybody, I'm creating a new widget/template for my admin interface (image_with_thumbnail.html for nesh.thumbnail.field.ImageWithThumbnailField). For the moment it works fine, if I put the image_with_thumbnail.html in django/contrib/admin/templates/widget, but I don't want patch the