Maybe I found the offending command!! Here is what I wrote:
# T is some model in my model.py opts = T._meta fields = opts.fields fields.extend(opts.many_to_many) ... This is awful! I'm erroneously modifying the fields value of my model! E. On 13 Mag, 23:45, "?manu*" <emanuele.paol...@gmail.com> wrote: > Dear experts, > > today I was inspecting the ManyToMany relations in the _meta subclass > of a Model class of my database. At some time I realized that all data > associated to such relations was lost in the database! The > corresponding tables are empty. Other fields and relations are ok. > > I suspect I have issued some command (working from the shell issued > with manage.py) which erased the field form the data model and > consequently all the corresponding data has been deleted. Can you > imagine what kind of action may have I done? > > I suspect there is no way to recover the lost data, apart from backup > isn't it? (the database engine is mysql). > > Today I'm very sad... > > Thank you in advance for any suggestion. > > E. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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.