L
Pieces of source code
(complete list)
(complete list)
xapian engine problems with apache and mod_python
Seems there are some problems using the xapian python bindings with apache and mod_python.
Get the code!
Traza de error para añadir eventos
AttributeError at /admin/generic_proto/meetingevent/add/
'NoneType' object has no attribute 'slug'
Request Method: POST
Request URL: http://127.0.0.1:8000/admin/generic_proto/meetingevent/add/
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'slug'
Exception Location: /home/rclozano/Desarrollo/c23/dev/zero14/Zero14/../Zero14/generic_proto/c23.py in get_item_full_path, line 194
Python Executable: /usr/bin/python
Python Version: 2.5.2
Python Path: ['/home/rclozano/Desarrollo/c23/dev/zero14/Zero14', '/usr/lib/python25.zip', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/site-packages/gst-0.10', '/var/lib/python-support/python2.5', '/usr/lib/python2.5/site-packages/gtk-2.0', '/var/lib/python-support/python2.5/gtk-2.0', '/usr/lib/site-python']
Server time: vie, 21 Nov 2008 13:05:07 +0100
Get the code!
get_children_dict_from_object
Saca un listado de los hijos de un objeto
en un diccionario de listas
{'events': [event_obj, event_obj], 'pages': [page_obj, page_obj], etc}
Get the code!
mailto: link parser
This is a little snippet that gets an url, parses its contents and return the html code with email addresses masked as user _at_ domain _dot_ ext.
Get the code!
UTC clock
Some kind of a UTC time clock, you can call this script from a shell, with a big font on it, transparent background (if you are in X11), and et voila! you are done.
Get the code!
dirty solution for the modelform problem
please, do not look in deep, this is a dirty hack!
Get the code!