> Do you mind sharing the class definition for this model?
here it is: #this keeps track of active bidders and their profile settings class Bidder (models.Model): AccountNum = models.ForeignKey(User, unique=True, blank=False) # User.Id (per auth user table Title = models.CharField (max_length=4, blank=False,db_index=True) # Salutation , required Organization = models.CharField (max_length=120, blank=True) # Organization, optional FirstName = models.CharField (max_length=50, blank=False,db_index=True) # First Name , required LastName = models.CharField (max_length=50, blank=False,db_index=True) # Last Name , required BAddress = models.CharField (max_length=100, blank=False) # Address , required BAddress2 = models.CharField (max_length=50, blank=True) # Address2 , optional BCity = models.CharField (max_length=50, blank=False) # City , required BState = models.CharField (max_length=3,blank=False) # State / Canadian Province / US Territory, required BZipCode = models.CharField (max_length=10, blank=False,db_index=True) # Zipcode , required BCountry = models.CharField (choices=Country_Choices,max_length=4, blank=False) # Country, Required SAddress = models.CharField (max_length=100, blank=False) # Address , required SAddress2 = models.CharField (max_length=50, blank=True) # Address2 , optional SCity = models.CharField (max_length=50, blank=False) # City , required SState = models.CharField (max_length=3,blank=False) # US / Candian Province / US Territory, required SZipCode = models.CharField (max_length=10, blank=False) # Zipcode , required SCountry = models.CharField (choices=Country_Choices,max_length=4, blank=False) # Country , required Phone = models.CharField (max_length=12, blank=False) # Phone number, required Fax = models.CharField (max_length=12, blank=True) # Fax, optional OutBidNotifications = models.IntegerField (default=1, blank=False,choices=Active_Choices,help_text='An outbid notification will be sent to the bidder via email in the event they are no longer the active high bidder.') # Whether or not to send outbid notices, 1=yes, 0 = no BidNotifications = models.IntegerField (default=0, blank=False,choices=Active_Choices,help_text='Sent to the bidder for each and every bid they place.') # Whether or not to send a copy of their latest bid, 1=yes, 0 = no LostNotifications = models.IntegerField (default=1, blank=False,choices=Active_Choices,help_text='Sent to the user in the event they lose an auction.') # Whether or not to send a lost auction notice, 1=yes, 0 = no EmailFormat = models.CharField (max_length=1,blank=False,choices=EmailFormat_Choices) # Whether to receive HTML or Text Email. H = html, T=Text RefreshRate = models.IntegerField (blank=False, default=60, choices=Refresh_Choices) # The # of seconds per page reload - applies to auction detail and auction list pages. AuthCode = models.CharField (max_length=20, blank=True, help_text='The original authcode established during registration. DO NOT CHANGE.') # holds the original CC Auth code from CC verify CreatedDate = models.DateTimeField (blank=False, db_index=True,help_text='ADMIN Field - DO NOT CHANGE.') # date of creation ModifiedDate = models.DateTimeField (auto_now_add=True,blank=False, db_index=True)# auto date of update Agreedtoterms = models.BooleanField() #indicates whether or not a person has agreed to the HRM TAC Active = models.IntegerField (choices=Active_Choices,default=0, blank=False,db_index=True,help_text='Whether or not the user may place bids on open auctions.') # controls whether or not a person can bid. 1= yes, 0=no class Admin: list_display = ('FirstName','LastName','Organization','BZipCode','Phone','Active','CreatedDate',) list_filter = ['CreatedDate'] fields = ( ('Contact Information', { 'fields': ('Title','Organization','FirstName','LastName','Phone','Fax',) }), ('Billing Address', { 'fields': ('BAddress','BAddress2','BCity','BState','BZipCode','BCountry',) }), ('Shipping Address', { 'fields': ('SAddress','SAddress2','SCity','SState','SZipCode','SCountry',) }), ('Communication Preferences', { 'fields': ('RefreshRate','OutBidNotifications','BidNotifications','LostNotifications','EmailFormat',) }), ('Admin Information:', { 'fields': ('AccountNum','AuthCode','CreatedDate','ModifiedDate','Active') }), ) search_fields = ['AccountNum','Organization','FirstName','LastName','BZipCode','Phone'] --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---