Hi Guys, I have a model called Calculation, this model has fields that are calculated and saved to the database, this model also hold some common calculation functions.
I also have two other classes TrailerCalculation and TruckCalculation they both calculate values of the fields that will be saved to Calculation, they calculate same properties but in a different way. So i extended Calcution with TrailerCalculation and TruckCalculation. Is there some way that child classes don't need to be models even though they inherit a class that inherits a model.Models? I tried with class Meta: abstract = True but this gives me some kind of strange error. Best, Domagoj -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8009d592-ea63-44a8-943b-d3c83e576a54%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.

