Actions
Recent Pastes
forget about it (Wu septiembre 02, 2010 at 18:04)
a traceback of a django error (Wu agosto 20, 2010 at 17:54)
some magic ACL code (Wu agosto 17, 2010 at 17:45)
some django models diff (Wu agosto 16, 2010 at 18:39)
some django-south tests (Wu agosto 16, 2010 at 18:42)
django add/edit revisited (Wu agosto 13, 2010 at 10:39)
django edd/edit (rsk agosto 13, 2010 at 10:40)
django model revisited (Wu agosto 12, 2010 at 20:15)
django (rs agosto 12, 2010 at 20:02)
rebuilding a GEOM mirror (Wu agosto 12, 2010 at 17:53)
About
This is the paste site from e-shell.org, my personal website. It is an instance of the CodeSharingZ Zope Product (just take a look at http://zopecode.codigo23.net/wiki/CodeSharingZ to learn more about it). Feel free to paste whatever you want, but notice that all the pastes in here are deleted in a regular basis.
Links
L Pieces of source code
(complete list)
Total 157 pastes: 0 30 60 90 120 150

little script for ftp testing

Get the code!
Pasted by Wu
abril 28, 2009 at 12:53
Lang: python
(129 lines of code)

Django (y III)

Error de validacion (y III)
Get the code!
Pasted by Roberto
abril 21, 2009 at 13:29
Lang: python
(54 lines of code)

Django (y II)

Error de validacion (y II)
Get the code!
Pasted by Roberto
abril 21, 2009 at 13:02
Lang: python
(56 lines of code)

ZODB catalog query (filter by path)

Get the code!
Pasted by Wu
abril 16, 2009 at 13:58
Lang: python
(11 lines of code)

ZODB catalog query

Get the code!
Pasted by Wu
abril 16, 2009 at 12:28
Lang: python
(10 lines of code)

GET form

Formulario con GET
Get the code!
Pasted by pAvL0
abril 06, 2009 at 19:38
Lang: python
(25 lines of code)

Alternativa de lex/views -> register

Get the code!
Pasted by Roberto
marzo 06, 2009 at 14:40
Lang: python
(6 lines of code)

register @ socialize/views

Get the code!
Pasted by Roberto
marzo 06, 2009 at 13:21
Lang: python
(46 lines of code)

register @ lex/views

Get the code!
Pasted by Roberto
marzo 06, 2009 at 13:51
Lang: python
(6 lines of code)

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!
Pasted by Wu
febrero 04, 2009 at 13:44
Lang: python
(49 lines of code)

testing djapian/xapian in Zero14 using a shell

Get the code!
Pasted by Wu
enero 21, 2009 at 17:47
Lang: python
(6 lines of code)

accessing specific data

Get the code!
Pasted by saad
enero 15, 2009 at 11:37
Lang: python
(2 lines of code)

a django-profile definition

Get the code!
Pasted by Wu
enero 13, 2009 at 11:58
Lang: python
(198 lines of code)

Zero14 settings.py

Get the code!
Pasted by Wu
diciembre 17, 2008 at 10:33
Lang: python
(115 lines of code)

jquery File Tree Django connector

El "conector" Django que usa jQuery File Tree
Get the code!
Pasted by Roberto
diciembre 11, 2008 at 13:25
Lang: python
(49 lines of code)

problema con bsddb

Get the code!
Pasted by r0sk
diciembre 11, 2008 at 11:29
Lang: python
(19 lines of code)

Traza de error para añadir eventos

Get the code!
Pasted by Roberto
noviembre 21, 2008 at 18:03
Lang: python
(58 lines of 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!
Pasted by Roberto
noviembre 21, 2008 at 13:08
Lang: python
(48 lines of code)

recursive search over a tree (II)

This one works fine!
Get the code!
Pasted by Wu
noviembre 19, 2008 at 11:52
Lang: python
(18 lines of code)

recursive search over a tree

Get the code!
Pasted by Wu
noviembre 19, 2008 at 11:41
Lang: python
(18 lines of 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!
Pasted by Roberto
noviembre 18, 2008 at 17:36
Lang: python
(15 lines of code)

Error de syncdb

Error al hacer manage.py syncdb con la r26 de Zero14
Get the code!
Pasted by Roberto
noviembre 11, 2008 at 19:13
Lang: python
(38 lines of code)

phpmail

muerte a Hotmail
Get the code!
Pasted by pAvL0
noviembre 10, 2008 at 19:44
Lang: python
(30 lines of code)

django and generic relations

Get the code!
Pasted by Wu
octubre 23, 2008 at 20:03
Lang: python
(30 lines of code)

models from an app i'm working on

Get the code!
Pasted by Wu
octubre 22, 2008 at 00:27
Lang: python
(82 lines of code)

Otra vista de lo mismo

Get the code!
Pasted by Roberto
septiembre 23, 2008 at 19:00
Lang: python
(32 lines of code)

hotshot desde la shell de Django

Get the code!
Pasted by Roberto
septiembre 23, 2008 at 19:57
Lang: python
(28 lines of 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!
Pasted by Wu
agosto 22, 2008 at 11:04
Lang: python
(34 lines of 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!
Pasted by Wu
julio 31, 2008 at 11:54
Lang: python
(8 lines of code)

dirty solution for the modelform problem

please, do not look in deep, this is a dirty hack!
Get the code!
Pasted by Wu
julio 30, 2008 at 10:27
Lang: python
(65 lines of code)
Total 157 pastes: 0 30 60 90 120 150