--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Colin,You might be interested in https://github.com/tomchristie/django-rest-framework/issues/1005It looks similar to your current issue.Regards,Xavier,Linovia.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
class Game(models.Model): player = models.ForeignKey(place, null=True, blank=True, verbose_name="place") ground = models.ForeignKey(country, null=True, blank=True, verbose_name="place") total_score = models.ForeignKey(score, null=True, blank=True, verbose_name="place") class Place(Time): child = models.CharField(max_length=100, blank=True, verbose_name="child", db_index=True) class country(Time): child = models.CharField(max_length=100, blank=True, verbose_name="country", db_index=True) class Time (models.Model): time = models.CharField(max_length=100, null=True, blank=True, verbose_name="time")
class Meta:
ordering = ['dateAdded']
Doing it via SerializerMethodField may not be the best solution, as you will be firing additional queries to the database for each Wall.
--
You received this message because you are subscribed to a topic in the Google Groups "Django REST framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-rest-framework/L9aXnwS4AQw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-rest-fram...@googlegroups.com.