Code

Ticket #11936: models.py

File models.py, 906 bytes (added by ryszard, 5 years ago)

models file to trigger the bug

Line 
1from django.db import models
2
3# Create your models here.
4class PathologicallyLongName(models.Model):
5    supercalifragilisticespialidistic_1 = models.IntegerField(null=True)
6    supercalifragilisticespialidistic_2 = models.IntegerField(null=True)
7    supercalifragilisticespialidistic_3 = models.IntegerField(null=True)
8    supercalifragilisticespialidistic_4 = models.IntegerField(null=True)
9    supercalifragilisticespialidistic_5 = models.IntegerField(null=True)
10    supercalifragilisticespialidistic_6 = models.IntegerField(null=True)
11    supercalifragilisticespialidistic_7 = models.IntegerField(null=True)
12    supercalifragilisticespialidistic_8 = models.IntegerField(null=True)
13    supercalifragilisticespialidistic_9 = models.IntegerField(null=True)
14    supercalifragilisticespialidistic_10 = models.IntegerField(null=True)
15    supercalifragilisticespialidistic_11 = models.IntegerField(null=True)