Blogspot - zebert.blogspot.com - Paste here

Latest News:

Clean up trailing whitespaces in sources 3 Jun 2009 | 02:52 am

My editor (emacs) is configured to remove trailing whitespaces in python files when I save them. This way I never commit modifications related to whitespaces changes, making the diffs readable since t...

Installing Django, Solr, Varnish and Supervisord with Buildout 30 May 2009 | 12:54 am

Here I'll detail my buildout configuration for an install of Django, Solr (http search server, ), Varnish (http cache), and supervisord for controling solr and varnish. I'll show how to get a Debian i...

django-cachepurge 0.1a 26 May 2009 | 03:30 am

I have released django-cachepurge 0.1a. It is available as an egg for an easy installation with buildout or virtualenv+easy_install, for example. This package allows django to purge HTTP cache when a...

Defining and accessing macros located in browser:page template 11 Feb 2009 | 02:29 am

The case: I want to define a simple browser page (let's name it "mypage") for a page template where I defined some metal macros (in my case it is a template for an archetypes field). My product does n...

Useful script in a plone developer toolbox 21 Jan 2009 | 11:30 pm

Sometimes something weird happen on the production site and you have to investigate on data from that site because you can't reproduce the problem on development site. When it's really hard you have t...

Profiling made easy 3 Jan 2009 | 03:00 am

Recently I had to profile some pages on a Plone 2.5 (zope 2.9). I collected some datas on interesting pages with the help of the well-known ZopeProfiler 1.7.2 but I had to patch it to avoid an error: ...

GenericSetup and dependence on circular dependencies problem 2 Jan 2009 | 11:52 pm

As of Plone 3.1.6 there is a problem with import step dependencies: if you register a custom import step through zcml, and if this step depends on "portlets", "content" or "plone-final", then your imp...

Managing Apache virtualhosts and squid with iw.recipe.squid 5 Dec 2008 | 12:59 am

I have a number of plone sites on a server, generally one site is associated with one zope instance. I am using buildout and iw.recipe.squid to add easily a new virtualhost with squid proxying. Im my ...

How to change add permision of another product content 17 Oct 2008 | 04:21 am

In a customer project I have had to use CalendarX. CalendarX uses "Add portal content" for content add permission. But they wanted that only "Manager" be able to add a calendar. I could have gone stra...

iw.eggproxy 0.2.0 22 Sep 2008 | 09:08 pm

We have released iw.eggproxy 0.2.0. Bugs fixed: package index/download files: skip modules installed in local system (resulted in copying a directory instead of downloading a file) update script cra...

Recently parsed news:

Recent searches: