Code refactored to support refresh of all concerned pages.
This commit is contained in:
tonio
2011-01-03 18:54:51 +01:00
parent 23d5866296
commit 49ea2439e0
3 changed files with 68 additions and 29 deletions
+2 -1
View File
@@ -100,7 +100,8 @@ class EmailListing:
if baseurl:
self.paginator.baseurl = baseurl
def render_navbar(self, page):
@staticmethod
def render_navbar(page):
if page is None:
return ""
context = {"page" : page, "MEDIA_URL" : settings.MEDIA_URL}