Created
June 18, 2014 17:43
-
-
Save toastdriven/b5bf02f10dd5e8dbfdd2 to your computer and use it in GitHub Desktop.
My preferred import ordering/style for Python code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python *built-ins* | |
import datetime | |
import os | |
import time | |
# Pip-installed *Python* libraries | |
import boto | |
import requests | |
# Django *built-ins* | |
from django.contrib.auth.models import User | |
from django.db import models | |
from django.http import Http404 | |
from django.shortcuts import render | |
# Pip-installed *Third-party* imports | |
from registration.models import Registration | |
import south | |
from tastypie import fields | |
from tastypie.resources import ModelResource | |
# Imports from *our project/app* | |
from airship.apps.composer.v2 import Whatever | |
from airship.apps.models import Application | |
from airship.utils import some_awesome_date_conversion_function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment