> Den 6. okt. 2016 kl. 09.54 skrev Stefano Tranquillini > <stefano.tranquill...@gmail.com>: > > Hi all, > > I quickly skimmed into the group but i did not find an updated answer. > > what i want to do is to have a database for each user that register to my > service, the structure of the databse is the same for all, the data are just > separated. > I want to do this for two reasons: > - be able to move database of users from place to place > - be able to dump and restore single user databases
While your proposal is probably feasible, I would expect heavier arguments than the above to accept the added complexity and possible fighting with Django the get it to work. Unless you have clear technical or legal requirements that dictate separate databases, just write export and import scripts that know to do "WHERE user_id = XXX" on the relevant tables. Erik -- 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 https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5FDDA79F-D343-4B8E-A0A4-514B6E75115D%40cederstrand.dk. For more options, visit https://groups.google.com/d/optout.