When retrieving a field by name, handle a missed case when the cache cannot be
commit5dc2abf4271ad620399828ce7a2916be143eea64
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sun, 27 Apr 2008 11:44:11 +0000 (27 11:44 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sun, 27 Apr 2008 11:44:11 +0000 (27 11:44 +0000)
treeb31eb9d29a35e0e1ae04ca0af2d0f0ace262039a
parent0f2392e00d935cd9513afbb9e00d6c24f565298b
When retrieving a field by name, handle a missed case when the cache cannot be
initialised yet.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/db/models/options.py