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 8991755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:48:04+00:00 2026-06-15T22:48:04+00:00

A part of my website whose URL pattern starts with a fixed string manage

  • 0

A part of my website whose URL pattern starts with a fixed string manage eg: ‘example.com/manage/post’, ‘example.com/manage/user’ requires that certain information associated with the user is displayed on every page that belongs to this section of the website.

Do I have to return this information inside every view method to do so?

This information is not maintained in the User profile. It is maintained in a model outside the User Profile. There is a many to one relationship from this model to the User profile.

  • 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-15T22:48:05+00:00Added an answer on June 15, 2026 at 10:48 pm

    Are you talking about the user viewing the page? If so, just add the following to TEMPLATE_CONTEXT_PROCESSORS in your settings.py.

    'django.contrib.auth.context_processors.auth'
    

    This will give you access to the current user as a variable called user in all your templates.

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

Sidebar

Related Questions

I'm creating a ASP.NET .NET 4.0 website and part of this site requires that
I am creating an part of a website that deals with confirmation of a
There is a part of my website that allows users to upload profile photos.
I have a list of sites that represent spam links: List<String> bannedSites = [spam1.com,
Part of our website is protected with .htaccess style password protection. When you try
In a part of my website I would like to insert some images and
I have a website a part of which should be blocked with a login
I'm working on a part of a website where I generate PDFs, attach them
I'm using jQuery .append() to build part of a website with data I get
I am creating a simple blog as part of a website and I am

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.