problem

19 views
Skip to first unread message

chaouch elhem

unread,
Jul 20, 2022, 11:12:29 AM7/20/22
to Django users
image_2022-07-20_133032905.png

Lakshyaraj Dash

unread,
Jul 20, 2022, 12:12:21 PM7/20/22
to django...@googlegroups.com
Syntax will be
messages.warning(req, 'some fields are empy')

On Wed, Jul 20, 2022, 20:42 chaouch elhem <elhemch...@gmail.com> wrote:
image_2022-07-20_133032905.png

--
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/02625cc0-2c42-476c-8505-8a9df707b910n%40googlegroups.com.

Lakshyaraj Dash

unread,
Jul 20, 2022, 12:13:54 PM7/20/22
to django...@googlegroups.com
Sorry,
Syntax will be
messages.info(req, 'some fields are empty')

Abdul Qoyyuum

unread,
Jul 20, 2022, 11:30:18 PM7/20/22
to django...@googlegroups.com
Maybe print your "messages" and confirm if there's no "info" attribute or method to it.

On Wed, Jul 20, 2022 at 11:12 PM chaouch elhem <elhemch...@gmail.com> wrote:
image_2022-07-20_133032905.png

--
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/02625cc0-2c42-476c-8505-8a9df707b910n%40googlegroups.com.


--
Abdul Qoyyuum Bin Haji Abdul Kadir

Lakshyaraj Dash

unread,
Jul 21, 2022, 4:43:36 AM7/21/22
to django...@googlegroups.com
There's a info attr to messages but the the thing is in the syntax. He has another curve bracket inside his messages syntax

Reply all
Reply to author
Forward
0 new messages