]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Docs: import related classes when using string name 4545/head
authorAntony Gelberg <antony.gelberg@gmail.com>
Sat, 16 Mar 2019 18:32:32 +0000 (20:32 +0200)
committerAntony Gelberg <antony.gelberg@gmail.com>
Sat, 16 Mar 2019 18:32:32 +0000 (20:32 +0200)
lib/sqlalchemy/orm/relationships.py

index b00d72d64ced92a2a21f39786ab71d0ec7b5c460..3decb6142312af88d24ea909b5450c936265490c 100644 (file)
@@ -182,7 +182,9 @@ class RelationshipProperty(StrategizedProperty):
         callables that evaluate the string as Python code, using the
         Declarative class-registry as a namespace.  This allows the lookup of
         related classes to be automatic via their string name, and removes the
-        need to import related classes at all into the local module space::
+        need to import related classes at all into the local module
+        space. (It does **not** remove the need to import related classes
+        at application startup.)
 
             from sqlalchemy.ext.declarative import declarative_base