Update syntax for relative imports
[pgweb/local.git] / pgweb / downloads / struct.py
blobc9c3f676cb1466189c4b1e131de9c708f1b7b1ea
1 from .models import Category
4 def get_struct():
5 # Products
6 for c in Category.objects.all():
7 yield ('download/products/%s/' % c.id,
8 0.3)
10 # Don't index the ftp browser for now - it doesn't really contain
11 # anything useful to search