mirror of
https://github.com/retspen/webvirtcloud
synced 2026-03-22 10:34:49 +00:00
black and isort lint.
This commit is contained in:
parent
77d031b04f
commit
7aaa018d2c
47 changed files with 1206 additions and 1063 deletions
|
|
@ -1,12 +1,12 @@
|
|||
from django.db.models import Model, CharField, DateTimeField
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.db.models import Model, CharField, DateTimeField
|
||||
|
||||
|
||||
class Logs(Model):
|
||||
user = CharField(_('user'), max_length=50)
|
||||
instance = CharField(_('instance'), max_length=50)
|
||||
message = CharField(_('message'), max_length=255)
|
||||
date = DateTimeField(_('date'), auto_now=True)
|
||||
user = CharField(_("user"), max_length=50)
|
||||
instance = CharField(_("instance"), max_length=50)
|
||||
message = CharField(_("message"), max_length=255)
|
||||
date = DateTimeField(_("date"), auto_now=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.instance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue