チュートリアル 2

23 views
Skip to first unread message

Takashi Sawa

unread,
Nov 5, 2019, 10:03:38 PM11/5/19
to Django users

キャプチャ.JPG

Djangoのチュートリアルを進めているのですが、models.py の編集で、9行目の「:」がなぜか問題として出てきてしまいます。なぜでしょうか。
教えてください。

Budi Hermansyah

unread,
Nov 5, 2019, 10:32:10 PM11/5/19
to django...@googlegroups.com
replace def_str to def _str_(self):

hope will help you...

regards,
Herman

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2fd7a87d-7c3b-477e-8803-3f1c564318b6%40googlegroups.com.

Takashi Sawa

unread,
Nov 5, 2019, 11:00:01 PM11/5/19
to Django users
Thank you for your help,
The problems is now solved.

Thank you!

2019年11月6日水曜日 12時32分10秒 UTC+9 Budi Hermansyah:
replace def_str to def _str_(self):

hope will help you...

regards,
Herman

On Wed, Nov 6, 2019 at 10:05 AM Takashi Sawa <sawasu...@gmail.com> wrote:

キャプチャ.JPG

Djangoのチュートリアルを進めているのですが、models.py の編集で、9行目の「:」がなぜか問題として出てきてしまいます。なぜでしょうか。
教えてください。

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages