Changes between Initial Version and Version 1 of Ticket #13955
- Timestamp:
- Jul 16, 2010, 4:33:00 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13955 – Description
initial v1 1 1 In a Model, 2 2 {{{ 3 3 class Report(models.Model): 4 4 report_number = models.CharField('NCAC report number', primary_key=True) 5 5 }}} 6 6 I've set the name for the capitalization of the acronym. 7 7 8 8 When I use the Model as a ForeignKey, 9 9 {{{ 10 10 class RSL(models.Model): 11 11 report_number = models.ForeignKey('Report', null=True) 12 12 }}} 13 13 the capitalization of the field name is lost, it will show up as 'Ncac report number' in the admin view for the RSL database.