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.
1234567891011 |
- from django.db import models
- from django.utils import timezone
-
- # Create your models here.
- class Notice(models.Model):
- notice_title = models.CharField(max_length=80)
- notice_text = models.CharField(max_length=400)
- pub_start = models.DateTimeField(default=timezone.now)
- pub_end = models.DateTimeField(default=timezone.now)
-
|