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

9 lines
248 B
Python
Raw Normal View History

2021-09-06 20:34:43 +02:00
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)