from django.db import models

# Create your models here.
class News(models.Model):
    author = models.CharField(max_length=200)
    subject = models.CharField(max_length=200)
    content = models.TextField()
    create_date = models.DateTimeField()

    def __str__(self):
        return self.subject

class News1(models.Model):
    author = models.CharField(max_length=200)
    subject = models.CharField(max_length=200)
    content = models.TextField()
    create_date = models.DateTimeField()

    def __str__(self):
        return self.subject



