add proxy log search

This commit is contained in:
ibuler
2016-11-05 01:15:25 +08:00
parent 1d29c52a43
commit 41337d28c3
11 changed files with 167 additions and 22 deletions

View File

@@ -71,7 +71,7 @@ class ProxyLog(models.Model):
class CommandLog(models.Model):
proxy_log = models.ForeignKey(ProxyLog, on_delete=models.CASCADE, related_name='command_log')
proxy_log = models.ForeignKey(ProxyLog, on_delete=models.CASCADE, related_name='commands')
command_no = models.IntegerField()
command = models.CharField(max_length=1000, blank=True)
output = models.TextField(blank=True)