Re: extending the django admin site

2009-01-31 Thread Santiago
in lines: 2009/2/1 alexander lind : > > How do I add a custom field to the a model rendered as a form by > django admin site? > Use custom widgets > My model has a 'choices' field with 4 possible choices: png, gif, jpg > and 'none'. As you can guess this describes the format of an image. > Wh

extending the django admin site

2009-01-31 Thread alexander lind
How do I add a custom field to the a model rendered as a form by django admin site? My model has a 'choices' field with 4 possible choices: png, gif, jpg and 'none'. As you can guess this describes the format of an image. What I want to do is get the admin site to display a file upload w