Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return NameLoad orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If CompareEq Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore Str Assign NameStore Str decorator_list
N/A __future__ unicode_literals xml.dom minidom django.core serializers django.core.serializers.xml_serializer DTDForbidden django.test TestCase TransactionTestCase django.utils six tests SerializersTestBase SerializersTransactionTestBase XmlSerializerTestCase N/A SerializersTestBase TestCase N/A N/A serializer_name xml N/A pkless_str <?xml version="1.0" encoding="utf-8"?>
<django-objects version="1.0">
    <object model="serializers.category">
        <field type="CharField" name="name">Reference</field>
    </object>
    <object model="serializers.category">
        <field type="CharField" name="name">Non-fiction</field>
    </object>
</django-objects> N/A mapping_ordering_str <?xml version="1.0" encoding="utf-8"?>
<django-objects version="1.0">
  <object model="serializers.article" pk="%(article_pk)s">
    <field name="author" rel="ManyToOneRel" to="serializers.author">%(author_pk)s</field>
    <field name="headline" type="CharField">Poker has no place on ESPN</field>
    <field name="pub_date" type="DateTimeField">2006-06-16T11:00:00</field>
    <field name="categories" rel="ManyToManyRel" to="serializers.category"><object pk="%(first_category_pk)s"></object><object pk="%(second_category_pk)s"></object></field>
    <field name="meta_data" rel="ManyToManyRel" to="serializers.categorymetadata"></field>
  </object>
</django-objects> _comparison_value N/A N/A value N/A N/A N/A N/A N/A six text_type value N/A staticmethod _validate_output N/A N/A serial_str N/A N/A N/A N/A N/A N/A N/A minidom parseString serial_str N/A N/A N/A Exception N/A N/A False N/A N/A True N/A staticmethod _get_pk_values N/A N/A serial_str N/A N/A N/A ret_list N/A N/A dom N/A N/A minidom parseString serial_str N/A fields N/A N/A dom getElementsByTagName object N/A field fields N/A N/A N/A N/A ret_list append N/A N/A field getAttribute pk N/A ret_list N/A staticmethod _get_field_values N/A N/A serial_str field_name N/A N/A N/A ret_list N/A N/A dom N/A N/A minidom parseString serial_str N/A fields N/A N/A dom getElementsByTagName field N/A field fields N/A N/A N/A N/A N/A field getAttribute name field_name N/A N/A temp N/A N/A child N/A field childNodes N/A N/A N/A N/A temp append N/A child nodeValue N/A N/A N/A ret_list append N/A N/A join temp N/A ret_list N/A staticmethod test_control_char_failure N/A N/A self N/A N/A N/A 
        Serializing control characters with XML should fail as those characters
        are not supported in the XML 1.0 standard (except HT, LF, CR).
         N/A N/A N/A self a1 headline This contains  control  chars N/A msg N/A Article.headline (pk:%s) contains unserializable characters N/A N/A self a1 pk N/A N/A N/A self assertRaisesMessage ValueError msg N/A N/A N/A N/A serializers serialize N/A self serializer_name N/A N/A self a1 N/A N/A N/A self a1 headline HT 	, LF 
, and CR 
 are allowed N/A N/A N/A self assertIn HT 	, LF 
, and CR 
 are allowed N/A N/A serializers serialize N/A self serializer_name N/A N/A self a1 N/A test_no_dtd N/A N/A self N/A N/A N/A 
        The XML deserializer shouldn't allow a DTD.

        This is the most straightforward way to prevent all entity definitions
        and avoid both external entities and entity-expansion attacks.
         N/A xml <?xml version="1.0" standalone="no"?><!DOCTYPE example SYSTEM "http://example.com/example.dtd"> N/A N/A N/A self assertRaises DTDForbidden N/A N/A N/A next N/A N/A serializers deserialize xml xml N/A N/A XmlSerializerTransactionTestCase N/A SerializersTransactionTestBase TransactionTestCase N/A N/A serializer_name xml N/A fwd_ref_str <?xml version="1.0" encoding="utf-8"?>
<django-objects version="1.0">
    <object pk="1" model="serializers.article">
        <field to="serializers.author" name="author" rel="ManyToOneRel">1</field>
        <field type="CharField" name="headline">Forward references pose no problem</field>
        <field type="DateTimeField" name="pub_date">2006-06-16T15:00:00</field>
        <field to="serializers.category" name="categories" rel="ManyToManyRel">
            <object pk="1"></object>
        </field>
        <field to="serializers.categorymetadata" name="meta_data" rel="ManyToManyRel"></field>
    </object>
    <object pk="1" model="serializers.author">
        <field type="CharField" name="name">Agnes</field>
    </object>
    <object pk="1" model="serializers.category">
        <field type="CharField" name="name">Reference</field></object>
</django-objects> N/A