Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8125455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T06:49:26+00:00 2026-06-06T06:49:26+00:00

I am new to django and trying to use django-messages to add inbox/compose/outbox/trash functionality

  • 0

I am new to django and trying to use django-messages to add inbox/compose/outbox/trash functionality for my site users. From the doc i have completed the following steps:

  1. pip install django-messages
  2. added 'messages', to INSTALLED_APPS
  3. added django-messages 'messages.context_processors.inbox', context processor to TEMPLATE_CONTEXT_PROCESSORS

Finally i am trying to use messages_inbox_count tag inside one of my template as follows:

<a href="/messages/inbox/">Inbox ({{ messages_inbox_count }})</a>

However, as expected this doesn’t show up any inbox count on the page.
Also, using django-debug-toolbar i am able to view that their is indeed a variable names messages_inbox_count. Below is a snipped from Templates Sidebar of django-debug-toolbar:

Context processors
django.contrib.auth.context_processors.auth
▶ Toggle Context
social_auth.context_processors.social_auth_by_name_backends
▶ Toggle Context
messages.context_processors.inbox
▼ Toggle Context
{'messages_inbox_count': 1}
django.core.context_processors.csrf
▶ Toggle Context
social_auth.context_processors.social_auth_backends
▶ Toggle Context

What am i really doing wrong here? Seems like a stupid thing to fix but with no luck at my end 🙁

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T06:49:28+00:00Added an answer on June 6, 2026 at 6:49 am

    Are you using a RequestContext-Instance to render the Template where the value does not appear, or just a Context?

    (For example: if you use render_to_response, you need to make sure to include a context_instance=RequestContext(request) argument.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use the django-voting tutorial from this blog: http://new.justinlilly.com/blog/2008/nov/04/django-voting-a-brief-tutorial/ to get a
I am fairly new to Django and i am trying to use the builtin
I am pretty new to Django and trying to use django-social-auth in my Django
I am new to Django, and I am trying to use django-friends in my
I'm new to Django and trying to set up a Facebook connected site. There
EDITED I'm trying to use jquery/ajax to display data returned from a django method.
I'm trying to use django-evolution to modify some models from an existing project. Now
I am new to django and I am trying to use get_or_create model function
I am new to django and I am trying to link a response from
I'm trying to use django messages framework to display a message when a user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.