Re: Problems with model with optional FileField in Admin

2010-04-06 Thread Marcos Marín
Yes, sorry for not mentioning it. On Tue, Apr 6, 2010 at 08:12, Walt wrote: > Did you also specify null=True? > > > Walt > > -~ > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegro

Re: Problems with model with optional FileField in Admin

2010-04-06 Thread Walt
Did you also specify null=True? Walt -~ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.c

Problems with model with optional FileField in Admin

2010-04-05 Thread Marcos Marín
Hi, So I have a site where I want the client to be able to add/remove links from a menu on the site through the admin site. Usually these links are to files on the server but not always. So I created a Link model which has a name, file and url field. The plan here is that if a file is given it's u