From 6516220b17d7987900961863a0b6dec23ac14855 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 28 Apr 2011 13:59:53 -0500 Subject: isotests: update some syntax and ways of doing things To be more Django-like, Pythonic, or to fit better in the existing archweb project. Also add some created fields to the models, as storing dates for anything is almost always a good idea. Signed-off-by: Dan McGee --- isotests/admin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'isotests/admin.py') diff --git a/isotests/admin.py b/isotests/admin.py index 17303c58..10acaa98 100644 --- a/isotests/admin.py +++ b/isotests/admin.py @@ -1,8 +1,7 @@ from django.contrib import admin -from isotests.models import Iso, Architecture, IsoType, BootType -from isotests.models import HardwareType, InstallType, Source -from isotests.models import ClockChoice, Filesystem, Module, Bootloader +from .models import (Architecture, BootType, Bootloader, ClockChoice, + Filesystem, HardwareType, InstallType, Iso, IsoType, Module, Source) admin.site.register(Iso) admin.site.register(Architecture) -- cgit v1.2.3-54-g00ecf