mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
lint with black python. convert f style strings to old one. some small fixes
This commit is contained in:
parent
c20c353a40
commit
508e3609be
54 changed files with 2123 additions and 1824 deletions
|
@ -1,12 +1,11 @@
|
|||
from django.db.models import Model, CharField, DateTimeField
|
||||
from django.db.models import CharField, DateTimeField, Model
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
||||
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