On Tue, Aug 24, 2010 at 3:24 PM, Rick <r.dane1...@gmail.com> wrote: > Thanks.. I have heard why this might not be a good idea, I think, but > if I don't use something like this then I have to just rewrite the > same code many times, I guess I could just write a macro to generate > the code for different modelnames, maybe thats the best approach >
No, I think your first approach was a better idea. Check out: http://docs.djangoproject.com/en/dev/ref/contrib/contenttypes/#methods-on-contenttype-instancesfor some routines to help achieve what you were originally looking for, I think. Karen -- http://tracey.org/kmt/ -- 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.