| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 7 | ||
| Bugs | 2 | Features | 1 |
| 1 | from django.db import models |
||
| 22 | class Person(Audit): |
||
| 23 | |||
| 24 | """ an actual singular human being """ |
||
| 25 | # model fields |
||
| 26 | name = models.CharField(blank=True, max_length=100) |
||
| 27 | email = models.EmailField() |
||
| 28 | img = models.ImageField( |
||
| 29 | upload_to='uploads', |
||
| 30 | blank=True) |
||
| 31 | |||
| 32 | def __str__(self): |
||
| 33 | return self.name |
||
| 34 | |||
| 35 | @property |
||
| 36 | def foo(self): |
||
| 37 | return self.name |
||
| 38 | |||
| 51 |