Re: runserver error rectification

2018-11-27 Thread shiva kumar
import polls in mysite/mysite/urls.py i think it will work On Tue, Nov 27, 2018 at 3:00 PM Sanjay Malviya wrote: > What modification to codes required, pls in project > mysite/mysite/polls(app) > polls/views.py > from django.http import httpresponse > def index(request): > return httprespo

Re: runserver error rectification

2018-11-27 Thread Sanjay Malviya
What modification to codes required, pls in project mysite/mysite/polls(app) polls/views.py from django.http import httpresponse def index(request): return httpresponse('Hello, world, You're at the polls index') polls/urls.py from django.urls import path from . import views urlpatterns = [

Re: runserver error rectification

2018-11-26 Thread Jason
whatever you have as url patterns is not a list, tuple or other iterable. -- 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.c

runserver error rectification

2018-11-26 Thread Sanjay Malviya
good evening, pls anyone help me in error out following command notification got after runserver command PS C:\Users\AARVIND\mycode\mysite> python manage.py runserver Performing system checks... Unhandled exception in thread started by .wrapper at 0x02AC3F60> Traceback (most recent call last): F