removed time field from datetime

This commit is contained in:
graks 2018-09-27 09:24:51 +02:00
parent f059e317b6
commit 9e5e7a9eaa
4 changed files with 19 additions and 1 deletions

Binary file not shown.

View File

@ -0,0 +1,18 @@
# Generated by Django 2.0.6 on 2018-09-27 07:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('postings', '0004_auto_20180926_1312'),
]
operations = [
migrations.AlterField(
model_name='universityreview',
name='date_published',
field=models.DateField(verbose_name='date published'),
),
]

View File

@ -50,6 +50,6 @@ class UniversityReview(models.Model):
username = models.CharField(max_length=200)
rating = models.IntegerField(default=1)
title = models.CharField(max_length=200)
date_published = models.DateTimeField('date published')
date_published = models.DateField('date published')
content = models.CharField(max_length=200)