LDraw.org Discussion Forums

Full Version: LDraw OMR website
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
(2018-01-02, 9:45)Damien Roux Wrote: [ -> ]Would it be possible to sort files by the date they were added to the OMR?

FYI: I haven't had the time to overhaul the filter-page, but I've made a quick filter option for in the meantime. I sent it to Orion to to put on the server  Smile
Would it be possible to add a "Sorry, set not in database" along with a back button instead of:


Code:
Page not found (404)
Request Method:
GET
Request URL:
http://omr.ldraw.org/set/892-1/
Raised by:
omr.views.set_page
Set not found
You're seeing this error because you have
[code]DEBUG = True
in your Django settings file. Change that to
Code:
False
, and Django will display a standard 404 page.
[/code]

when a set couldn't be found?

Thx, w.
(2018-01-08, 14:36)Willy Tschager Wrote: [ -> ]Would it be possible to add a "Sorry, set not in database" along with a back button instead of:


Code:
Page not found (404)
Request Method:
GET
Request URL:
http://omr.ldraw.org/set/892-1/
Raised by:
omr.views.set_page
Set not found
You're seeing this error because you have
[code]DEBUG = True
in your Django settings file. Change that to
Code:
False
, and Django will display a standard 404 page.
[/code]

when a set couldn't be found?

Thx, w.

Well, the problem isn't that the fact that the 404 page is missing, because there has been a custom 404 page since the beginning. The problem is that one way or another, debug isn't turned off anymore (which it definitely should on production cause it shows A LOT of data as you can see when you try to look at a file that doesn't exist...) and thus it doesn't use the 'nice' 404 page and logic.

Ahum, Orion, could you also turn of debug please? Thanks!  Wink
(2018-01-08, 17:05)Merlijn Wissink Wrote: [ -> ]
(2018-01-08, 14:36)Willy Tschager Wrote: [ -> ]Would it be possible to add a "Sorry, set not in database" along with a back button instead of:


Code:
Page not found (404)
Request Method:
GET
Request URL:
http://omr.ldraw.org/set/892-1/
Raised by:
omr.views.set_page
Set not found
You're seeing this error because you have
[code]DEBUG = True
in your Django settings file. Change that to
Code:
False
, and Django will display a standard 404 page.
[/code]

when a set couldn't be found?

Thx, w.

Well, the problem isn't that the fact that the 404 page is missing, because there has been a custom 404 page since the beginning. The problem is that one way or another, debug isn't turned off anymore (which it definitely should on production cause it shows A LOT of data as you can see when you try to look at a file that doesn't exist...) and thus it doesn't use the 'nice' 404 page and logic.

Ahum, Orion, could you also turn of debug please? Thanks!  Wink

Yes. I plan on updating the OMR tonight (Pacific time).
(2018-01-08, 14:15)Merlijn Wissink Wrote: [ -> ]
(2018-01-02, 9:45)Damien Roux Wrote: [ -> ]Would it be possible to sort files by the date they were added to the OMR?

FYI: I haven't had the time to overhaul the filter-page, but I've made a quick filter option for in the meantime. I sent it to Orion to to put on the server  Smile

This update is now live
(2018-01-08, 14:36)Willy Tschager Wrote: [ -> ]Would it be possible to add a "Sorry, set not in database" along with a back button instead of:


Code:
Page not found (404)
Request Method:
GET
Request URL:
http://omr.ldraw.org/set/892-1/
Raised by:
omr.views.set_page
Set not found
You're seeing this error because you have
[code]DEBUG = True
in your Django settings file. Change that to
Code:
False
, and Django will display a standard 404 page.
[/code]

when a set couldn't be found?

Thx, w.

This is now fixed.
Thanks!  Big Grin
Thumbs up!

w.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12