No I didnt have a url(r'^$', views.home_page),
I have pushed the site to git and am trying to view it on git for a start.
On Tuesday, 2 September 2014 10:18:21 UTC+10, Michael Carey wrote:
>
> So I followed a tutorial on graphing a graph in Django.
>
> I have the urls pa
I have created an app and have content showing under (mysite)/graph but I
am not getting a home page.
I have pushed it to git and am not getting a response.
on the dev server (port8000) it shows.
Thank you,
Michael Carey
On Tuesday, 2 September 2014 10:18:21 UTC+10, Michael Carey wrote
So I followed a tutorial on graphing a graph in Django.
I have the urls page set up, do I need a index.html?
Thank you,
MC
--
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
That is assuming that you just upload the files?
On Monday, 1 September 2014 14:26:07 UTC+10, Michael Carey wrote:
>
> I have created an app, and it works on the test server (port 8000). I
> cannot work out which files to upload to my website to veiw the page?
>
> Thank you,
&g
I have created an app, and it works on the test server (port 8000). I
cannot work out which files to upload to my website to veiw the page?
Thank you,
Michael Carey
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe
FieldError at /polls/
Cannot resolve keyword 'name' into field. Choices are: choice, id, pub_date,
question
Request Method:G
On Saturday, 2 August 2014 12:55:25 UTC+10, Collin Anderson wrote:
>
> It currently shows a list of the polls, what I am trying to work out is
>> how to print out the integer value that is associated with that pole.
>
>
> Is poll.id what you want? In the template it would be {{ poll.id }}
>
> Or
I have:
Enter code here...from django.shortcuts import render
from django.template import RequestContext, loader
from django.http import HttpResponse
from polls.models import Poll
def index(request):
latest_poll_list = Poll.objects.get(name="Test")
#Poll.objects.all().order_by('-pub_date')[
8 matches
Mail list logo