Ignore:
Timestamp:
Mar 23, 2013, 9:41:31 PM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
f610262
Parents:
cf509c0
git-author:
Alex Dehnert <adehnert@…> (03/23/13 21:41:31)
git-committer:
Alex Dehnert <adehnert@…> (03/23/13 21:41:31)
Message:

Sort imports more

My current style is to sort as follows:

  • Group the imports by type
    • Python stdlib
    • Django stdlib (including django.contrib, but not random eggs)
    • Django add-ons
    • ASA-specific code
  • Sort by name within the type
File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/views.py

    rcf509c0 r26826c9  
    1 import forms.models
    2 import groups.models
    3 import groups.views
    4 import util.emails
     1import collections
     2import csv
     3import datetime
     4import StringIO
    55
    66from django.conf import settings
     
    2323from django.db.models import Q, Count
    2424
    25 import collections
    26 import csv
    27 import datetime
    28 import StringIO
     25import forms.models
     26import groups.models
     27import groups.views
     28import util.emails
    2929
    3030#################
Note: See TracChangeset for help on using the changeset viewer.