Re: Django models and different types
Apologies got the groups confused. -- Mike -- * * *Tradepage, now part of the Cloud Group, is an Authorised Google Apps for Business Reseller. For only R450 per user per year, get Business Email, Calendars, Documents, syncing with mobile devices and much more. Find out more: http://www.tradepage.co.za/google-apps-for-business* This email and all contents are subject to the following disclaimer: http://www.tradepage.co.za/disclaimer -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
Re: Django models and different types
Please ask questions about using Django on django-users. The topic of this list is the development of Django itself. Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
Django models and different types
Hi, Looking for some ideas around a type / conversion matching issue I'm having with a big django model. The model has tons of variables, and all being of different types (int, nullbool, date, datetime, string). I'm trying to pass data from a different database into the django model, but the other DB passes the info to me as string. I don't really want to do type conversions for each and every field, there are around 180 odd. Is there not some sort of function that be used to automatically for the conversion? Any ideas? -- Mike -- * * *Tradepage, now part of the Cloud Group, is an Authorised Google Apps for Business Reseller. For only R450 per user per year, get Business Email, Calendars, Documents, syncing with mobile devices and much more. Find out more: http://www.tradepage.co.za/google-apps-for-business* This email and all contents are subject to the following disclaimer: http://www.tradepage.co.za/disclaimer -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.