Archive for the 'Django' Category
Friday, July 13th, 2007
This is of course pretty controversial stuff, and in all honesty, Arlo only has his own data and the feedback of 6 teams that tried it as supporting evidence that it works. Of the 6 teams, all had productivity boosts. 4 teams continued, 2 stopped. The reasons why they stopped was interesting, though: they liked specializations, and were happy with slightly less productivity.
(more…)
Posted in Exoweb, Python, FOSS, Django, Programming | 3 Comments »
Friday, July 13th, 2007
The final practice Arlo described was team-owned tasks. Avoiding assigning tasks to people is very important to encourage team responsibility, which leads to team accountability, which is a necessary requisite to building strong self-organizing teams.
(more…)
Posted in Exoweb, Python, FOSS, Django, Programming | 4 Comments »
Friday, July 13th, 2007
Another question they had was:
- Who should do which tasks?
The normal approach is to put the most qualified implementor on a task. Naturally, that should ensure the task got done faster and better, right? Well, just to see how it worked, they once tried the exact opposite: putting the least qualified implementor on a task. Again, what they found was astonishing.
(more…)
Posted in Exoweb, Python, FOSS, Django, Programming | 4 Comments »
Friday, July 13th, 2007
Arlo’s team wanted to be extreme, and they started with one of the XP practices, pair programming. Going extreme meant that they would pair program all the time. No code produced by a single person was allowed to be checked into the repository.
But, pair programming is also a pretty new and relatively undefined practice. There were still a lot of questions open, among them:
Posted in Exoweb, Python, FOSS, Django, Programming | 4 Comments »
Friday, July 13th, 2007
The most interesting and eye-opening talks at EuroPython 2007 were probably Arlo Belshee’s talks on agile methodologies and his team’s experiments and results in that regard. The following blog posts summarizes what I learned from listening to his talks, doing his XP workshop, discussions with him, and digging up related information on the web (such as a paper and a podcast). I strongly believe this could be the next phase in how we develop software, and I hope I’ll be able to whet your aptetite for change as well
(more…)
Posted in Exoweb, Python, Lifehacking, Django, Programming | 4 Comments »
Thursday, June 21st, 2007
Some cool REST links I’ve come across lately:
Posted in Exoweb, Python, Django, Programming | 1 Comment »
Tuesday, March 20th, 2007
I caught this very interesting announcement on the Django Developer group:

I like Django, and my unique experience having grown up in a fishing village should make the ideal candidate! If it wasn’t for the fact that I hate cod…
I wasn’t expecting to see Google go so far as to branch into seafood. No industry is safe anymore…
(more…)
Posted in Exoweb, Python, FOSS, Django, Programming, Fun | No Comments »
Friday, December 8th, 2006
In liu of a real fulltext search engine for Django, you may just want to use the same simple
search engine that Django’s admin uses. Unfortunately it’s not readily reusable, so you’ll have
to pull it out of the ChangeList.getqueryset
in django.contrib.admin.views.main.
def django_admin_keyword_search(model, keywords):
"""Search according to fields defined in Admin’s search_fields"""
if not keywords: return []
fields = model._meta.admin.search_fields
qs = QuerySet(model)
for keyword in keywords:
or_queries = [ Q(**{‘%s__icontains’ % field: keyword}) for field in fields ]
other_qs = QuerySet(model)
if qs._select_related:
other_qs = other_qs.select_related()
other_qs = other_qs.filter(reduce(operator.or_, or_queries))
qs = qs & other_qs
return qs
Posted in Exoweb, Python, FOSS, Django, Programming | 1 Comment »
Sunday, December 3rd, 2006
Django’s urlpatterns variable has traditionally expected callbacks to be specified as strings,
and extra arguments (commonly used with generic views) to be passed as a separate dict, for example:
info_dict = {
‘queryset’: Entry.objects.all(),
‘date_field’: ‘pub_date’,
}
urlpatterns = patterns(‘django.views.generic.date_based’,
(r‘^(?P<year>\d{4})/$’, ‘archive_year’, info_dict),
)
(more…)
Posted in Exoweb, Python, FOSS, Django, Programming | No Comments »