Created
January 3, 2010 17:58
-
-
Save bmihelac/268059 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> 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