Show
Ignore:
Timestamp:
06/06/09 06:43:29 (3 years ago)
Author:
235
Message:

banners cache

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plesonet_banners/trunk/templatetags/banners_tags.py

    r35 r39  
    1212    url = context['request'].path 
    1313     
    14     banners = Banners.objects.filter( 
    15                                     bannerplace__is_published=True,  
    16                                     is_published=True,  
    17                                     bannertype=banner_type) 
     14    #banners = Banners.objects.filter( 
     15    #                                bannerplace__is_published=True,  
     16    #                                is_published=True,  
     17    #                                bannertype=banner_type) 
     18     
     19    banners = Banners.published.get_type(banner_type) 
    1820     
    1921