#26819: Using a ArrayField on Meta.unique_together throws "unhashable type:
'list'"
on validate_unique method
----------------------------------+------------------------------------
Reporter: gleber-diniz | Owner: PREM1980
Type: Bug | Status: assigned
Component: contrib.postgres | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+------------------------------------
Comment (by gleber-diniz):
Replying to [comment:5 PREM1980]:
> (djangodev) prem-MBP:mysite premlaks$ python manage.py migrate
> SystemCheckError: System check identified some issues:
>
>
> {{{
> ERRORS:
> <class 'polls.admin.MapSpotInline'>: (admin.E202) 'polls.MapSpot' has no
ForeignKey to 'polls.Map'.
> polls.MapSpot.map: (fields.E300) Field defines a relation with model
'body.Map', which is either not installed, or is abstract.
> polls.MapSpot.map: (fields.E307) The field polls.MapSpot.map was
declared with a lazy reference to 'body.map', but app 'body' isn't
installed.
> }}}
You have to replace 'body.Map' with the app name you are using
('polls.Map' apparently)
--
Ticket URL: <https://code.djangoproject.com/ticket/26819#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.232bc429fd86efc65a881ff57d57e788%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.