Re: Is there a way to create a new database table other than model?

2010-11-23 Thread Li You
>> Because I want to save user's info about each game. And the best way >> is to save the info by each game. >> > > It sounds like you have some db modelling confusion here. > > Are you sure you don't just want a many-to-many between Game and User > with some data on an explicit through model "User

Re: how do i get access to json data?

2010-11-23 Thread Li You
sorry but a mistake. On Tue, Nov 23, 2010 at 10:01 PM, Li You wrote: > Maybe this is what you want: > > from json import JSONDecoder > s = '''{ >    "pk": 1, >    "model": "store.book", >    "fields":

Re: how do i get access to json data?

2010-11-23 Thread Li You
gt; But how do i get the "author": ["Douglas", "Adams"]? > I tried serveral options, but had no luck. > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send

Re: Is there a way to create a new database table other than model?

2010-11-23 Thread Li You
> You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. >

Re: Is there a way to create a new database table other than model?

2010-11-23 Thread Li You
eived this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, v