7

Renames the module from ‘personalisation’ to ‘wagtail_personalisation’

This commit is contained in:
Jasper Berghoef
2017-05-26 16:18:17 +02:00
committed by Michael van Tellingen
parent 5f1c52c93c
commit ebde527ae9
56 changed files with 51 additions and 51 deletions

View File

@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-04-20 15:47
from __future__ import unicode_literals
import django.db.models.deletion
import modelcluster.fields
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('wagtail_personalisation', '0007_dayrule'),
]
operations = [
migrations.CreateModel(
name='DeviceRule',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('mobile', models.BooleanField(default=False, verbose_name='Mobile phone')),
('tablet', models.BooleanField(default=False, verbose_name='Tablet')),
('desktop', models.BooleanField(default=False, verbose_name='Desktop')),
('segment', modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='wagtail_personalisation_devicerule_related', related_query_name='wagtail_personalisation_devicerules', to='wagtail_personalisation.Segment')),
],
options={
'abstract': False,
},
),
]