ok, server time is 2 hours and 11 minutes behind... this could explain
the issue then. The admin section, when creating a new entry takes the
time current actual time. So it makes 100% sense that django/python is
reading the incorrect time. I've attempted to update the server time
using the usual date "time" crap and was told the procedure was not
allowed, i assume this is due the server being a virtual server.

what would the best way to fix this?

the detail.html does not use latest however

On Dec 9, 4:40 pm, garagefan <[EMAIL PROTECTED]> wrote:
> awesome, i will take a look at the server date. It is possible that it
> is off.
>
> On Dec 9, 3:57 pm, "Colin Bean" <[EMAIL PROTECTED]> wrote:
>
> > On Tue, Dec 9, 2008 at 12:16 PM, garagefan <[EMAIL PROTECTED]> wrote:
>
> > > Server is Red Hat 7, set up by godaddy, its a virtual server. Python
> > > 2.5 w/ mod_python and python-devel installed. running latest django.
>
> > > I am using webmonkey.com's tutorial for this:
> > >http://www.webmonkey.com/tutorial/Install_Django_and_Build_Your_First...
>
> > > so you can find the blog app as well as the templates in there. The
> > > part that is working instantly is the "secondary" section located in
> > > the base.html template that the other two blog templates extend
>
> > > thanks for lookin
>
> > Ah, didn't realize that it was showing one part of the page and not
> > another.  Looks like the template tag in the "secondary" section
> > queries all of the blog post objects, while the main section uses the
> > "latest" variable from django.views.generic.date_based.archive_index.
> > According to the docs, "Objects with a date in the future are not
> > included (in latest) unless you set allow_future to True."
>
> >http://docs.djangoproject.com/en/dev/ref/generic-views/#django-views-...
>
> > Any chance the dates on your posts are set to the future?  Is the date
> > set correctly on your server?
>
> > Colin
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to