diff options
author | Dan McGee <dan@archlinux.org> | 2013-04-17 05:12:01 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-04-17 05:12:01 +0200 |
commit | b7b24740640e24883cd17fd683e1d465fbb343f8 (patch) | |
tree | 0a8a4fdf23f3a3b7f0551e859c36c23e3afe212f /todolists | |
parent | 31d39e75eea7fb6cdf3bb8bfd8b490d45de04ee9 (diff) | |
download | archweb-b7b24740640e24883cd17fd683e1d465fbb343f8.tar.gz archweb-b7b24740640e24883cd17fd683e1d465fbb343f8.tar.xz |
Various minor code cleanups and fixes
Most of these were suggested by PyCharm, and include everything from
little syntax issues and other bad smells to dead or bad code.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'todolists')
-rw-r--r-- | todolists/utils.py | 1 | ||||
-rw-r--r-- | todolists/views.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/todolists/utils.py b/todolists/utils.py index 51a75a3..7b98c88 100644 --- a/todolists/utils.py +++ b/todolists/utils.py @@ -1,5 +1,4 @@ from django.db import connections, router -from django.db.models import Count from .models import Todolist, TodolistPackage from packages.models import Package diff --git a/todolists/views.py b/todolists/views.py index 7636d38..d5b3993 100644 --- a/todolists/views.py +++ b/todolists/views.py @@ -9,7 +9,6 @@ from django.db import transaction from django.views.decorators.cache import never_cache from django.views.generic import DeleteView from django.template import Context, loader -from django.template.defaultfilters import slugify from django.utils.timezone import now from main.models import Package, Repo |