Files
openide/python/helpers/bundled_stubs/django-stubs/contrib/flatpages/models.pyi
Aleksei Kniazev f985a175df PY-76629: [python] bundle django-stubs, add them to the interpreter path and turn off stub suppressor
GitOrigin-RevId: 044f50f973193d54ea361d3c9b2d64ee3b83974a
2024-10-28 14:57:56 +00:00

13 lines
402 B
Python

from django.contrib.sites.models import Site
from django.db import models
class FlatPage(models.Model):
url: models.CharField
title: models.CharField
content: models.TextField
enable_comments: models.BooleanField
template_name: models.CharField
registration_required: models.BooleanField
sites: models.ManyToManyField[Site, Site]
def get_absolute_url(self) -> str: ...