Re: Run server

2018-06-22 Thread Gerardo Palazuelos Guerrero
hi, I highly suggest you to check the django-girls tutorial (search for it) for newbies (at least it worked for me). It has the more detailed steps to help you understand during your initial phase. regards, Gerardo. -- Gerardo Palazuelos Guerrero On Fri, Jun 22, 2018 at 8:48 AM, Quiosa Evaristo

Re: Run server

2018-06-22 Thread Dan Nepejchal
Hi, you forgot set up your databse. Here is some documentation https://docs.djangoproject.com/en/2.0/ref/databases/ Dne pá, 22. 6. 2018 18:01 uživatel Quiosa Evaristo < evaris...@una.adventist.org> napsal: > > Hello! > > I am learning python, I have installed it in my computer it is running > ver

Run server

2018-06-22 Thread Quiosa Evaristo
Hello! I am learning python, I have installed it in my computer it is running very well. I have installed django version 1.11.13 whenever I try to run the server it triggers the error bellow: Performing system checks... System check identified no issues (0 silenced). Unhandled exception in th

RE: can you check what is wrong with def vote(request, question_id), i am not able to run server. The exceptions and my views.py code are wrriten below:

2018-05-08 Thread Matthew Pava
: Django users Subject: can you check what is wrong with def vote(request, question_id), i am not able to run server. The exceptions and my views.py code are wrriten below: Views.py: from django.shortcuts import get_object_or_404, render from django.http import HttpResponseRedirect from

can you check what is wrong with def vote(request, question_id), i am not able to run server. The exceptions and my views.py code are wrriten below:

2018-05-08 Thread Avitab Ayan Sarmah
Views.py: from django.shortcuts import get_object_or_404, render from django.http import HttpResponseRedirect from django.urls import reverse from django.views import generic from . models import Choice, Question class IndexView(generic.ListView): template_name = 'polls/index.html' context_obje

Re: TemplateDoesNotExist: 500.html error when trying to run server

2010-08-07 Thread Karen Tracey
On Fri, Aug 6, 2010 at 5:05 PM, meenakshi wrote: > To clarify - I get a 404 message with DEBUG on (i.e. DEBUG=True), and > a 500 message with DEBUG off (DEBUG=False), not the other way around. > With DEBUG=False, standard handling of the Http404 exception will be to attempt to render a 404.html

Re: TemplateDoesNotExist: 500.html error when trying to run server

2010-08-06 Thread meenakshi
To clarify - I get a 404 message with DEBUG on (i.e. DEBUG=True), and a 500 message with DEBUG off (DEBUG=False), not the other way around. Regards Meenakshi On Aug 6, 1:21 pm, Steve Holden wrote: > On 8/6/2010 3:59 PM, meenakshi wrote: > > > Hi Steve, > >     I do have the DEBUG setting on Fal

Re: TemplateDoesNotExist: 500.html error when trying to run server

2010-08-06 Thread Steve Holden
On 8/6/2010 3:59 PM, meenakshi wrote: > Hi Steve, > I do have the DEBUG setting on False. The reason is that when I > set DEBUG to True, I get the following message: > > > Page not found (404) > Request Method: GET > Request URL: http://127.0.0.1:8000/ > > Using the URLconf defined i

Re: TemplateDoesNotExist: 500.html error when trying to run server

2010-08-06 Thread meenakshi
Hi Steve, I do have the DEBUG setting on False. The reason is that when I set DEBUG to True, I get the following message: Page not found (404) Request Method: GET Request URL:http://127.0.0.1:8000/ Using the URLconf defined in mysite.urls, Django tried these URL patterns, in thi

Re: TemplateDoesNotExist: 500.html error when trying to run server

2010-08-05 Thread Steve Holden
On 8/5/2010 6:27 PM, meenakshi wrote: > > I am a beginner working through the Django tutorial. When I try to > run the development server at http://127.0.0.1:8000/, I get a > TemplateDoesNotExist: 500.html error. >I have no problems linking to http://127.0.0.1:8000/admin, > however. Whats

TemplateDoesNotExist: 500.html error when trying to run server

2010-08-05 Thread meenakshi
I am a beginner working through the Django tutorial. When I try to run the development server at http://127.0.0.1:8000/, I get a TemplateDoesNotExist: 500.html error. I have no problems linking to http://127.0.0.1:8000/admin, however. Whats going on? Here is what I get when I try to run t

Re: How to run server after install Django

2007-09-18 Thread Hannus
ngo (will be installed at c:\python25\lib\site-packages) > 4. add django-admin.py and manage.py (complete path) to system path > 5. create a new folder (just to manage your applications) (say c: > \djangoapps) > 6. inside c:\djangoapps use command django-admin.py > startpr

Re: How to run server after install Django

2007-09-18 Thread Dushyant Sharma
folder mysite inside c:\djangoapps 8. here you can run server manage.py runserver and you are ready to work --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

How to run server after install Django

2007-09-17 Thread Hannus
Hi,every django wizards, Plz allow me to ask a so stupid question. After I install the Django according to the documents,and built the directory by using "django- admin.py startproject MYWEB" . There is something wrong with the command" manage.py runserver". After input this command,the screen sho