Switch Program to regular presence
It does not use a global ToS anyway.
Patch by: Sverre Rabbelier
--- a/app/soc/models/program.py Fri Mar 06 22:30:42 2009 +0000
+++ b/app/soc/models/program.py Fri Mar 06 22:31:19 2009 +0000
@@ -26,11 +26,11 @@
from django.utils.translation import ugettext
-import soc.models.presence_with_tos
+import soc.models.presence
import soc.models.timeline
-class Program(soc.models.presence_with_tos.PresenceWithToS):
+class Program(soc.models.presence.Presence):
"""The Program model, representing a Program ran by a Sponsor.
"""
--- a/app/soc/views/models/program.py Fri Mar 06 22:30:42 2009 +0000
+++ b/app/soc/views/models/program.py Fri Mar 06 22:31:19 2009 +0000
@@ -40,7 +40,7 @@
from soc.views.helper import decorators
from soc.views.helper import redirects
from soc.views.helper import widgets
-from soc.views.models import presence_with_tos
+from soc.views.models import presence
from soc.views.models import document as document_view
from soc.views.models import sponsor as sponsor_view
from soc.views.sitemap import sidebar
@@ -49,7 +49,7 @@
import soc.models.work
-class View(presence_with_tos.View):
+class View(presence.View):
"""View methods for the Program model.
"""
@@ -101,8 +101,6 @@
ugettext('Student Agreement Document link ID')),
('home_link_id', soc.models.work.Work.link_id.help_text,
ugettext('Home page Document link ID')),
- ('tos_link_id', soc.models.work.Work.link_id.help_text,
- ugettext('Terms of Service Document link ID'))
]
result = {}