Re: Please Help with Template for django.views.generic.create_update.update_object

2006-06-21 Thread Paul Childs
Thanks for your insight Jay. I tried using the {{ form.error_dict }} on my page and all I got was an empty dictionary. Thanks again. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: Please Help with Template for django.views.generic.create_update.update_object

2006-06-21 Thread Paul Childs
Hi Malcom, > I am not 100% certain what you are wanting to display in the repeating > section of the form. Is it every photo in the system? Or maybe every > photo associated with the existing "repair" instance? Sorry for being > dense; I'm trying to work out the context from some code fragments >

Re: Please Help with Template for django.views.generic.create_update.update_object

2006-06-20 Thread Malcolm Tredinnick
On Mon, 2006-06-19 at 16:42 +, Paul Childs wrote: > I am using the Dev trunk as of Saturday with the models below: > > #-- > class Repair(models.Model): > > tail_number = models.IntegerField(choices=AIRCRAFT_CHOICES) > > location = models.CharField(ma

Re: Please Help with Template for django.views.generic.create_update.update_object

2006-06-20 Thread Jay Parlar
You may just have a situation here that generic views can't handle, and you'll have to write your own view. If you grep through contrib.admin, you'll notice that they don't actually use any generic views there. That being said, it'd be nice if someone wrote a little tutorial on creating your own

Re: Please Help with Template for django.views.generic.create_update.update_object

2006-06-20 Thread Paul Childs
I received an email from someone in the group for more clarification: > But then, why do you want to put more than one image in a form? There can be more than one photograph of each repair. I need to mirror what is done in the admin with models that are edited inline. > What is the form for? wh

Re: Please Help with Template for django.views.generic.create_update.update_object

2006-06-20 Thread Paul Childs
Honest, I really tried to figure this out on my own. I have been relying on the Django website for answers but template examples are in really short supply. I'd even accept a search string for Google if that's all anyone is willing to give. Thanks in advance. --~--~-~--~~---

Please Help with Template for django.views.generic.create_update.update_object

2006-06-19 Thread Paul Childs
I am using the Dev trunk as of Saturday with the models below: #-- class Repair(models.Model): tail_number = models.IntegerField(choices=AIRCRAFT_CHOICES) location = models.CharField(maxlength=30) damage_type = models.CharField(maxlength=50) clas