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
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
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.
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
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
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
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
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
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 :)
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
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
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
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
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
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
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
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
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
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
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
20 matches
Mail list logo