Re: Dynamic Model and ModelAdmin based on tables in db

2010-04-30 Thread akonsu
hello, may be this will be useful: http://code.djangoproject.com/wiki/DynamicModels On Apr 22, 5:53 am, Massimiliano della Rovere wrote: > An external process creates tables whose names follow the pattern > "collector_XYZ"; all the tables will have the very same structure. > > For each table I n

Dynamic Model and ModelAdmin based on tables in db

2010-04-22 Thread Massimiliano della Rovere
An external process creates tables whose names follow the pattern "collector_XYZ"; all the tables will have the very same structure. For each table I need to create a matching django.db.models.Model and django.admin.models.ModelAdmin, dynamically, because over time new tables will be created and I