#13955: capitalization of ForeignKey
----------------------------------+-----------------------------------------
 Reporter:  ja...@ncac.gwu.edu    |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  django.contrib.admin  |     Version:  1.2       
 Keywords:                        |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 In a Model,

 class Report(models.Model):
     report_number = models.CharField('NCAC report number',
 primary_key=True)

 I've set the name for the capitalization of the acronym.

 When I use the Model as a ForeignKey,

 class RSL(models.Model):
     report_number = models.ForeignKey('Report', null=True)

 the capitalization of the field name is lost, it will show up as 'Ncac
 report number' in the admin view for the RSL database.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13955>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to