LCOGT / neoexchange

NEO observing portal
GNU General Public License v3.0
7 stars 1 forks source link

fix instances where objects.get can fail #475

Closed jchate6 closed 4 years ago

jchate6 commented 4 years ago

next attempt to fix issue #471

jchate6 commented 4 years ago

fascinating. I'm not sure what's happening here. I didn't notice this because when I tested these pages I just stuck a settings.DEBUG = FALSE into the view locally. This gives the same result as the live site. I'm not sure why setting DEBUG to false in the local_settings looses the banner.

talister commented 4 years ago

fascinating. I'm not sure what's happening here. I didn't notice this because when I tested these pages I just stuck a settings.DEBUG = FALSE into the view locally. This gives the same result as the live site. I'm not sure why setting DEBUG to false in the local_settings looses the banner.

Providing it doesn't do it on the dev site, I'm happy to let it go as a local weirdness

jchate6 commented 4 years ago

I haven't tested it on the dev site, but it doesn't do it when you run tests. I did test the measurements page that has already been deployed and that worked as expected. I'll put it on the dev site to try it out.