Debugging Apache/Django/WSGI Bad Request (400) Error

Add the ALLOWED_HOSTS setting to your settings.py like so… ALLOWED_HOSTS = [ ‘.example.com’, # Allow domain and subdomains ‘.example.com.’, # Also allow FQDN and subdomains ] I had this same problem and found the answer here in the docs update: django 1.6 docs are no longer online, I updated the link to go to the … Read more

Django stops working with RuntimeError: populate() isn’t reentrant

This is caused by a bug in your Django settings somewhere. Unfortunately, Django’s hiding the bug behind this generic and un-useful error message. To reveal the true problem, open django/apps/registry.py and around line 80, replace: raise RuntimeError(“populate() isn’t reentrant”) with: self.app_configs = {} This will allow Django to continue loading, and reveal the actual error. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)