On May 27, 6:11 pm, Alex Gaynor wrote:
> On Wed, May 27, 2009 at 4:07 PM, MartinBorthiry
> wrote:
>
>
>
>
>
> > Hello,
>
> > I have this model with a manyToMany relationship:
>
> > class Group(BaseClass):
> > ...
> > members
Hello,
I have this model with a manyToMany relationship:
class Group(BaseClass):
...
members = models.ManyToManyField
(Client ,through='Membership',related_name="members"
, blank=True)
.
class Membership(BaseClass):
client = models.Forei
Hello:
We are using django-evolution to sync our model with the db, but we
have some issues.
Which is the best way to keep synchronized our model and db?
We want to keep the previous data into db.
Thanks
--~--~-~--~~~---~--~~
You received this message because
> > I'm Trying to serialize a dict which have a list of Model's instance.
> > The format that i need is json. Something like that:
>
> > people = Person.objects.all()
> > res = {'res':0, 'msg':'Ok','data': people}
>
> > but, i need that result:
> > {'res':0, 'msg':'
Hello:
I'm Trying to serialize a dict which have a list of Model's instance.
The format that i need is json. Something like that:
people = Person.objects.all()
res = {'res':0, 'msg':'Ok','data': people}
but, i need that result:
{'res':0, 'msg':'Ok','data': [{'id':1
> > 1/ Using the i18n internationalization module, I would like to combine
> > the translation with pluralize and capfirst filters. I know I’m a
> > crazy dog.
>
> > {% trans 'tag' %}{{ tag_list|pluralize }}
> > => All right, everything is ok.
>
> > But now, how can I specify the capfirst facili
6 matches
Mail list logo