diff --git a/helpdesk/urls.py b/helpdesk/urls.py index ab9a5437..be64ab81 100644 --- a/helpdesk/urls.py +++ b/helpdesk/urls.py @@ -10,9 +10,9 @@ urls.py - Mapping of URL's to our various views. Note we always used NAMED from django.conf import settings import django if django.get_version().startswith("1.3"): - from django.conf.urls.defaults import * + from django.conf.urls.defaults import * else: - from django.conf.urls import * + from django.conf.urls import * from django.contrib.auth.decorators import login_required from helpdesk import settings as helpdesk_settings diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index 021ac329..7faed93e 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -862,7 +862,7 @@ def ticket_list(request): try: page = int(request.GET.get('page', '1')) except ValueError: - page = 1 + page = 1 try: tickets = ticket_paginator.page(page)