Changeset 39 for plesonet_banners/trunk/templatetags/banners_tags.py
- Timestamp:
- 06/06/09 06:43:29 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plesonet_banners/trunk/templatetags/banners_tags.py
r35 r39 12 12 url = context['request'].path 13 13 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) 18 20 19 21

