diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-06 12:01:46 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-06 12:01:46 -0500 |
commit | 7dba848eaf12f7b5274b04a1d5aff38bc42a1d55 (patch) | |
tree | 1e90c292fedeb3cbfdf75e16893f03c9821721eb /mirrors/views.py | |
parent | fae66679318dbd3f5be2f96747e79676a0795fe6 (diff) |
Move mirror models out of main app
South actually makes this relatively painless if you get everything right,
so might as well start getting these out of the legacy main application to
eventually eliminate models being separate from their views.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/views.py')
-rw-r--r-- | mirrors/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrors/views.py b/mirrors/views.py index b9a02d27..ff22dd5c 100644 --- a/mirrors/views.py +++ b/mirrors/views.py @@ -2,8 +2,8 @@ from django import forms from django.views.decorators.csrf import csrf_exempt from django.views.generic.simple import direct_to_template -from main.models import Mirror, MirrorUrl, MirrorProtocol from main.utils import make_choice +from .models import Mirror, MirrorUrl, MirrorProtocol class MirrorlistForm(forms.Form): country = forms.MultipleChoiceField(required=False) |