Hi all,
I would like to make my code more compact and DRY, and for that
purpose I need to create a new field that includes two or more
existing models fields (eg. a CharField, a DateField).
Is there anything easier than inheriting from both classes and
following 
http://docs.djangoproject.com/en/1.2/howto/custom-model-fields/#howto-custom-model-fields
instructions?
Can anybody share his or her experience on this?
Thanks in advance!
Marc

-- 
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.

Reply via email to