On Thursday, February 20, 2014 6:23:27 PM UTC-4:30, Antonio Villavicencio
wrote:
>
> I am trying just to do an API REST with the project of:
> https://docs.djangoproject.com/en/dev/intro/tutorial01/
>
> specifically with the model of Question
>
> class Question(models.Model):
> question_text
It appears that you're using the Django Rest Framework, and if that's the
case then you need to reference the section on serializer relations:
http://www.django-rest-framework.org/api-guide/relations
On Thu, Feb 20, 2014 at 3:53 PM, Antonio Villavicencio wrote:
> I am trying
I am trying just to do an API REST with the project of:
https://docs.djangoproject.com/en/dev/intro/tutorial01/
specifically with the model of Question
class Question(models.Model):
question_text = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
class
3 matches
Mail list logo