Skip to content

Instantly share code, notes, and snippets.

@bmihelac
Created January 3, 2010 17:58
Show Gist options
  • Save bmihelac/268059 to your computer and use it in GitHub Desktop.
Save bmihelac/268059 to your computer and use it in GitHub Desktop.
>>> from feincms.models import ContentProxy
>>> from copy import deepcopy
>>> from feincms.module.page.models import Page
>>> p=Page.objects.all()[0]
>>> cp=ContentProxy(p)
>>> deepcopy(cp)
------------------------------------------------------------
Traceback (most recent call last):
File "<ipython console>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.py", line 188, in deepcopy
rv = reductor(2)
TypeError: 'list' object is not callable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment