Files
edx-platform/lms/djangoapps/circuit/models.py
2013-06-19 16:56:34 -04:00

11 lines
323 B
Python

from django.db import models
class ServerCircuit(models.Model):
# Later, add owner, who can edit, part of what app, etc.
name = models.CharField(max_length=32, unique=True, db_index=True)
schematic = models.TextField(blank=True)
def __unicode__(self):
return self.name + ":" + self.schematic[:8]