Creating a table per user is definitely going against the grain in a 
relational database world.  You'll be much happier with one table to 
store the data across users, with a foreign key to the users table to 
keep everything straight.

--Ned.
http://nedbatchelder.com

MickaelC wrote:
> It is not really a problem
> It's for a multi user app. For each new users, i create a serie table
> or all data in the same table?
> If it's easy to create table on-the-fly when a new user registers, i
> prefere.
>
> but I do not see how
>
> MickaelC
> (Désolé for my English)
>
> On 22 juin, 14:07, Christian Joergensen <[EMAIL PROTECTED]> wrote:
>   
>> MickaelC wrote:
>>     
>>> Hi,
>>> It is a method to add tables to a model without having to manually
>>> launch the syncdb command in a shell?
>>>       
>>> If yes
>>>     can you give me tips ?
>>> else
>>>     :-(
>>>       
>> What problem are you trying to solve? This really doesn't sound like a
>> common Django idiom.
>>
>> If you insist, you could probably do (using 0.96):
>>
>>    from django.core.management import syncdb
>>    syncdb()
>>
>> Regards,
>>
>> --
>> Christian Joergensenhttp://www.technobabble.dk
>>     
> >
>
>
>   

-- 
Ned Batchelder, http://nedbatchelder.com


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to