I'm kinda new to django, and python, so I'm probably gonna make myself
look a bit stupid. Here goes anyway:
As a simple django (1.0) project, (using python 2.6) I've decided to
write a blog application. Here it goes:
blog/urls.py
--
from django.conf.urls.defaults import *
urlpatterns
nt = 'haha'
return RenderToResponse('blog/showlist.html',{'postlist': a});
Just shows me a blank page (with Hello on top).
What am I missing?
On Oct 22, 8:17 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2008-10-21 at 22:30 -07
<[EMAIL PROTECTED]>
wrote:
> On Tue, 2008-10-21 at 22:30 -0700, guruyaya wrote:
>
> [...]
>
> > blog/views.py
> > ---
> > from django.shortcuts import render_to_response as RenderToResponse
> > from myblog.blog.models import Post
> &
Oh.
Boy do I feel stupid.
Thanks for all your help. I'll try to be less careless next time.
On Oct 22, 8:43 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2008-10-21 at 23:33 -0700, guruyaya wrote:
> > This is actually worse
>
> You mean top-posting? Yes,
4 matches
Mail list logo