Add pref_branch fixes #244
This commit is contained in:
Родитель
5da9d3e926
Коммит
9cb3e72abd
|
@ -81,6 +81,7 @@ class ExperimentAdmin(admin.ModelAdmin):
|
|||
'slug',
|
||||
'pref_key',
|
||||
'pref_type',
|
||||
'pref_branch',
|
||||
'firefox_channel',
|
||||
'firefox_version',
|
||||
'population_percent',
|
||||
|
|
|
@ -90,7 +90,11 @@ class Experiment(models.Model):
|
|||
max_length=255,
|
||||
choices=PREF_TYPE_CHOICES,
|
||||
)
|
||||
pref_branch = models.CharField(max_length=255, choices=PREF_BRANCH_CHOICES)
|
||||
pref_branch = models.CharField(
|
||||
max_length=255,
|
||||
choices=PREF_BRANCH_CHOICES,
|
||||
default=PREF_BRANCH_DEFAULT,
|
||||
)
|
||||
firefox_version = models.CharField(max_length=255)
|
||||
firefox_channel = models.CharField(
|
||||
max_length=255, choices=CHANNEL_CHOICES, default=CHANNEL_NIGHTLY)
|
||||
|
|
|
@ -59,6 +59,7 @@ class ExperimentSerializer(serializers.ModelSerializer):
|
|||
'pref_branch',
|
||||
'pref_key',
|
||||
'pref_type',
|
||||
'pref_branch',
|
||||
'project_name',
|
||||
'project_slug',
|
||||
'reject_url',
|
||||
|
|
Загрузка…
Ссылка в новой задаче