回答編集履歴
1
修正
test
CHANGED
@@ -11,8 +11,6 @@
|
|
11
11
|
```models
|
12
12
|
|
13
13
|
from django.contrib.gis.db import models
|
14
|
-
|
15
|
-
~~from django.utils import timezone~~#削除
|
16
14
|
|
17
15
|
import datetime #追加
|
18
16
|
|
@@ -40,8 +38,6 @@
|
|
40
38
|
|
41
39
|
image = models.ImageField('画像', upload_to=get_img_upload_path)
|
42
40
|
|
43
|
-
~~regist_date = models.DateTimeField(default = timezone.now)# 登録日時~~#削除
|
44
|
-
|
45
41
|
regist_date = models.DateTimeField(default=JST) # DB登録日時
|
46
42
|
|
47
43
|
```
|