Added student_proposals to the sitemap.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/sitemap/build.py Sat Feb 21 11:14:05 2009 +0000
+++ b/app/soc/views/sitemap/build.py Sat Feb 21 11:14:44 2009 +0000
@@ -40,6 +40,7 @@
from soc.views.models import site
from soc.views.models import sponsor
from soc.views.models import student
+from soc.views.models import student_proposal
from soc.views.models import timeline
from soc.views.models import user
from soc.views.models import user_self
@@ -67,6 +68,7 @@
sidebar.addMenu(program.view.getSidebarMenus)
sidebar.addMenu(program.view.getExtraMenus)
sidebar.addMenu(student.view.getSidebarMenus)
+sidebar.addMenu(student_proposal.view.getSidebarMenus)
sidebar.addMenu(organization.view.getSidebarMenus)
sidebar.addMenu(organization.view.getExtraMenus)
sidebar.addMenu(org_admin.view.getSidebarMenus)
@@ -89,6 +91,7 @@
sitemap.addPages(site.view.getDjangoURLPatterns())
sitemap.addPages(sponsor.view.getDjangoURLPatterns())
sitemap.addPages(student.view.getDjangoURLPatterns())
+sitemap.addPages(student_proposal.view.getDjangoURLPatterns())
sitemap.addPages(timeline.view.getDjangoURLPatterns())
sitemap.addPages(user_self.view.getDjangoURLPatterns())
sitemap.addPages(user.view.getDjangoURLPatterns())