I have created this class with the success message but I am not receiving the success message I requested, other pages are showing them but this one is not
What might be wrong? In the views: class PostCreateView(LoginRequiredMixin, CreateView): model = Post fields = ['caption', 'design'] template_name = "post_form.html" success_url = '/score' success_message = "Your Design has been submitted for Review" def form_valid(self, form): form.instance.author = self.request.user return super().form_valid(form) in the HTML <!-- Navbar --> {% if messages %} {% for message in messages %} <div class="alert alert-{{ message.tags }}" style=" padding-top:80px"> {{ message }} </div> {% endfor %} {% endif %} Thank you -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7ca1c7ad-b38e-4df5-a3c1-93f57219c140%40googlegroups.com.