Index: django/core/handlers/modpython.py
===================================================================
--- django/core/handlers/modpython.py	(revision 5059)
+++ django/core/handlers/modpython.py	(working copy)
@@ -139,6 +139,11 @@
         # now that the environ works we can see the correct settings, so imports
         # that use settings now can work
         from django.conf import settings
+        
+        # XXX: (Temporary) workaround for ticket #1796: force early loading of all
+        # models from installed apps.
+        from django.db.models.loading import get_models
+        loaded_models = get_models()
 
         # if we need to set up middleware, now that settings works we can do it now.
         if self._request_middleware is None:
