mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 23:55:24 +00:00
11 lines
275 B
Python
11 lines
275 B
Python
|
from django.db import models
|
||
|
from instances.models import Instance
|
||
|
|
||
|
|
||
|
class Logs(models.Model):
|
||
|
instance = models.ForeignKey(Instance)
|
||
|
message = models.CharField(max_length=255)
|
||
|
date = models.DateTimeField()
|
||
|
|
||
|
def __unicode__(self):
|
||
|
return self.instance
|