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

1 year ago
1 year ago
1 year ago
12345678910
  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. user_id = models.IntegerField(default=None, null=True, blank=True)
  6. pub_start = models.DateTimeField()
  7. pub_end = models.DateTimeField()