Re: Why is this view not displaying data?

2009-09-27 Thread jeffself
Thanks Karen! That did the trick. --~--~-~--~~~---~--~~ 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 t

Re: Why is this view not displaying data?

2009-09-27 Thread Karen Tracey
On Sun, Sep 27, 2009 at 8:41 PM, jeffself wrote: > > Here's my url.py: > > from django.conf.urls.defaults import * > > urlpatterns = patterns('Rankings.college.views', >url(r'^rankings/division/(\w+)/$', 'rankings_by_league'), > ) > > views.py > > def rankings_by_league(request, league): >

Why is this view not displaying data?

2009-09-27 Thread jeffself
Here's my url.py: from django.conf.urls.defaults import * urlpatterns = patterns('Rankings.college.views', url(r'^rankings/division/(\w+)/$', 'rankings_by_league'), ) views.py def rankings_by_league(request, league): try: league = League.objects.get(slug__iexact=league) exc

Not displaying data...

2008-08-25 Thread mccomas . chris
I have the following code, http://dpaste.com/73388/ For some reason the data in the rows is not displaying, there are the correct number of rows in each table so the for tag is working correctly. Any ideas why the content is not displaying? --~--~-~--~~~---~--~~ Yo

Re: Not displaying data...

2008-08-23 Thread mccomas . chris
Actually I was completely wrong, I figured it out though and it is working properly now. thnx! On Aug 23, 12:37 pm, DailyPuppyGuy <[EMAIL PROTECTED]> wrote: > Should you have: > > {{ object.start_date }} > > instead of just: > > {{ start_date }} > > ?? > > On Aug 23, 11:29 am, [EMAIL PROTECTED] w

Re: Not displaying data...

2008-08-23 Thread DailyPuppyGuy
Should you have: {{ object.start_date }} instead of just: {{ start_date }} ?? On Aug 23, 11:29 am, [EMAIL PROTECTED] wrote: > Actually. I was wrong. It is not displaying the right number of > rows... > > On Aug 23, 11:06 am, [EMAIL PROTECTED] wrote: > > > I have the following code,http://dpas

Re: Not displaying data...

2008-08-23 Thread mccomas . chris
Actually. I was wrong. It is not displaying the right number of rows... On Aug 23, 11:06 am, [EMAIL PROTECTED] wrote: > I have the following code,http://dpaste.com/73388/ > > For some reason the data in the rows is not displaying, there are the > correct number of rows in each table so the for ta