Fix inconsistent indentation

This commit is contained in:
Daryl 2016-06-30 13:39:51 +12:00 committed by Jonathan Barratt
parent 0d8e81d7f0
commit 3b181e87ef
No known key found for this signature in database
GPG Key ID: BCBF01FBE07879DD
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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)