Module ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad Num body For NameStore SubscriptLoad NameLoad Slice Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr If CompareEq Call NameLoad NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For NameStore SubscriptLoad NameLoad Slice NameLoad body If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Return TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body AugAssignSub AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpMult Str BinOpMult AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Assign NameStore Call NameLoad Assign NameStore ListLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Assign TupleStore NameStore NameStore Call AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str IfExp NameLoad BinOpAdd Call AttributeLoad Str attr NameLoad Str Str Assign NameStore ListLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign SubscriptStore NameLoad Index Str IfExp NameLoad BinOpAdd Call AttributeLoad Str attr NameLoad Str Str Assign NameStore Call NameLoad For NameStore Call NameLoad NameLoad body If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign SubscriptStore NameLoad Index Str IfExp NameLoad BinOpAdd Call AttributeLoad Str attr NameLoad Str Str If NameLoad body AugAssignAdd SubscriptStore NameLoad Index Str BinOpMod Str Call AttributeLoad Str attr Call NameLoad NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index Str BinOpMod Str SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr keyword Call NameLoad keyword Call AttributeLoad Call NameLoad attr Str If AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index Str Str Return Call AttributeLoad BinOpMod NameLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad keyword NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass orelse TryExcept body Return Call NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str If CompareEq AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Str ListLoad While NameLoad body Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call NameLoad Call AttributeLoad Str attr NameLoad handlers ExceptHandler type NameLoad body Continue orelse TryExcept body Assign NameStore Call NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Continue orelse Break orelse Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str body Pass Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad attr decorator_list NameLoad decorator_list Assign NameStore Str
N/A __future__ unicode_literals N/A os N/A re importlib import_module django get_version django.apps apps django.db migrations django.db.migrations.loader MigrationLoader django.db.migrations.serializer serializer_factory django.utils._os upath django.utils.encoding force_text django.utils.inspect get_func_args django.utils.module_loading module_dir django.utils.timezone now N/A N/A N/A enum N/A N/A N/A ImportError N/A N/A enum None SettingsReference N/A str N/A N/A 
    Special subclass of string which actually references a current settings
    value. It's treated as the value in memory, but serializes out to a
    settings.NAME attribute reference.
     __new__ N/A N/A self value setting_name N/A N/A N/A N/A N/A str __new__ self value N/A __init__ N/A N/A self value setting_name N/A N/A N/A N/A self setting_name setting_name N/A N/A OperationWriter N/A object N/A __init__ N/A N/A self operation indentation N/A 2 N/A N/A N/A self operation operation N/A N/A self buff N/A N/A N/A self indentation indentation N/A serialize N/A N/A self N/A N/A _write N/A N/A _arg_name _arg_value N/A N/A N/A N/A N/A _arg_name N/A N/A self operation serialization_expand_args N/A isinstance _arg_value N/A list tuple dict N/A N/A N/A isinstance _arg_value dict N/A N/A N/A N/A self feed N/A %s={ _arg_name N/A N/A N/A self indent N/A N/A key value N/A N/A _arg_value items N/A N/A N/A key_string key_imports N/A N/A MigrationWriter serialize key N/A N/A arg_string arg_imports N/A N/A MigrationWriter serialize value N/A args N/A N/A arg_string splitlines N/A N/A N/A len args 1 N/A N/A N/A N/A self feed N/A %s: %s N/A key_string N/A args N/A 0 N/A arg N/A args N/A 1 -1 N/A N/A N/A N/A self feed arg N/A N/A N/A self feed N/A %s, N/A args N/A -1 N/A N/A N/A N/A self feed N/A %s: %s, N/A key_string arg_string N/A N/A N/A imports update key_imports N/A N/A N/A imports update arg_imports N/A N/A N/A self unindent N/A N/A N/A self feed }, N/A N/A N/A N/A self feed N/A %s=[ _arg_name N/A N/A N/A self indent N/A item _arg_value N/A N/A N/A arg_string arg_imports N/A N/A MigrationWriter serialize item N/A args N/A N/A arg_string splitlines N/A N/A N/A len args 1 N/A N/A arg N/A args N/A -1 N/A N/A N/A N/A self feed arg N/A N/A N/A self feed N/A %s, N/A args N/A -1 N/A N/A N/A N/A self feed N/A %s, arg_string N/A N/A N/A imports update arg_imports N/A N/A N/A self unindent N/A N/A N/A self feed ], N/A N/A N/A arg_string arg_imports N/A N/A MigrationWriter serialize _arg_value N/A args N/A N/A arg_string splitlines N/A N/A N/A len args 1 N/A N/A N/A N/A self feed N/A %s=%s N/A _arg_name N/A args N/A 0 N/A arg N/A args N/A 1 -1 N/A N/A N/A N/A self feed arg N/A N/A N/A self feed N/A %s, N/A args N/A -1 N/A N/A N/A N/A self feed N/A %s=%s, N/A _arg_name arg_string N/A N/A N/A imports update arg_imports N/A N/A imports N/A set N/A N/A name args kwargs N/A N/A N/A self operation deconstruct N/A operation_args N/A get_func_args N/A N/A self operation __init__ N/A N/A N/A getattr migrations name None N/A N/A self operation __class__ N/A N/A N/A N/A self feed N/A migrations.%s( name N/A N/A N/A N/A imports add N/A import %s N/A N/A N/A self operation __class__ __module__ N/A N/A N/A self feed N/A %s.%s( N/A N/A N/A N/A self operation __class__ __module__ name N/A N/A N/A self indent N/A N/A i arg N/A enumerate args N/A N/A arg_value arg N/A arg_name N/A operation_args N/A i N/A N/A _write arg_name arg_value N/A i N/A len args N/A arg_name N/A operation_args N/A i N/A N/A N/A arg_name kwargs N/A N/A arg_value N/A kwargs N/A arg_name N/A N/A _write arg_name arg_value N/A N/A N/A self unindent N/A N/A N/A self feed ), N/A N/A N/A N/A self render imports N/A indent N/A N/A self N/A N/A N/A N/A self indentation 1 N/A unindent N/A N/A self N/A N/A N/A N/A self indentation 1 N/A feed N/A N/A self line N/A N/A N/A N/A N/A N/A self buff append N/A N/A N/A N/A self indentation 4 line N/A render N/A N/A self N/A N/A N/A N/A N/A join N/A self buff N/A N/A MigrationWriter N/A object N/A N/A 
    Takes a Migration instance and is able to produce the contents
    of the migration file from it.
     __init__ N/A N/A self migration N/A N/A N/A N/A self migration migration N/A N/A self needs_manual_porting False N/A as_string N/A N/A self N/A N/A N/A 
        Returns a string of the file contents.
         N/A items N/A replaces_str initial_str N/A imports N/A set N/A operations N/A N/A operation N/A N/A self migration operations N/A N/A N/A operation_string operation_imports N/A N/A N/A OperationWriter operation serialize N/A N/A N/A imports update operation_imports N/A N/A N/A operations append operation_string N/A N/A items N/A operations N/A operations N/A N/A N/A join operations N/A dependencies N/A N/A dependency N/A N/A self migration dependencies N/A N/A N/A N/A dependency N/A 0 __setting__ N/A N/A N/A N/A dependencies append N/A         migrations.swappable_dependency(settings.%s), N/A dependency N/A 1 N/A N/A N/A imports add from django.conf import settings N/A N/A dependency N/A tuple N/A N/A force_text s N/A s dependency N/A N/A N/A dependencies append N/A         %s, N/A N/A N/A self serialize dependency N/A 0 N/A N/A items N/A dependencies N/A dependencies N/A N/A N/A join dependencies N/A migration_imports N/A set N/A line N/A list imports N/A N/A N/A N/A re match ^import (.*)\.\d+[^\s]*$ line N/A N/A N/A N/A migration_imports add N/A N/A N/A N/A N/A line split import N/A 1 strip N/A N/A N/A imports remove line N/A N/A self needs_manual_porting True N/A N/A from django.db import models imports N/A N/A N/A N/A imports discard from django.db import models N/A N/A N/A imports add from django.db import migrations, models N/A N/A N/A N/A imports add from django.db import migrations N/A sorted_imports N/A sorted imports key N/A N/A N/A i N/A N/A N/A N/A i split N/A 1 N/A N/A items N/A imports N/A imports N/A N/A N/A join sorted_imports N/A migration_imports N/A N/A N/A items N/A imports N/A 

# Functions from the following migrations need manual copying.
# Move them and any dependencies into this file, then update the
# RunPython operations to refer to the local versions:
# %s N/A N/A 
#  join N/A sorted migration_imports N/A N/A N/A self migration replaces N/A N/A N/A items N/A replaces_str N/A 
    replaces = %s
 N/A N/A N/A self serialize N/A N/A self migration replaces N/A 0 N/A N/A N/A items update version N/A get_version timestamp N/A N/A N/A now strftime %Y-%m-%d %H:%M N/A N/A N/A self migration initial N/A N/A N/A items N/A initial_str 
    initial = True
 N/A N/A N/A N/A MIGRATION_TEMPLATE items encode utf8 N/A basedir N/A N/A self N/A N/A N/A migrations_package_name N/A N/A N/A MigrationLoader None load False migrations_module N/A N/A self migration app_label N/A N/A migrations_package_name None N/A N/A N/A ValueError N/A Django can't create migrations for app '%s' because migrations have been disabled via the MIGRATION_MODULES setting. N/A N/A self migration app_label N/A N/A N/A migrations_module N/A import_module migrations_package_name N/A N/A N/A ImportError N/A N/A N/A N/A N/A N/A N/A upath N/A module_dir migrations_module N/A N/A N/A ValueError N/A N/A N/A app_config N/A N/A apps get_app_config N/A N/A self migration app_label N/A N/A maybe_app_name _ migrations_package_basename N/A N/A migrations_package_name rpartition . N/A N/A N/A app_config name maybe_app_name N/A N/A N/A N/A N/A os path join N/A app_config path migrations_package_basename N/A N/A existing_dirs missing_dirs N/A N/A N/A migrations_package_name split . N/A N/A existing_dirs N/A N/A N/A N/A missing_dirs insert 0 N/A N/A existing_dirs pop -1 N/A N/A N/A base_module N/A import_module N/A N/A . join existing_dirs N/A N/A N/A ImportError N/A N/A N/A N/A N/A N/A base_dir N/A upath N/A module_dir base_module N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A N/A ValueError N/A Could not locate an appropriate location to create migrations package %s. Make sure the toplevel package exists and can be imported. migrations_package_name N/A final_dir N/A N/A N/A os path join base_dir missing_dirs N/A N/A N/A N/A N/A os path isdir final_dir N/A N/A N/A N/A os makedirs final_dir N/A missing_dir missing_dirs N/A N/A base_dir N/A N/A N/A os path join base_dir missing_dir N/A N/A open N/A N/A N/A os path join base_dir __init__.py w N/A N/A N/A final_dir N/A property filename N/A N/A self N/A N/A N/A N/A %s.py N/A N/A self migration name N/A property path N/A N/A self N/A N/A N/A N/A N/A N/A os path join N/A self basedir N/A self filename N/A property serialize N/A N/A cls value N/A N/A N/A N/A N/A N/A serializer_factory value serialize N/A classmethod N/A N/A MIGRATION_TEMPLATE # -*- coding: utf-8 -*-
# Generated by Django %(version)s on %(timestamp)s
from __future__ import unicode_literals

%(imports)s

class Migration(migrations.Migration):
%(replaces_str)s%(initial_str)s
    dependencies = [
%(dependencies)s    ]

    operations = [
%(operations)s    ]
