From 3b181e87efd9a1a4df09c587dc440a60713ea38c Mon Sep 17 00:00:00 2001 From: Daryl Date: Thu, 30 Jun 2016 13:39:51 +1200 Subject: [PATCH] Fix inconsistent indentation --- helpdesk/urls.py | 4 ++-- helpdesk/views/staff.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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)