from django.db import models

# The Instance Itself
# This will be fed automatically, where the ID is the instance name.
# The instance name is equal to the folder name in the instances
#   folder on the hard drive
class Instance(models.Model):
    instance_name = models.CharField(max_length=255, primary_key=True)
    add_date = models.DateTimeField('date added')
    def __str__(self):
        return self.instance_name
9ebe997842e8a65a9f07cfe0fce4ce6bddfb7af9
<mask token>


class Instance(models.Model):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Instance(models.Model):
    <mask token>
    <mask token>

    def __str__(self):
        return self.instance_name

<mask token>


class Instance(models.Model):
    instance_name = models.CharField(max_length=255, primary_key=True)
    add_date = models.DateTimeField('date added')

    def __str__(self):
        return self.instance_name

from django.db import models


class Instance(models.Model):
    instance_name = models.CharField(max_length=255, primary_key=True)
    add_date = models.DateTimeField('date added')

    def __str__(self):
        return self.instance_name

from django.db import models

# The Instance Itself
# This will be fed automatically, where the ID is the instance name.
# The instance name is equal to the folder name in the instances
#   folder on the hard drive
class Instance(models.Model):
    instance_name = models.CharField(max_length=255, primary_key=True)
    add_date = models.DateTimeField('date added')
    def __str__(self):
        return self.instance_name