Files
postgres-web/pgweb/profserv/struct.py
Magnus Hagander 22f5578c29 Add support for generating sitemap.
Each module now contains a struct.py file that will return all
the URLs that it can generate (yes, this is a small break of the
abstraction of url.py, but we've broken that elsewhere as well),
and also which search-engine-weight (0.1-1.0) that this URL should
be given.
2010-09-28 16:12:13 +02:00

7 lines
186 B
Python

from views import regions
def get_struct():
for key, name in regions:
yield ('support/professional_support/%s/' % key, None)
yield ('support/professional_hosting/%s/' % key, None)