summaryrefslogtreecommitdiff
path: root/pgweb/downloads/struct.py
blob: 0f717f2ecf4fce93e3a791494fa281507ec25591 (plain)
1
2
3
4
5
6
7
8
9
10
from models import Category

def get_struct():
	# Products
	for c in Category.objects.all():
		yield ('download/products/%s/' % c.id,
			   0.3)

	# Don't index the ftp browser for now - it doesn't really contain
	# anything useful to search