Re: Simple weblog, generic views and templates -- error

2006-02-19 Thread Sime Ramov

On Feb 19, 2006, at 9:12 PM, Max Battcher wrote:
> After that, keep in mind that the date-based "archive*" views do  
> exactly
> what they say and only display old/archived entries.  So, if you have
> the date set to some time in the future, there is your answer on  
> why you
> won't see them.

Solved -- timezone in settings.py was the problem :) It works now  
after few hours :) Thanks!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Simple weblog, generic views and templates -- error

2006-02-19 Thread Sime Ramov

On Feb 19, 2006, at 9:12 PM, Max Battcher wrote:
> The obvious question is: have you written any blog entries yet?  You
> won't see anything if you don't have content in the database.

Yes, I have one test entry filled in. Date is today and time is now.  
BTW /weblog/2006, or /weblog/2006/feb/ etc. doesn't work also... It's  
very confusing, I don't know what I did wrong. Django is latest 0.91...

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Simple weblog, generic views and templates -- error

2006-02-19 Thread Max Battcher

Sime Ramov wrote:
> Hello,
> 
> I'm writing simple weblog and have some problems. I have the  
> following error when I visit http://127.0.0.1:8000/weblog/
> Page not found (404)
> 
> Request Method:
> GET
> Request URL:
> http://127.0.0.1:8000/weblog/
> No blog.entries available
> 
> I just don't get it, here are the relevant snippets of the files:

The obvious question is: have you written any blog entries yet?  You 
won't see anything if you don't have content in the database.

After that, keep in mind that the date-based "archive*" views do exactly 
what they say and only display old/archived entries.  So, if you have 
the date set to some time in the future, there is your answer on why you 
won't see them.

-- 
--Max Battcher--
http://www.worldmaker.net/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---