mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Added HStoreField.
Thanks to `django-hstore` for inspiration in some areas, and many people for reviews.
This commit is contained in:
parent
5c517ec218
commit
36f514f065
22 changed files with 864 additions and 6 deletions
15
tests/postgres_tests/migrations/0001_setup_extensions.py
Normal file
15
tests/postgres_tests/migrations/0001_setup_extensions.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.contrib.postgres.operations import HStoreExtension
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
HStoreExtension(),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue