You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

models.py 262B

12345678
  1. from django.db import models
  2. # Create your models here.
  3. class Notice(models.Model):
  4. notice_title = models.CharField(max_length=80)
  5. notice_text = models.CharField(max_length=400)
  6. pub_start = models.DateTimeField()
  7. pub_end = models.DateTimeField()