blob: 9bb343e5e7688dadf3b6a234fecb4ce1bf6fac8a [file] [log] [blame]
from django.db import models
from core.models import User, Service, SingletonModel, PlCoreBase, Instance
from core.models.plcorebase import StrippedCharField
import os
from django.db import models
from django.forms.models import model_to_dict
from django.db.models import Q
# Create your models here.
class Hello(PlCoreBase):
name = models.CharField(max_length=254,help_text="Salutation e.g. Hello or Bonjour")
instance_backref = models.ForeignKey(Instance,related_name="hellos")
class World(PlCoreBase):
name = models.CharField(max_length=254,help_text="Name of planet")
hello = models.ForeignKey(Hello)