上QQ阅读APP看书,第一时间看更新
How to do it...
Use the following structure in a Python file that you create. Starting with the first line in the file, put the imports categorized in sections, as follows:
# System libraries
import os
import re
from datetime import datetime
# Third-party libraries
import boto
from PIL import Image
# Django modules
from django.db import models
from django.conf import settings
# Django apps
from cms.models import Page
# Current-app modules
from . import app_settings