- Django Serialize Dict Object Has No Attribute Meta Key
- Django Serialize Dict Object Has No Attribute Metals
- Django Serialize Dict Object Has No Attribute _meta
- Django Serialize Dict Object Has No Attribute Metallic
Opened 6 years ago
The serializer field might be named incorrectly and not match any attribute or key on the ManyRelatedManager instance. Original exception text was: 'ManyRelatedManager' object has no attribute 'skilltype'. And I don't really understand what I am doing wrong. SkillSerializer should have the attribute skilltype.
- Aug 19, 2011 The first parameter to RequestContext should always be the request, not the context dict. I don't think that has ever been different - see for example the class as of four years ago.
- Given the following model and serializer for a Django REST framework setup: #!/usr/bin/env python # -.- coding: utf-8 -.- from django.db import models class StationReport(models.Model): waterlevel = models.IntegerField(maxlength=5, blank=False) username = models.CharField(maxlength=256, blank=False) emailaddress = models.CharField(maxlength=256, blank=True) recordedat = models.
- Serializer is a subclass of Field so I think it is fair to assume a serializer can be used here. I have verified that that issue exists against the master branch of Django REST framework. I have searched for similar issues in both open and closed tickets and cannot find a duplicate. This is not a usage question.
Closed 6 years ago Torrent hyperspin full download.
Last modified 6 years ago
#24346closedBug (fixed)
Reported by: | Owned by: | ||
---|---|---|---|
Component: | Documentation | Version: | 1.8alpha1 |
Severity: | Release blocker | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Change History (8)
comment:1 Changed 6 years ago by
comment:2 Changed 6 years ago by
comment:3 Changed 6 years ago by
Django Serialize Dict Object Has No Attribute Meta Key
Severity: | Normal → Release blocker |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:4 Changed 6 years ago by
Django Serialize Dict Object Has No Attribute Metals
comment:5 Changed 6 years ago by
comment:6 Changed 6 years ago by
comment:7 Changed 6 years ago by
Django Serialize Dict Object Has No Attribute _meta
comment:8 Changed 6 years ago by
Django Serialize Dict Object Has No Attribute Metallic
Note: See TracTickets for help on using tickets.