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 the song. I will have to do that often, each time I add a new song. If I use fixture, I would have to modify or create the instances 'outside' the application, and use loaddata afterwards. Isn't there an easier, more direct way to do this? Or perhaps, I didn't quite understand what you meant by that? Le mardi 20 mai 2014 17:32:19 UTC+2, Venkatraman.S. a écrit : > > > https://docs.djangoproject.com/en/dev/howto/initial-data/ > > -V > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ffcb89bd-74a4-410b-b886-884c1cb920c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.