diff options
author | Tom Willemsen <tom.willemsen@archlinux.us> | 2011-04-28 12:43:01 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-28 14:00:54 -0500 |
commit | c5a28f88936fba06755aefec61a017c2ce94ba40 (patch) | |
tree | 76add6504dff0e7f882b151094b607bc5b5b8be8 /isotests | |
parent | c292dcfc6bf96ebf5f34342beb1367aa5361f7c4 (diff) |
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 <dan@archlinux.org>
Diffstat (limited to 'isotests')
-rw-r--r-- | isotests/admin.py | 5 | ||||
-rw-r--r-- | isotests/models.py | 2 | ||||
-rw-r--r-- | isotests/views.py | 2 |
3 files changed, 8 insertions, 1 deletions
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: |