Hi, Thank you for your response.
I have defined as below I have mentioned snippet in all functionalities i
am getting error in every functionality " 'str' object is not callable
".Please help me to fix this issue.
```
messages.success(request, """Your Ad is successfully posted.""")
```
Thank you
~Salima
On Tue, Aug 31, 2021 at 10:19 AM Salima Begum <[email protected]>
wrote:
> Hi Thomas,
>
> The way I defined how i have written code for confirmation message
> ```
> messages.success(request, """Your Ad is successfully posted.""")
> ```
> Thank you
> ~Salima
>
> On Tue, Aug 31, 2021 at 9:31 AM Thomas Lockhart <[email protected]>
> wrote:
>
>> Just guessing that you need to write
>>
>> messages.success = “Your ad is successfully posted”
>>
>> But without more information from you that is only a guess.
>>
>> How is messages.success defined?
>>
>> - Tom
>>
>> On Aug 30, 2021, at 8:57 PM, Salima Begum <[email protected]>
>> wrote:
>>
>> Hi all,
>> In my project for each functionality I have written code for confirmation
>> messages. For example
>> ```
>> messages.success("Your ad is successfully posted")
>> ```
>> Every functionality is breaking because of confirmation messages after
>> deployment. How to fix it? Can anyone help me?
>>
>> Thank you
>> ~Salima
>>
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAMSz6bkOz8AXa7d%2BRFFjm0m8xmCLYOyLQNx6syy7tf-NsPTRhA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAMSz6bkOz8AXa7d%2BRFFjm0m8xmCLYOyLQNx6syy7tf-NsPTRhA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/3831F4E1-0003-4F5A-922D-F6E1534E1B87%40gmail.com
>> <https://groups.google.com/d/msgid/django-users/3831F4E1-0003-4F5A-922D-F6E1534E1B87%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAMSz6b%3Dgrd5PeypVZJQ9L9uA90_xxijiq6eQSaqH6bdqhgNukg%40mail.gmail.com.