[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH maposmatic] Fixed unresolved symbol
From: |
David Decotigny |
Subject: |
[Maposmatic-dev] [PATCH maposmatic] Fixed unresolved symbol |
Date: |
Thu, 4 Mar 2010 08:51:42 +0100 |
I receive annoying django error emails about EmptyPage being
unresolved. This patch should fix this problem.
---
www/maposmatic/views.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/www/maposmatic/views.py b/www/maposmatic/views.py
index 1cda2a1..642f21e 100644
--- a/www/maposmatic/views.py
+++ b/www/maposmatic/views.py
@@ -26,7 +26,7 @@
import datetime
-from django.core.paginator import Paginator
+from django.core.paginator import Paginator, InvalidPage, EmptyPage
from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect, HttpResponseBadRequest,
HttpResponse
from django.shortcuts import get_object_or_404, render_to_response
--
1.6.3.3
- [Maposmatic-dev] [PATCH maposmatic] Fixed unresolved symbol,
David Decotigny <=