Re: function to create objects in a given model

2014-05-21 Thread Chansons
p://www.jetbrains.com/pycharm/ > "Develop with pleasure!" > > > >-Original Message- > >From: django...@googlegroups.com > >[mailto:django...@googlegroups.com ] On Behalf Of Chansons > >Sent: Tuesday, May 20, 2014 7:10 PM > >To: django

website statistics

2014-05-21 Thread Chansons
Hello, looking on the web, I didn't find any website statistics script written with python, or django. If some exist, where could I find them, and if not, what do I need to know to write my own? Thanks -- You received this message because you are subscribed to the Google Groups "Django users

Re: function to create objects in a given model

2014-05-20 Thread Chansons
Hello, thanks for your answer, I knew about fixtures, but I'm not sure it's really adapted to what I need. Adding or modifying those instances of a model will depend on a precise instance of another model: when I create a song, I also want to find in the existing glossary / or add the words of

function to create objects in a given model

2014-05-20 Thread Chansons
Hello everybody, I'm new to django, and writing my first app, I have a question before deploying it. I need to have a function that would create or modify, according to a few rules and a precise instance of a model (Song), many instances of another model (Words) at once. Writing that function