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

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 <vbs0...@gmail.com> 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
email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Best Regards! Li You University of Science an

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

2010-11-23 Thread Li You
ango-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Best Regards! Li You University of Science and Technology of China -- You received this message because you are subscribed to the Google Groups &quo

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

2010-11-23 Thread Li You
-users?hl=en. >> > > -- > 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+unsubs