What I understood reading custom-model-fields.html is that Field class only handle one column in database (db_type method returns a database type...). I first thought to inherit from TextField and build the name of the png file using a hash from the LaTeX string (so no need to store it in the database), or store a string made of concatenation of LaTeX string + url but I imagine that there must be a cleaner way to do it no?
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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 -~----------~----~----~----~------~----~------~--~---