Vinay Sajip
2008-11-15 12:27:49 UTC
Re. the recent post by Jacob Kaplan-Moss on Django 1.1 features and
votes:
ORM-23 gets a +1 from me. Jacob has given it a -0 and a comment "A
huge can of worms. Some really awesome benefits come out of this, but
so far everyone who's tried to make this work has failed. Until
there's an actual implementation that works (even mostly), I'll
probably just ignore."
I've maintained a patch on #3591 which has been working as regards the
terms of reference of the original ticket: the ability to specify
app_label and a verbose name, using the app() object approach
originally suggested by Joseph Kocherhans. I've kept the patch updated
since early May 2007 and through the 1.0 milestone, and AFAIK it still
passes all tests (runtests.py).
Anecdotally (and for whatever it's worth - I do realise the
limitations of anecdotes), people who have installed the patch have
reported that "it just works". In what respect does the patch not
work, mostly or otherwise? I'd welcome some specific criticism which
helps to improve the patch.
made to the Django source in implementing this patch was to change
references to "settings.INSTALLED_APPS" to "get_installed_app_paths
()". This is because settings.INSTALLED_APPS in the pre-patch world is
a list of paths, whereas in the post-patch world it's a list of app()
instances. The get_installed_app_paths() function just returns the
list of paths.
I am very willing to do further work on the patch/this feature as long
as I understand what's expected of it by the committers. What, in your
view, are the requirements that the current #3591 patch does not meet?
Let's remember "Explicit is better than implicit", by which I mean: I
believe that the patch addresses the requirements mentioned in the
ticket. Other requirements may be there in the committers' and other
people's heads (implicit), and I am just asking for those requirements
to be spelled out explicitly.
Thanks,
Vinay Sajip
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django developers" group.
To post to this group, send email to django-developers-/***@public.gmane.org
To unsubscribe from this group, send email to django-developers+unsubscribe-/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---
votes:
ORM-23 gets a +1 from me. Jacob has given it a -0 and a comment "A
huge can of worms. Some really awesome benefits come out of this, but
so far everyone who's tried to make this work has failed. Until
there's an actual implementation that works (even mostly), I'll
probably just ignore."
I've maintained a patch on #3591 which has been working as regards the
terms of reference of the original ticket: the ability to specify
app_label and a verbose name, using the app() object approach
originally suggested by Joseph Kocherhans. I've kept the patch updated
since early May 2007 and through the 1.0 milestone, and AFAIK it still
passes all tests (runtests.py).
Anecdotally (and for whatever it's worth - I do realise the
limitations of anecdotes), people who have installed the patch have
reported that "it just works". In what respect does the patch not
work, mostly or otherwise? I'd welcome some specific criticism which
helps to improve the patch.
From my experience, I don't find it such a big can of worms, at least
as far as the original requirements go. The majority of the changes Imade to the Django source in implementing this patch was to change
references to "settings.INSTALLED_APPS" to "get_installed_app_paths
()". This is because settings.INSTALLED_APPS in the pre-patch world is
a list of paths, whereas in the post-patch world it's a list of app()
instances. The get_installed_app_paths() function just returns the
list of paths.
I am very willing to do further work on the patch/this feature as long
as I understand what's expected of it by the committers. What, in your
view, are the requirements that the current #3591 patch does not meet?
Let's remember "Explicit is better than implicit", by which I mean: I
believe that the patch addresses the requirements mentioned in the
ticket. Other requirements may be there in the committers' and other
people's heads (implicit), and I am just asking for those requirements
to be spelled out explicitly.
Thanks,
Vinay Sajip
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django developers" group.
To post to this group, send email to django-developers-/***@public.gmane.org
To unsubscribe from this group, send email to django-developers+unsubscribe-/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---