1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

add host name for logs beside others

This commit is contained in:
catborise 2021-05-31 11:39:09 +03:00
parent 70bc5a4408
commit 610efd5520
7 changed files with 85 additions and 62 deletions

View file

@ -3,6 +3,7 @@ from django.utils.translation import gettext_lazy as _
class Logs(Model):
user = CharField(_("user"), max_length=50)
host = CharField(_("host"), max_length=50, default="-")
instance = CharField(_("instance"), max_length=50)
message = CharField(_("message"), max_length=255)
date = DateTimeField(_("date"), auto_now=True)