On Jul 18, 9:57 pm, Rob B wrote:
> Huge thanks Tanja - worked a treat.
>
> Any ideas why the book has it the other way around?
>
I think it is just a typo :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
Huge thanks Tanja - worked a treat.
Any ideas why the book has it the other way around?
2009/7/18 klaut
>
>
>
> On Jul 18, 6:30 pm, "Rob B (uk)" wrote:
> > Bit stumped on chapter 4.
> >
> > Every thing is working except I'm getting a 'Page not found (404)'
> > when I try to view any entries.
>
On Jul 18, 6:30 pm, "Rob B (uk)" wrote:
> Bit stumped on chapter 4.
>
> Every thing is working except I'm getting a 'Page not found (404)'
> when I try to view any entries.
>
> View:
> def entry_detail(request, year, month, day, slug):
> import datetime, time
> date_stamp = time
If you get a page not found, verify the slug (the entire url pattern for
that pattern), either from the console or admin, that it exists.
On Sat, Jul 18, 2009 at 4:30 PM, Rob B (uk) wrote:
>
> Bit stumped on chapter 4.
>
> Every thing is working except I'm getting a 'Page not found (404)'
> when
Bit stumped on chapter 4.
Every thing is working except I'm getting a 'Page not found (404)'
when I try to view any entries.
View:
def entry_detail(request, year, month, day, slug):
import datetime, time
date_stamp = time.strptime(year+month+day, "%Y%b%d")
pub_date = date
5 matches
Mail list logo