t; ..
> ..
> File "/usr/local/lib/python2.6/dist-packages/django/db/models/
> options.py", line 391, in _fill_related_objects_cache
> for klass in get_models(include_auto_created=True):
> TypeError: get_models() got an unexpected keyword argument
> 'inclu
mmand_line()
..
..
File "/usr/local/lib/python2.6/dist-packages/django/db/models/
options.py", line 391, in _fill_related_objects_cache
for klass in get_models(include_auto_created=True):
TypeError: get_models() got an unexpected keyword argument
'include_auto_created'
I was using
On Thu, Jun 19, 2008 at 9:11 PM, Russell Keith-Magee
<[EMAIL PROTECTED]> wrote:
> This is just one of those areas that we haven't got around to
> documenting yet. It doesn't mean we don't want to document this
> feature - it just means other things have taken priority. We're always
> open to
On Thu, Jun 19, 2008 at 8:01 PM, Marty Alchin <[EMAIL PROTECTED]> wrote:
> In fact, I'm confident enough that they're not going anywhere that I'm
> in the process of documenting them on dead trees.
I already beat you to it, at least partially (got some uses of
get_model() in my book).
--
On Fri, Jun 20, 2008 at 9:59 AM, Beetle B. <[EMAIL PROTECTED]> wrote:
>
> Thanks for all the replies.
>
> Wonder why they didn't add it to the documentation...seems like a
> useful function.
I'm one of "Them", and the answer is simple - we've been busy, and
documentation doesn't write itself.
Thanks for all the replies.
Wonder why they didn't add it to the documentation...seems like a
useful function.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
On Thu, Jun 19, 2008 at 8:29 PM, James Bennett <[EMAIL PROTECTED]> wrote:
> If these functions were to change, Django itself would need to undergo
> not-insignificant refactoring. And since such a refactoring is not on
> the table, they're not going to change.
*SPOILER ALERT*
In fact, I'm
On Thu, Jun 19, 2008 at 7:02 PM, Russell Keith-Magee
<[EMAIL PROTECTED]> wrote:
> Short version:
See also long version: http://www.b-list.org/weblog/2007/nov/03/working-models/
If these functions were to change, Django itself would need to undergo
not-insignificant refactoring. And since such a
On Fri, Jun 20, 2008 at 7:06 AM, Beetle B. <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I needed a way to get a list of all models in a Django project.
>
> I was told in IRC that I can use get_models from django.db.models.
>
> I'm not sure this is documented in
Hi,
I needed a way to get a list of all models in a Django project.
I was told in IRC that I can use get_models from django.db.models.
I'm not sure this is documented in the docs. Is it "safe" to use (as
in this method and its behavior is not expected to change in the
future
10 matches
Mail list logo