Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
course-discovery
Commits
ec3390e1
Commit
ec3390e1
authored
Nov 03, 2016
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Squashed migrations for the edx_haystack_extensions app
ECOM-6269
parent
bcb8aec5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
course_discovery/apps/edx_haystack_extensions/migrations/0001_squashed_0002_auto_20160826_1750.py
+29
-0
No files found.
course_discovery/apps/edx_haystack_extensions/migrations/0001_squashed_0002_auto_20160826_1750.py
0 → 100644
View file @
ec3390e1
# -*- coding: utf-8 -*-
# Generated by Django 1.9.10 on 2016-11-03 22:19
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
import
jsonfield.fields
class
Migration
(
migrations
.
Migration
):
replaces
=
[(
'edx_haystack_extensions'
,
'0001_initial'
),
(
'edx_haystack_extensions'
,
'0002_auto_20160826_1750'
)]
initial
=
True
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'ElasticsearchBoostConfig'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'function_score'
,
jsonfield
.
fields
.
JSONField
(
default
=
{
'boost'
:
1.0
,
'boost_mode'
:
'multiply'
,
'functions'
:
[],
'score_mode'
:
'multiply'
},
help_text
=
'JSON string containing an elasticsearch function score config.'
,
verbose_name
=
'Function Score'
)),
],
options
=
{
'abstract'
:
False
,
},
),
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment