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 242B

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