Re: DEBUG = True and Bad Request (400)

2016-07-26 Thread Jonathan Haimez
Hi, how can i use the 0.0.0.0 ip adresse for the ALLOWED_HOSTS? I want to have fdqn (my.review.compagny) and ip of my server (dynamic). I can't do that ALLOWED_HOSTS = ['reviews.mycompany.com', 'localhost', '22.02.02.02' ] Le mercredi 9 septembre 2015 03:05:03 UTC+2, Christian Hammond a écrit

Re: DEBUG = True and Bad Request (400)

2015-09-08 Thread MoonWalker
Christian, Super! that did the trick. Thank you :-) On Wednesday, September 9, 2015 at 11:05:03 AM UTC+10, Christian Hammond wrote: > > Hi, > > It's possible that Django is blocking the request for security reasons, > due to ALLOWED_HOSTS in conf/settings_local.py not containing the proper > l

Re: DEBUG = True and Bad Request (400)

2015-09-08 Thread Christian Hammond
Hi, It's possible that Django is blocking the request for security reasons, due to ALLOWED_HOSTS in conf/settings_local.py not containing the proper list of valid hostnames for Review Board. It should look something like: ALLOWED_HOSTS = ['reviews.mycompany.com', 'reviews2.mycompany.com'] See if

DEBUG = True and Bad Request (400)

2015-09-08 Thread MoonWalker
I am using RB 2.0.19 and Django 1.6.11.1 . 1) In settings_local.py I set DEBUG = False2) Restart apache 3) try to access my RB page on my browser, but it shows Bad Request (400) If I put back DEBUG = True ever