1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 12:04:15 +00:00
webvirtcloud/logs/models.py
2015-05-18 22:00:30 +03:00

11 lines
298 B
Python

from django.db import models
class Logs(models.Model):
user = models.CharField(max_length=50)
instance = models.CharField(max_length=50)
message = models.CharField(max_length=255)
date = models.DateTimeField(auto_now=True)
def __unicode__(self):
return self.instance