Bläddra i källkod

adds versions to doc

Johannes M. Schmitt 12 år sedan
förälder
incheckning
569a30e1f3
2 ändrade filer med 8 tillägg och 0 borttagningar
  1. 4 0
      doc/event_system.rst
  2. 4 0
      doc/reference/annotations.rst

+ 4 - 0
doc/event_system.rst

@@ -61,6 +61,10 @@ objects such as links.
 
 
 serializer.pre_deserialize
 serializer.pre_deserialize
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. versionadded : 0.12
+    Event was added
+
 This is dispatched before an object is deserialized. You can use this to
 This is dispatched before an object is deserialized. You can use this to
 modify submitted data, or modify the type that is being used for deserialization.
 modify submitted data, or modify the type that is being used for deserialization.
 
 

+ 4 - 0
doc/reference/annotations.rst

@@ -192,6 +192,10 @@ by the object iself.
 
 
 @Discriminator
 @Discriminator
 ~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~
+
+.. versionadded : 0.12
+    @Discriminator was added
+
 This annotation can to enable deserialization of relations which are polymorphic, but
 This annotation can to enable deserialization of relations which are polymorphic, but
 where a common base class exists. The ``@Discriminator`` annotation has to be applied
 where a common base class exists. The ``@Discriminator`` annotation has to be applied
 to the least super type::
 to the least super type::