From c5a28f88936fba06755aefec61a017c2ce94ba40 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Thu, 28 Apr 2011 12:43:01 -0500 Subject: isotests: modelines, imports, url and pass * Added vim modelines to files. * Rearranged import statements. * Moved the arch releng isos url to settings.py. * Fixed some issues that arose from forgetting to import the isotests urls package. * removed redundant str() calls. Signed-off-by: Dan McGee --- isotests/admin.py | 5 ++++- isotests/models.py | 2 ++ isotests/views.py | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'isotests') diff --git a/isotests/admin.py b/isotests/admin.py index 0cde0f83..17303c58 100644 --- a/isotests/admin.py +++ b/isotests/admin.py @@ -1,7 +1,8 @@ +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 django.contrib import admin admin.site.register(Iso) admin.site.register(Architecture) @@ -14,3 +15,5 @@ admin.site.register(ClockChoice) admin.site.register(Filesystem) admin.site.register(Module) admin.site.register(Bootloader) + +# vim: set ts=4 sw=4 et: diff --git a/isotests/models.py b/isotests/models.py index ae5bf96f..7b7eb5e7 100644 --- a/isotests/models.py +++ b/isotests/models.py @@ -109,3 +109,5 @@ class Test(models.Model): bootloader = models.ForeignKey(Bootloader) success = models.BooleanField() comments = models.TextField(null=True, blank=True) + +# vim: set ts=4 sw=4 et: diff --git a/isotests/views.py b/isotests/views.py index 61d95e54..dd041ebc 100644 --- a/isotests/views.py +++ b/isotests/views.py @@ -108,3 +108,5 @@ def view_results_for(request, option, value): def thanks(request): return direct_to_template(request, "isotests/thanks.html", None) + +# vim: set ts=4 sw=4 et: -- cgit v1.2.3-2-g168b