I am trying to use use a hCalendar model from django-microformats as the base class for events in my own app,
microformat.models.py class hCalendar(LocationAwareMicroformat): ... class Meta: abstract = True web.models.py class Event(hCalendar): owner = models.ForeignKey(Account) created = models.DateTimeField(default=datetime.now) last_update = models.DateTimeField(auto_now = True) It doesn't seem to want to recognise the abstract = True, or is the problem with multi-inheritance? The table generated is: CREATE TABLE `web_event` ( `hcalendar_ptr_id` int(11) NOT NULL, `owner_id` int(11) NOT NULL, `created` datetime NOT NULL, `last_update` datetime NOT NULL, PRIMARY KEY (`hcalendar_ptr_id`), KEY `web_event_owner_id` (`owner_id`), CONSTRAINT `owner_id_refs_id_3952a136` FOREIGN KEY (`owner_id`) REFERENCES `web_account` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin Is this expected behaviour? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---