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

  • Home
  • SEARCH
  • 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 7911183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:09:13+00:00 2026-06-03T13:09:13+00:00

I have a Django website that requires users to be logged in to view

  • 0

I have a Django website that requires users to be logged in to view any page. I added some middleware according to the instructions on this page. The middleware does redirect users to the login page as expected, however the GET request is duplicated every time. Why is the request sent twice? (Or possibly output to the Django console twice?) Here is the output from the Django console after navigating to 127.0.0.1/reservations/:

[08/May/2012 15:08:41] "GET /reservations/ HTTP/1.1" 302 0
[08/May/2012 15:08:42] "GET /login/ HTTP/1.1" 200 575
[08/May/2012 15:08:42] "GET /login/ HTTP/1.1" 200 575
  • 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-03T13:09:14+00:00Added an answer on June 3, 2026 at 1:09 pm

    I have had the same problem and it was a firefox extension I used causing this weird issue.
    Try with another browser to see if the problem goes away. 🙂

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

Sidebar

Related Questions

I have a website that is being served by nginx and django. My staging.py
I have a rather simple informational website that's being run by Django. Its' pages(views)
I have a django website that is spilt depending on what user type you
I'm creating a Django powered website that will have numerous applications (Blog, Shop, Portfolio,
I have a Django website that basically just displays a bunch of items from
I am developing my first django website. I have written code in my view
I'm building a simple website with django that requires constant monitoring of text-based data
I have a problems with my django api. I have a website that works
I have a website that I built using Django. Using the settings.py file, I
We have django 1.1.1 website, that works fine on development server (python manage.py runserver).

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.