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

11 lines
275 B
Python
Raw Normal View History

2015-03-03 09:34:09 +00:00
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