#25454: Problem using HStoreField in django shell
----------------------------------+--------------------------------------
Reporter: reichert | Owner:
Type: Bug | Status: closed
Component: contrib.postgres | Version: 1.8
Severity: Normal | Resolution: needsinfo
Keywords: hstorefield | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Changes (by charettes):
* status: new => closed
* needs_better_patch: => 0
* resolution: => needsinfo
* needs_tests: => 0
* needs_docs: => 0
Comment:
Hi reichert,
It looks like `django.contrib.postresql.apps.PostgresConfig.ready` which
is supposed to deal with `register_hstore` is never called.
From what I can see you reproduced using an iPython shell, was it lauched
using `manage.py shell` and if it's not the case did you make sure to call
`django.setup()` to make sure all apps were initialized?
--
Ticket URL: <https://code.djangoproject.com/ticket/25454#comment:1>
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/066.09dc2266fbd6f67967f6937f84ceeb09%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.