Module ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias If NameLoad body ImportFrom alias alias alias alias alias alias ImportFrom alias orelse ClassDef bases body Pass decorator_list Assign NameStore NameStore NameStore NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd NameLoad Str If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpAdd NameLoad Str If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad CompareIs NameLoad NameLoad Str ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list Call NameLoad CompareIs NameLoad NameLoad Str ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list Call NameLoad CompareIs NameLoad NameLoad Str ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list Call NameLoad CompareIs NameLoad NameLoad Str ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list Call NameLoad CompareIs NameLoad NameLoad Str ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad decorator_list Call NameLoad CompareIs NameLoad NameLoad Str ClassDef bases NameLoad NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr NameLoad Num Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list Call NameLoad CompareIs NameLoad NameLoad Str
N/A __future__ absolute_import N/A os N/A shutil django.core.files File django.core.files.images ImageFile django.test TestCase django.utils._os upath django.utils.unittest skipIf models Image N/A Image N/A models Person PersonWithHeight PersonWithHeightAndWidth PersonDimensionsFirst PersonTwoImages TestImageFieldFile models temp_storage_dir N/A Person N/A N/A N/A N/A N/A PersonWithHeight PersonWithHeightAndWidth PersonDimensionsFirst Person N/A PersonTwoImages Person ImageFieldTestMixin N/A object N/A N/A 
    Mixin class to provide common functionality to ImageField test classes.
     N/A PersonModel PersonWithHeightAndWidth N/A File ImageFile setUp N/A N/A self N/A N/A N/A 
        Creates a pristine temp directory (or deletes and recreates if it
        already exists) that the model uses as its storage directory.

        Sets up two ImageFile instances for use in tests.
         N/A N/A N/A N/A os path exists temp_storage_dir N/A N/A N/A N/A shutil rmtree temp_storage_dir N/A N/A N/A os mkdir temp_storage_dir N/A file_path1 N/A N/A N/A os path join N/A N/A N/A os path dirname N/A upath __file__ 4x8.png N/A N/A self file1 N/A N/A self File N/A open file_path1 rb N/A file_path2 N/A N/A N/A os path join N/A N/A N/A os path dirname N/A upath __file__ 8x4.png N/A N/A self file2 N/A N/A self File N/A open file_path2 rb N/A tearDown N/A N/A self N/A N/A N/A 
        Removes temp directory and all its contents.
         N/A N/A N/A shutil rmtree temp_storage_dir N/A check_dimensions N/A N/A self instance width height field_name N/A mugshot N/A N/A 
        Asserts that the given width and height values match both the
        field's height and width attributes and the height and width fields
        (if defined) the image field is caching to.

        Note, this method will check for dimension fields named by adding
        "_width" or "_height" to the name of the ImageField.  So, the
        models used in these tests must have their fields named
        accordingly.

        By default, we check the field named "mugshot", but this can be
        specified by passing the field_name parameter.
         N/A field N/A getattr instance field_name N/A N/A N/A width None N/A height None N/A N/A N/A N/A self assertRaises ValueError getattr field width N/A N/A N/A self assertRaises ValueError getattr field height N/A N/A N/A N/A self assertEqual N/A field width width N/A N/A N/A self assertEqual N/A field height height N/A width_field_name N/A field_name _width N/A N/A hasattr instance width_field_name N/A N/A N/A N/A self assertEqual N/A getattr instance width_field_name width N/A height_field_name N/A field_name _height N/A N/A hasattr instance height_field_name N/A N/A N/A N/A self assertEqual N/A getattr instance height_field_name height N/A N/A ImageFieldTests N/A ImageFieldTestMixin TestCase N/A N/A 
    Tests for ImageField that don't need to be run with each of the
    different test model classes.
     test_equal_notequal_hash N/A N/A self N/A N/A N/A 
        Bug #9786: Ensure '==' and '!=' work correctly.
        Bug #9508: make sure hash() works as expected (equal items must
        hash to the same value).
         N/A p1 N/A N/A self PersonModel name Joe N/A N/A N/A N/A p1 mugshot save mug N/A self file1 N/A p2 N/A N/A self PersonModel name Bob N/A N/A N/A N/A p2 mugshot save mug N/A self file2 N/A N/A N/A self assertEqual N/A N/A p1 mugshot N/A p2 mugshot False N/A N/A N/A self assertEqual N/A N/A p1 mugshot N/A p2 mugshot True N/A p1_db N/A N/A N/A N/A self PersonModel objects get name Joe N/A N/A N/A self assertEqual N/A N/A p1_db mugshot N/A p2 mugshot False N/A N/A N/A self assertEqual N/A N/A p1_db mugshot N/A p2 mugshot True N/A N/A N/A self assertEqual N/A N/A p1_db mugshot N/A p1 mugshot True N/A N/A N/A self assertEqual N/A hash N/A p1_db mugshot N/A hash N/A p1 mugshot N/A N/A N/A self assertEqual N/A N/A p1_db mugshot N/A p1 mugshot False N/A test_instantiate_missing N/A N/A self N/A N/A N/A 
        If the underlying file is unavailable, still create instantiate the
        object without error.
         N/A p N/A N/A self PersonModel name Joan N/A N/A N/A N/A p mugshot save shot N/A self file1 N/A p N/A N/A N/A N/A self PersonModel objects get name Joan N/A path N/A N/A p mugshot path N/A N/A N/A shutil move path N/A path .moved N/A p2 N/A N/A N/A N/A self PersonModel objects get name Joan N/A test_delete_when_missing N/A N/A self N/A N/A N/A 
        Bug #8175: correctly delete an object where the file no longer
        exists on the file system.
         N/A p N/A N/A self PersonModel name Fred N/A N/A N/A N/A p mugshot save shot N/A self file1 N/A N/A N/A os remove N/A N/A p mugshot path N/A N/A N/A p delete N/A test_size_method N/A N/A self N/A N/A N/A 
        Bug #8534: FileField.size should not leave the file open.
         N/A p N/A N/A self PersonModel name Joan N/A N/A N/A N/A p mugshot save shot N/A self file1 N/A p N/A N/A N/A N/A self PersonModel objects get name Joan N/A N/A N/A self assertEqual N/A N/A p mugshot closed True N/A _ N/A N/A p mugshot size N/A N/A N/A self assertEqual N/A N/A p mugshot closed True N/A test_pickle N/A N/A self N/A N/A N/A 
        Tests that ImageField can be pickled, unpickled, and that the
        image of the unpickled version is the same as the original.
         N/A pickle N/A p N/A Person name Joe N/A N/A N/A N/A p mugshot save mug N/A self file1 N/A dump N/A N/A pickle dumps p N/A p2 N/A Person name Bob N/A N/A p2 mugshot N/A self file1 N/A loaded_p N/A N/A pickle loads dump N/A N/A N/A self assertEqual N/A p mugshot N/A loaded_p mugshot N/A N/A N/A skipIf N/A Image None PIL is required to test ImageField ImageFieldTwoDimensionsTests N/A ImageFieldTestMixin TestCase N/A N/A 
    Tests behavior of an ImageField and its dimensions fields.
     test_constructor N/A N/A self N/A N/A N/A 
        Tests assigning an image field through the model's constructor.
         N/A p N/A N/A self PersonModel name Joe mugshot N/A self file1 N/A N/A N/A self check_dimensions p 4 8 N/A N/A N/A p save N/A N/A N/A self check_dimensions p 4 8 N/A test_image_after_constructor N/A N/A self N/A N/A N/A 
        Tests behavior when image is not passed in constructor.
         N/A p N/A N/A self PersonModel name Joe N/A N/A N/A self assertEqual N/A isinstance N/A p mugshot TestImageFieldFile True N/A N/A N/A self assertEqual N/A bool N/A p mugshot False N/A p N/A N/A self PersonModel name Joe N/A N/A p mugshot N/A self file1 N/A N/A N/A self check_dimensions p 4 8 N/A test_create N/A N/A self N/A N/A N/A 
        Tests assigning an image in Manager.create().
         N/A p N/A N/A N/A N/A self PersonModel objects create name Joe mugshot N/A self file1 N/A N/A N/A self check_dimensions p 4 8 N/A test_default_value N/A N/A self N/A N/A N/A 
        Tests that the default value for an ImageField is an instance of
        the field's attr_class (TestImageFieldFile in this case) with no
        name (name set to None).
         N/A p N/A N/A self PersonModel N/A N/A N/A self assertEqual N/A isinstance N/A p mugshot TestImageFieldFile True N/A N/A N/A self assertEqual N/A bool N/A p mugshot False N/A test_assignment_to_None N/A N/A self N/A N/A N/A 
        Tests that assigning ImageField to None clears dimensions.
         N/A p N/A N/A self PersonModel name Joe mugshot N/A self file1 N/A N/A N/A self check_dimensions p 4 8 N/A N/A p mugshot None N/A N/A N/A self check_dimensions p None None N/A N/A p mugshot N/A self file2 N/A N/A N/A self check_dimensions p 8 4 N/A test_field_save_and_delete_methods N/A N/A self N/A N/A N/A 
        Tests assignment using the field's save method and deletion using
        the field's delete method.
         N/A p N/A N/A self PersonModel name Joe N/A N/A N/A N/A p mugshot save mug N/A self file1 N/A N/A N/A self check_dimensions p 4 8 N/A N/A N/A N/A p mugshot save mug N/A self file2 N/A N/A N/A self check_dimensions p 8 4 N/A N/A N/A N/A p mugshot delete save False N/A N/A N/A self assertEqual N/A p mugshot None N/A N/A N/A self check_dimensions p None None N/A test_dimensions N/A N/A self N/A N/A N/A 
        Checks that dimensions are updated correctly in various situations.
         N/A p N/A N/A self PersonModel name Joe N/A N/A N/A N/A p mugshot save mug N/A self file1 N/A N/A N/A self check_dimensions p 4 8 N/A p N/A N/A N/A N/A self PersonModel objects get name Joe N/A N/A N/A self assertEqual N/A N/A p mugshot was_opened False N/A N/A N/A self check_dimensions p 4 8 N/A N/A N/A self assertEqual N/A N/A p mugshot was_opened True N/A N/A N/A p mugshot was_opened False N/A N/A N/A self check_dimensions p 4 8 N/A N/A N/A self assertEqual N/A N/A p mugshot was_opened False N/A N/A p mugshot N/A self file2 N/A N/A N/A self check_dimensions p 8 4 N/A N/A N/A self assertEqual N/A N/A p mugshot was_opened True N/A N/A N/A skipIf N/A Image None PIL is required to test ImageField ImageFieldNoDimensionsTests N/A ImageFieldTwoDimensionsTests N/A N/A 
    Tests behavior of an ImageField with no dimension fields.
     N/A PersonModel Person N/A N/A skipIf N/A Image None PIL is required to test ImageField ImageFieldOneDimensionTests N/A ImageFieldTwoDimensionsTests N/A N/A 
    Tests behavior of an ImageField with one dimensions field.
     N/A PersonModel PersonWithHeight N/A N/A skipIf N/A Image None PIL is required to test ImageField ImageFieldDimensionsFirstTests N/A ImageFieldTwoDimensionsTests N/A N/A 
    Tests behavior of an ImageField where the dimensions fields are
    defined before the ImageField.
     N/A PersonModel PersonDimensionsFirst N/A N/A skipIf N/A Image None PIL is required to test ImageField ImageFieldUsingFileTests N/A ImageFieldTwoDimensionsTests N/A N/A 
    Tests behavior of an ImageField when assigning it a File instance
    rather than an ImageFile instance.
     N/A PersonModel PersonDimensionsFirst N/A File File N/A N/A skipIf N/A Image None PIL is required to test ImageField TwoImageFieldTests N/A ImageFieldTestMixin TestCase N/A N/A 
    Tests a model with two ImageFields.
     N/A PersonModel PersonTwoImages test_constructor N/A N/A self N/A N/A N/A p N/A N/A self PersonModel mugshot N/A self file1 headshot N/A self file2 N/A N/A N/A self check_dimensions p 4 8 mugshot N/A N/A N/A self check_dimensions p 8 4 headshot N/A N/A N/A p save N/A N/A N/A self check_dimensions p 4 8 mugshot N/A N/A N/A self check_dimensions p 8 4 headshot N/A test_create N/A N/A self N/A N/A N/A p N/A N/A N/A N/A self PersonModel objects create mugshot N/A self file1 headshot N/A self file2 N/A N/A N/A self check_dimensions p 4 8 N/A N/A N/A self check_dimensions p 8 4 headshot N/A test_assignment N/A N/A self N/A N/A N/A p N/A N/A self PersonModel N/A N/A N/A self check_dimensions p None None mugshot N/A N/A N/A self check_dimensions p None None headshot N/A N/A p mugshot N/A self file1 N/A N/A N/A self check_dimensions p 4 8 mugshot N/A N/A N/A self check_dimensions p None None headshot N/A N/A p headshot N/A self file2 N/A N/A N/A self check_dimensions p 4 8 mugshot N/A N/A N/A self check_dimensions p 8 4 headshot N/A N/A p mugshot None N/A N/A N/A self check_dimensions p None None mugshot N/A N/A N/A self check_dimensions p 8 4 headshot N/A N/A p headshot None N/A N/A N/A self check_dimensions p None None mugshot N/A N/A N/A self check_dimensions p None None headshot N/A test_field_save_and_delete_methods N/A N/A self N/A N/A N/A p N/A N/A self PersonModel name Joe N/A N/A N/A N/A p mugshot save mug N/A self file1 N/A N/A N/A self check_dimensions p 4 8 mugshot N/A N/A N/A self check_dimensions p None None headshot N/A N/A N/A N/A p headshot save head N/A self file2 N/A N/A N/A self check_dimensions p 4 8 mugshot N/A N/A N/A self check_dimensions p 8 4 headshot N/A N/A N/A N/A p headshot delete save True N/A N/A N/A self check_dimensions p 4 8 mugshot N/A N/A N/A self check_dimensions p None None headshot N/A N/A N/A N/A p mugshot delete save False N/A N/A N/A self check_dimensions p None None mugshot N/A N/A N/A self check_dimensions p None None headshot N/A test_dimensions N/A N/A self N/A N/A N/A 
        Checks that dimensions are updated correctly in various situations.
         N/A p N/A N/A self PersonModel name Joe N/A N/A N/A N/A p mugshot save mug N/A self file1 N/A N/A N/A N/A p headshot save head N/A self file2 N/A N/A N/A self check_dimensions p 4 8 mugshot N/A N/A N/A self check_dimensions p 8 4 headshot N/A p N/A N/A N/A N/A self PersonModel objects get name Joe N/A N/A N/A self assertEqual N/A N/A p mugshot was_opened False N/A N/A N/A self assertEqual N/A N/A p headshot was_opened False N/A N/A N/A self check_dimensions p 4 8 mugshot N/A N/A N/A self check_dimensions p 8 4 headshot N/A N/A N/A self assertEqual N/A N/A p mugshot was_opened True N/A N/A N/A self assertEqual N/A N/A p headshot was_opened True N/A N/A N/A p mugshot was_opened False N/A N/A N/A p headshot was_opened False N/A N/A N/A self check_dimensions p 4 8 mugshot N/A N/A N/A self check_dimensions p 8 4 headshot N/A N/A N/A self assertEqual N/A N/A p mugshot was_opened False N/A N/A N/A self assertEqual N/A N/A p headshot was_opened False N/A N/A p mugshot N/A self file2 N/A N/A p headshot N/A self file1 N/A N/A N/A self check_dimensions p 8 4 mugshot N/A N/A N/A self check_dimensions p 4 8 headshot N/A N/A N/A self assertEqual N/A N/A p mugshot was_opened True N/A N/A N/A self assertEqual N/A N/A p headshot was_opened True N/A N/A N/A skipIf N/A Image None PIL is required to test ImageField