Re: "Dynamyc" modells

2012-03-15 Thread Juergen Schackmann
hi guys, django-dynamo https://bitbucket.org/schacki/django-dynamo will let users create models dynamically on the fly through the admin. maybe this helps. regards, juergen Am Dienstag, 13. März 2012 08:48:03 UTC+1 schrieb airween: > > hi, > > On Mon, Mar 12, 2012 at 09:51:43PM -0400, Dennis Lee

Re: "Dynamyc" modells

2012-03-13 Thread Andre Terra
This is so not what Django was built to do... I have a feeling that if you ever do manage to write it, it's going to be slower than slow and error prone... Sincerely, AT On Tue, Mar 13, 2012 at 4:59 AM, Ervin Hegedüs wrote: > hello, > > On Tue, Mar 13, 2012 at 09:38:34AM

Re: "Dynamyc" modells

2012-03-13 Thread Ervin Hegedüs
hello, On Tue, Mar 13, 2012 at 09:38:34AM +0200, Jani Tiainen wrote: > Ultimate solution sounds more like using document oriented > databases, like CouchDB or MongoDB. (Just the few I happened to > remember). okay, lets look an another example: I have a model, which describes RDBMS

Re: "Dynamyc" modells

2012-03-13 Thread Ervin Hegedüs
hi, On Mon, Mar 12, 2012 at 09:51:43PM -0400, Dennis Lee Bieber wrote: > On Mon, 12 Mar 2012 22:14:27 +0100, Ervin Hegedüs > declaimed the following in gmane.comp.python.django.user: > > > > Some promotion has few millions of records, different promotions have > > different

Re: "Dynamyc" modells

2012-03-13 Thread Jani Tiainen
13.3.2012 3:51, Dennis Lee Bieber kirjoitti: On Mon, 12 Mar 2012 22:14:27 +0100, Ervin Hegedüs declaimed the following in gmane.comp.python.django.user: Some promotion has few millions of records, different promotions have different format of codes, ... And general: I'm

Re: "Dynamyc" modells

2012-03-12 Thread Ervin Hegedüs
Hello, 2012.03.12. 20:48, "Shawn Milochik" ezt írta: > > On 03/12/2012 03:34 PM, Ervin Hegedüs wrote: >> >> The main problem is the PromoList is _dynamyc_ - it means all >> administrator on admin site should add new PromoList, without me >> :), so I can't derivate all

Re: "Dynamyc" modells

2012-03-12 Thread Shawn Milochik
On 03/12/2012 03:34 PM, Ervin Hegedüs wrote: The main problem is the PromoList is _dynamyc_ - it means all administrator on admin site should add new PromoList, without me :), so I can't derivate all subclass in code... You can't dynamically create database tables on the fly. That would

Re: "Dynamyc" modells

2012-03-12 Thread Ervin Hegedüs
Hello, thanks for the reply. On Mon, Mar 12, 2012 at 03:20:10PM -0400, Shawn Milochik wrote: > First, I would avoid using the word 'list' for describing anything > in your own data, since it's a Python built-in. Maybe CodeList or > PromoList or something, if they're going to be promotion codes.

Re: "Dynamyc" modells

2012-03-12 Thread Shawn Milochik
First, I would avoid using the word 'list' for describing anything in your own data, since it's a Python built-in. Maybe CodeList or PromoList or something, if they're going to be promotion codes. Or maybe just Promo, since a model should be a singular name, and each instance of your model

"Dynamyc" modells

2012-03-12 Thread airween
Hello, I don't know how can I tell you my question :) There are many lists - lists contains items (in this case those items are promotion codes for marketing agencies, but it doesn't matter). I need (I want) to store every lists in different table. I can make a List model, which describes name