Hi Rajesh. Sorry for the extended period of time between posts -- this is a weekend project for me.
The code I pasted (poorly) *is* the model code that causes the problem, minus the last couple of field entries. So instead of this at the end of my fields list: 'paypal_number', 'pending_referrer_name', 'pending_referrer_email')})) I had this: 'paypal_number')})) And this would cause the two fields (pending_referrer_name, pending_referrer_email) to get truncated whenever I updated the record. >From what I understand (which admittedly is not a lot), the fields list is two tuples, the first tuple containing the fieldset. As far as I can tell I got this right (the form displays the fieldsets as I laid them out, anyway). Thanks again for your help. Also, if it would help for me to repaste the code using dpaste, let me know. On Dec 3, 11:41 am, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > On Dec 2, 10:03 pm,borntonetwork<[EMAIL PROTECTED]> wrote: > > > Thank you for your reply, Rajesh. The two fields in question are > > actually "pending_referrer_name" and "pending_referrer_email". In the > > admin class code below, I include them in the fields attribute. > > However, initially I did not and that is when the problem would occur. > > <snip> > > > And the admin code: > > > class Admin: > <snip> > > fields = (('Service provider information', {'fields': > > <snip> > > You need to use the fieldsets attribute and not the fields attribute > here. Can you review your code snippet and include or dpaste the code > that actually fails to work? > > -Rajesh D --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---