google-code-export / wadofstuff

Automatically exported from code.google.com/p/wadofstuff
1 stars 0 forks source link

extras not appearing #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have added the required code to settings and here is the code i'm using.

model code: http://dpaste.com/hold/139419/
view code: http://dpaste.com/hold/139421/

all other features are working except for extras? 

using Django 1.1.1

thanks 

Original issue reported on code.google.com by lim...@gmail.com on 30 Dec 2009 at 11:19

GoogleCodeExporter commented 9 years ago
Can you confirm that you can import wadofstuff.django.serializers.json?

$ python
Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from wadofstuff.django.serializers import json
>>> dir(json)
['Deserializer', 'DjangoJSONEncoder', 'JSONDeserializer', 'PythonSerializer',
'Serializer', '__builtins__', '__doc__', '__file__', '__name__', '__package__',
'simplejson']

Original comment by mattimus...@gmail.com on 30 Dec 2009 at 11:49

GoogleCodeExporter commented 9 years ago
[limeyd@MBPro server]$ ./manage.py shell
Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from wadofstuff.django.serializers import json
>>> dir(json)
['Deserializer', 'DjangoJSONEncoder', 'JSONDeserializer', 'PythonSerializer', 
'Serializer', 
'__builtins__', '__doc__', '__file__', '__name__', '__package__', 'simplejson']
>>> 

Original comment by lim...@gmail.com on 30 Dec 2009 at 11:52

GoogleCodeExporter commented 9 years ago
Hey I have found the issue, extras=('__unicode__',) I was missing a trailing 
comma.

Original comment by lim...@gmail.com on 31 Dec 2009 at 12:00

GoogleCodeExporter commented 9 years ago

Original comment by mattimus...@gmail.com on 31 Dec 2009 at 3:29