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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:55:21+00:00 2026-06-15T01:55:21+00:00

I am developing a Django project on localhost with some included JavaScript files in

  • 0

I am developing a Django project on localhost with some included JavaScript files in a base.html template. My JavaScript includes are at the bottom of the page:

... other stuff...
<script src="/media/js/jquery.js" type="text/javascript"></script>
<script src="/media/js/jquery-ui-1.9.1.custom.js" type="text/javascript"></script>
<script src="/media/js/bootstrap.js" type="application/javascript"></script>
<link rel="stylesheet" href="/media/css/pepper-grinder/jquery-ui-1.9.1.custom.css" />  
{% block extrajs %}
{% endblock %}
</body>

Sometimes, but frustratingly, not always, when I load or refresh a page, the GET request for one of the JavaScript files fails. Sometimes it’s the request for jquery-ui, sometimes it’s for jQuery itself, and other time it’s for bootstrap.js. If I paste the url directly into the browser, the JavaScript file loads perfectly fine, so it’s not a problem with my media urls.

In Chrome, if I click on the console error and view the network tab, the status says “(failed)” and the type says “pending.” The request headers seem to show that the request has not actually failed, it just hasn’t gone through at all.

Request URL:http://localhost:8111/media/js/jquery-ui-1.9.1.custom.js
Request Headersview source
Accept:*/*
Cache-Control:no-cache
Pragma:no-cache
Referer:http://localhost:8111/reservation/create/
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4

Finally, loading the pages in Firefox does not produce an error, but shows that the response for the JavaScript files returns a 304.

Is this a problem with how I’m serving my static media (nothing special besides the usual static media settings)? with Chrome? How can I fix the issue?

  • 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-15T01:55:22+00:00Added an answer on June 15, 2026 at 1:55 am

    Try disabling Chrome extensions and see if that helps. I had the same problem and it turned out to be Adblock extension that caused the problem.

    UPDATE: According to @jessykate the full solution appears to be also to update Chrome to the latest version — at least 23.0.1271.91.

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

Sidebar

Related Questions

I've getting quite fast with a small django project of mine, which I'm developing
Developing a project in Django with my IDE setup as Eclipse with PyDev. The
I am developing a new project from scratch with Django. I see that there
I currently developing a multi-language interface for a Django project. But when I started
I'm developing a project which uses django-mptt, but I get strange results when I
I am developing a django app as part of my project. I plan to
In the app we're developing using Django, in some cases we need to automatically
I am developing a Django 1.3 project that contains multiple apps. The project structure
I'm developing a django project, using git for code management. The main project has
I'm a newbie to django. I'm developing a project in django 1.3. Problem is

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.