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