On Sunday 21 February 2010 16:16:56 Amps wrote: > ok i had read, but was unclear ... ok, now , i am not using admin > module. > but can we create a model in model.py which doesnt reflect any table/ > columns in the database, but should reflect a report columns. AFAIK no.
A practical approach could be to create a normal model that points to a normal table and then save your analytic data on it. It doesn't matter whether the data is coming from a Queryset or raw SQL, you can MyModel.objects.create(**my_data) as long as you create a my_data dict for each entry. (you don't even have to save via ORM, but it's safer) Perhaps we can help better if you tell us what **exactly** you are trying to achieve and why you need a tableless model. -- Saygılarımla, Atamert Ölçgen -+- --+ +++ www.muhuk.com mu...@jabber.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.