# models.py
from django.db import models
from django.contrib.auth.models import User
# Модель новости
class News(models.Model)
title = models.CharField(max_length=250, verbose_name='Заголовок')
text = models.TextField(verbose_name='Текст новости')
user = models.ForeignKey(User, verbose_name='Автор')