mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
9 lines
248 B
Python
9 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)
|