equal
deleted
inserted
replaced
20 '"Lennard de Rijk" <ljvderijk@gmail.com>', |
20 '"Lennard de Rijk" <ljvderijk@gmail.com>', |
21 ] |
21 ] |
22 |
22 |
23 |
23 |
24 from soc.modules.ghop.views.models import program |
24 from soc.modules.ghop.views.models import program |
|
25 from soc.modules.ghop.views.models import timeline |
25 |
26 |
26 |
27 |
27 class Callback(object): |
28 class Callback(object): |
28 """Callback object that handles interaction between the core. |
29 """Callback object that handles interaction between the core. |
29 """ |
30 """ |
41 """ |
42 """ |
42 |
43 |
43 self.core.requireUniqueService('registerWithSitemap') |
44 self.core.requireUniqueService('registerWithSitemap') |
44 |
45 |
45 self.core.registerSitemapEntry(program.view.getDjangoURLPatterns()) |
46 self.core.registerSitemapEntry(program.view.getDjangoURLPatterns()) |
|
47 self.core.registerSitemapEntry(timeline.view.getDjangoURLPatterns()) |
46 |
48 |
47 def registerWithSidebar(self): |
49 def registerWithSidebar(self): |
48 """Called by the server when sidebar entries should be registered. |
50 """Called by the server when sidebar entries should be registered. |
49 """ |
51 """ |
50 |
52 |