diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/models.py | 1 | ||||
-rw-r--r-- | core/views/statistics.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/core/models.py b/core/models.py index cd8db02..8d2d658 100644 --- a/core/models.py +++ b/core/models.py @@ -93,6 +93,7 @@ class DataIssue(TroggleModel): date = models.DateTimeField(auto_now_add=True, blank=True) parser = models.CharField(max_length=50, blank=True, null=True) message = models.CharField(max_length=400, blank=True, null=True) + url = models.CharField(max_length=300, blank=True, null=True) # link to offending object class Meta: ordering = ['date'] diff --git a/core/views/statistics.py b/core/views/statistics.py index f7a5453..ac1e7ac 100644 --- a/core/views/statistics.py +++ b/core/views/statistics.py @@ -145,6 +145,8 @@ def stats(request): return render(request,'statistics.html', renderDict) def dataissues(request): + '''Each issue has a parser, a message and a url linking to the offending object after loading + ''' def myFunc(di): return di.parser.lower() + di.message.lower() |