mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-01 15:54:53 +00:00
12 lines
271 B
Python
12 lines
271 B
Python
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
|