1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00
RPGnotes/locations/models.py
2021-09-06 20:34:43 +02:00

8 lines
248 B
Python

from django.db import models
# Create your models here.
from common.models import BaseModel, DescriptionModel
class Location(BaseModel, DescriptionModel):
part_of = models.ForeignKey("self", on_delete=models.RESTRICT, null=True, blank=True)