1
Fork 0
yamdl-playground/yamdl_content/core/models.py

8 lines
157 B
Python

from django.db import models
class Page(models.Model):
__yamdl__ = True
title = models.CharField(max_length=255)
content = models.TextField()