Giter Club home page Giter Club logo

Comments (6)

cuu508 avatar cuu508 commented on May 16, 2024

Maybe this is again an issue with stray .pyc files?

from healthchecks.

stevenmcastano avatar stevenmcastano commented on May 16, 2024

I doesn't appear to be... but I could have missed it. I'm going to shutdown the app in both places, delete all the .pyc file and try again. The only reason I think it wouldn't be related is that when I made the changes in the setting.py without deleting the pyc files, it worked fine.

from healthchecks.

stevenmcastano avatar stevenmcastano commented on May 16, 2024

Just tried again, git a git reset, left my only changes in local_settings.py, deleted all the .pyc files and it still does the same thing. shows "http://localhost:8000/ping/...." for all my URLs.

from healthchecks.

cuu508 avatar cuu508 commented on May 16, 2024

Are all navigation links using localhost:8000, or just the ping URLs? If it's the latter, you need to redefine PING_ENDPOINT variable in local_settings.py too. It is defined in settings.py like so:

PING_ENDPOINT = SITE_ROOT + "/ping/"

When you later redefine SITE_ROOT in local_settings.py, the PING_ENDPOINT variable still uses the original value.

from healthchecks.

stevenmcastano avatar stevenmcastano commented on May 16, 2024

I think you may be onto something there, that makes total sense. I'm going to try adding that to the local_settings.py and trying again in the morning!

from healthchecks.

stevenmcastano avatar stevenmcastano commented on May 16, 2024

I did just confirm this works. putting the PING_ENDPOINT line in local_settings.py works. Thanks again!

from healthchecks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.