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 3:14 AM Roger Gammans <rgamm...@gammascience.co.uk> wrote: > 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 > 10000 . > > > On Mon, 2019-04-08 at 04:26 -0700, 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 one DEBUG=false.I have > attached models.py and settings.py. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/922704da-519c-4503-8753-a631949ba9a7%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/922704da-519c-4503-8753-a631949ba9a7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/1554727878.3451.6.camel%40gammascience.co.uk > <https://groups.google.com/d/msgid/django-users/1554727878.3451.6.camel%40gammascience.co.uk?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- regards Tribhuvan Kishor Bhaskar -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACiphSUVyUOQ0G-td6gMXfks5X0U5vPHP4PuCGA_YH-3%2Bvsy-g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.