Changeset 1026 in main


Ignore:
Timestamp:
04/24/12 12:01:15 (7 years ago)
Author:
pcosquer
Message:

reorganize imports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/plmapp/views/main.py

    r1025 r1026  
    5656 
    5757from django.conf import settings 
    58 from django.shortcuts import render_to_response 
     58from django.contrib import messages 
     59from django.contrib.auth.forms import PasswordChangeForm 
     60from django.contrib.auth.models import User 
     61from django.forms import HiddenInput 
    5962from django.http import HttpResponseRedirect, HttpResponse,\ 
    6063                        HttpResponsePermanentRedirect, HttpResponseForbidden 
     64from django.shortcuts import render_to_response 
    6165from django.template import RequestContext 
    62 from django.contrib.auth.forms import PasswordChangeForm 
    6366from django.utils.encoding import iri_to_uri 
    6467from django.utils.translation import ugettext_lazy as _ 
    6568from django.utils.decorators import method_decorator 
    6669from django.utils import simplejson 
    67 from django.forms import HiddenInput 
    6870from django.views.i18n import set_language as dj_set_language 
    69 from django.contrib import messages 
    70 from django.contrib.auth.models import User 
    7171 
    7272from haystack.views import SearchView 
    7373 
     74import openPLM.plmapp.csvimport as csvimport 
     75import openPLM.plmapp.models as models 
     76import openPLM.plmapp.forms as forms 
    7477from openPLM.plmapp.archive import generate_archive 
    75 from openPLM.plmapp.exceptions import ControllerError, PermissionError 
    76 import openPLM.plmapp.models as models 
    77 from openPLM.plmapp.controllers import get_controller  
    78 from openPLM.plmapp.utils import level_to_sign_str, get_next_revision 
    79 import openPLM.plmapp.forms as forms 
    80 from openPLM.plmapp.decomposers.base import DecomposersManager 
    8178from openPLM.plmapp.base_views import get_obj, get_obj_from_form, \ 
    8279    get_obj_by_id, handle_errors, get_generic_data, get_navigate_data, \ 
    8380    get_creation_view 
    84  
    85 import openPLM.plmapp.csvimport as csvimport 
    8681from openPLM.plmapp.cadformats import is_cad_file 
     82from openPLM.plmapp.controllers import get_controller  
     83from openPLM.plmapp.decomposers.base import DecomposersManager 
     84from openPLM.plmapp.exceptions import ControllerError, PermissionError 
     85from openPLM.plmapp.utils import level_to_sign_str, get_next_revision 
     86 
    8787 
    8888def r2r(template, dictionary, request): 
Note: See TracChangeset for help on using the changeset viewer.