Re: time it takes django to read database?

2008-12-09 Thread garagefan
haha yeah, i just submitted a ticket to godaddy. They're usually really good with getting back. On Dec 9, 6:31 pm, "Colin Bean" <[EMAIL PROTECTED]> wrote: > On Tue, Dec 9, 2008 at 3:22 PM, garagefan <[EMAIL PROTECTED]> wrote: > > > ok, server time is 2 hours and 11 minutes behind... this could

Re: time it takes django to read database?

2008-12-09 Thread Colin Bean
On Tue, Dec 9, 2008 at 3:22 PM, garagefan <[EMAIL PROTECTED]> wrote: > > 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 >

Re: time it takes django to read database?

2008-12-09 Thread garagefan
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

Re: time it takes django to read database?

2008-12-09 Thread garagefan
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/

Re: time it takes django to read database?

2008-12-09 Thread Jay Parlar
On Tue, Dec 9, 2008 at 3:57 PM, Colin Bean <[EMAIL PROTECTED]> wrote: > 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"

Re: time it takes django to read database?

2008-12-09 Thread Colin Bean
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: >

Re: time it takes django to read database?

2008-12-09 Thread garagefan
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_App so you can find the blog app as well

Re: time it takes django to read database?

2008-12-09 Thread Colin Bean
On Sun, Dec 7, 2008 at 7:32 PM, garagefan <[EMAIL PROTECTED]> wrote: > > following another tutorial to build a blog (webmonkey.com's) at it was > rather frustrating to see nothing show up after creating a new blog... > > the admin section seems to see these right away, as they are there as > soon

Re: time it takes django to read database?

2008-12-09 Thread Jay Parlar
On Tue, Dec 9, 2008 at 9:33 AM, garagefan <[EMAIL PROTECTED]> wrote: > > sure thing: > > from django.conf.urls.defaults import * > from mysite.blog.models import Entry > from tagging.views import tagged_object_list > > info_dict = { >'queryset': Entry.objects.filter(status=1), >

Re: time it takes django to read database?

2008-12-09 Thread garagefan
sure thing: from django.conf.urls.defaults import * from mysite.blog.models import Entry from tagging.views import tagged_object_list info_dict = { 'queryset': Entry.objects.filter(status=1), 'date_field': 'pub_date', } urlpatterns = patterns('django.views.generic.date_based',

Re: time it takes django to read database?

2008-12-08 Thread Jay Parlar
Could you post your urls.py file for your blog app? It's very easy to make a mistake in there that results in confusing time-related errors. Jay P. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: time it takes django to read database?

2008-12-08 Thread garagefan
I've not set anything up... On Dec 8, 1:48 am, "Alex Koshelev" <[EMAIL PROTECTED]> wrote: > Do you use caching? > > On Mon, Dec 8, 2008 at 07:34, garagefan <[EMAIL PROTECTED]> wrote: > > > ok... i've been able to figure out how long it takes based on the time > > stamp... an hour and a half for

Re: time it takes django to read database?

2008-12-07 Thread Alex Koshelev
Do you use caching? On Mon, Dec 8, 2008 at 07:34, garagefan <[EMAIL PROTECTED]> wrote: > > ok... i've been able to figure out how long it takes based on the time > stamp... an hour and a half for a new object to have come in. It > appears that the item is not readable by the two templates, one

Re: time it takes django to read database?

2008-12-07 Thread garagefan
ok... i've been able to figure out how long it takes based on the time stamp... an hour and a half for a new object to have come in. It appears that the item is not readable by the two templates, one of which using {%for object in latest $} and then another template that doesn't use it at all.

time it takes django to read database?

2008-12-07 Thread garagefan
following another tutorial to build a blog (webmonkey.com's) at it was rather frustrating to see nothing show up after creating a new blog... the admin section seems to see these right away, as they are there as soon as you hit save. But it seems to take the one section 10-20(or more?) minutes