Re: Server Error 500 Nginx when DEBUG=False

2023-01-29 Thread ALBERT ASHABA AHEEBWA
Thank you Larry! As I mentioned before, this only happens when DEBUG = False. I deployed the same app to pythonanywhere and it worked fine. No errors whatsoever. So I do believe it is has to do with my nginx. My problem with it is that only 2 routes are not working fine. Best Regards, Alber

Re: Server Error 500 Nginx when DEBUG=False

2023-01-29 Thread Larry Martell
On Sun, Jan 29, 2023 at 9:14 AM ALBERT ASHABA AHEEBWA < ashabaaheebwaalb...@gmail.com> wrote: > So I was able to successfully host my first ever Django app on linode. > After the excitement had won off, I started testing the routes, everything > was running fine except for two routes. > > SERVER E

Re: Server Error (500)

2019-04-09 Thread Julio Cojom
If it's development servers or localhost , allow DEBUG=True, that will help you a lot every time that you found this issues. Assuming that you use git, if you use localhost before push your changes, then the shell where you run "manage.py runserver" will show you specific data about your problem.

Re: Server Error (500)

2019-04-09 Thread tribhuvan kishor
first of all, allow debugging that will help you to show server errors and their specific reasons. setting.py DEBUG=true then run make migration command python manage makemigrations then migrate the model by using python manage migrate then let us know if there is any error On Tue, Apr 9, 2019 at

Re: Server Error (500)

2019-04-08 Thread Roger Gammans
Did you run 'python manage.py migrate' ? Did it come back with any errors? I ask because specifying price field for values up to 10^9998 strikes me as extreme an likely to causes problems; perhaps you meant max_digits=7 not 1 . On Mon, 2019-04-08 at 04:26 -0700, fazal rehman wrote: > Hell

Re: Server Error (500)

2019-04-08 Thread fazal rehman
On Monday, April 8, 2019 at 5:22:12 PM UTC+5:30, Jeff_dev wrote: > > Kindly attach your view.py > > On Monday, 8 April 2019 12:26:18 UTC+1, fazal rehman wrote: >> >> Hello, >> I am a beginner in django.I am getting Server error(500) whenever I am >> trying to open the server have made some obje

Re: Server Error (500)

2019-04-08 Thread AMI FIDELE
hello fazal please go into your settings and change debug into true like this: DEBUG = True ALLOWED_HOSTS = [] On Mon, Apr 8, 2019 at 1:26 PM fazal rehman wrote: > Hello, > I am a beginner in django.I am getting Server error(500) whenever I am > trying to open the server have made some object

Re: Server Error (500)

2019-04-08 Thread Jeff_dev
Kindly attach your view.py On Monday, 8 April 2019 12:26:18 UTC+1, fazal rehman wrote: > > Hello, > I am a beginner in django.I am getting Server error(500) whenever I am > trying to open the server have made some objects, I can see them but when i > am trying to open it I get error 500. I have

Re: server error (500)

2013-07-25 Thread Charly Román
You need to add a app, the error is clear, yo don't have anything to show. 2013/7/25 Oliver : > Thanks Evans. I'm new to Django so Im trying to learn faster on setting up > my project or apps. I appreciate the help for pointing out what I'm > missing. > > Thanks so much. I'll get to work now :)

Re: server error (500)

2013-07-25 Thread Oliver
Thanks Evans. I'm new to Django so Im trying to learn faster on setting up my project or apps. I appreciate the help for pointing out what I'm missing. Thanks so much. I'll get to work now :) On Thursday, July 25, 2013 9:36:53 AM UTC-4, Tom Evans wrote: > > On Thu, Jul 25, 2013 at 2:32 PM

Re: server error (500)

2013-07-25 Thread Oliver
I change the ALLOWED_host = ['*']. Now I'm getting this "Not Found the requested URL / not found on the server" On Thursday, July 25, 2013 8:19:13 AM UTC-4, Oliver wrote: > > when you change Debug=False > > > > > On Thursday, July 25, 2013 8:12:14 AM UTC-4, victoria wrote: >> >> The erro

Re: server error (500)

2013-07-25 Thread Tom Evans
On Thu, Jul 25, 2013 at 2:32 PM, Oliver wrote: > I change the ALLOWED_host = ['*']. Now I'm getting this "Not Found the > requested URL / not found on the server" Yes. You will need to add some views and URLs to the server if you want to see things when you go to URLs. When you still had debu

Re: server error (500)

2013-07-25 Thread Oliver
I did allowed host to 0.0.0.0. It's back to server error(500) On Thursday, July 25, 2013 9:32:45 AM UTC-4, Christian Erhardt wrote: > > Set Allowed Hosts to 0.0.0.0 > > Am Donnerstag, 25. Juli 2013 14:19:13 UTC+2 schrieb Oliver: >> >> when you change Debug=False >> >> >> >> >> On Thursday, July 2

Re: server error (500)

2013-07-25 Thread Christian Erhardt
Set Allowed Hosts to 0.0.0.0 Am Donnerstag, 25. Juli 2013 14:19:13 UTC+2 schrieb Oliver: > > when you change Debug=False > > > > > On Thursday, July 25, 2013 8:12:14 AM UTC-4, victoria wrote: >> >> The error log doesn't show anything. In which step following the >> documentation are you getting t

Re: server error (500)

2013-07-25 Thread Oliver
when you change Debug=False On Thursday, July 25, 2013 8:12:14 AM UTC-4, victoria wrote: > > The error log doesn't show anything. In which step following the > documentation are you getting this error? > > On Thu, Jul 25, 2013 at 12:09 PM, Oliver > > wrote: > > my environment is in my local

Re: server error (500)

2013-07-25 Thread victoria
The error log doesn't show anything. In which step following the documentation are you getting this error? On Thu, Jul 25, 2013 at 12:09 PM, Oliver wrote: > my environment is in my local pc or machine so its a development machine. > > I tried that empy field in allowed_host. > > > > > > On Thursd

Re: server error (500)

2013-07-25 Thread Oliver
my environment is in my local pc or machine so its a development machine. I tried that empy field in allowed_host. On Thursday, July 25, 2013 5:43:02 AM UTC-4, Mário Idival wrote: > > use this in your settings.py > ALLOWED_HOSTS = [] > > where are you envirioment? you app there in producti

Re: server error (500)

2013-07-25 Thread Oliver
Hi Victoria, attached is my the error log from the apache2 Thanks On Thursday, July 25, 2013 3:35:00 AM UTC-4, victoria wrote: > > Hi, > > On Thu, Jul 25, 2013 at 4:30 AM, Oliver > > wrote: > > If I set DEBUG = False, I get this > > > > It worked! > > > > Congratulations on your first

Re: server error (500)

2013-07-25 Thread Mário Idival
use this in your settings.py ALLOWED_HOSTS = [] where are you envirioment? you app there in production or development? Em 25/07/2013 04:35, "victoria" escreveu: > > Hi, > > On Thu, Jul 25, 2013 at 4:30 AM, Oliver wrote: > > If I set DEBUG = False, I get this > > > > It worked! > > > > Congratula

Re: server error (500)

2013-07-25 Thread victoria
Hi, On Thu, Jul 25, 2013 at 4:30 AM, Oliver wrote: > If I set DEBUG = False, I get this > > It worked! > > Congratulations on your first Django-powered page. > > Of course, you haven't actually done any work yet. Here's what to do next: > > If you plan to use a database, edit the DATABASES settin