Skip to content

Commit

Permalink
GH-83: Squash migrations. Accept GH-321
Browse files Browse the repository at this point in the history
 as part of GH-83.
  • Loading branch information
wesleyboar committed Aug 24, 2021
1 parent df1060b commit d59c3f6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 71 deletions.
18 changes: 15 additions & 3 deletions taccsite_cms/contrib/taccsite_callout/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,26 +1,38 @@
# Generated by Django 2.2.16 on 2021-08-20 23:53
# Generated by Django 2.2.16 on 2021-08-24 13:03

from django.db import migrations, models
import django.db.models.deletion
import djangocms_attributes_field.fields
import djangocms_link.validators
import filer.fields.file


class Migration(migrations.Migration):

initial = True
replaces = [('taccsite_callout', '0001_initial'), ('taccsite_callout', '0003_auto_20210823_1902')]

dependencies = [
('filer', '0012_file_mime_type'),
('cms', '0022_auto_20180620_1551'),
]

operations = [
migrations.CreateModel(
name='TaccsiteCallout',
fields=[
('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='taccsite_callout_taccsitecallout', serialize=False, to='cms.CMSPlugin')),
('cmsplugin_ptr', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='taccsite_callout_taccsitecallout', serialize=False, to='cms.CMSPlugin')),
('title', models.CharField(blank=True, help_text='A heading for the callout.', max_length=100, verbose_name='Title')),
('description', models.CharField(blank=True, help_text='A paragraph for the callout.', max_length=200, verbose_name='Description')),
('attributes', djangocms_attributes_field.fields.AttributesField(default=dict)),
('anchor', models.CharField(blank=True, help_text='Appends the value only after the internal or external link. Do <em>not</em> include a preceding "#" symbol.', max_length=255, verbose_name='Anchor')),
('external_link', models.CharField(blank=True, help_text='Provide a link to an external source.', max_length=2040, validators=[djangocms_link.validators.IntranetURLValidator(intranet_host_re=None)], verbose_name='External link')),
('file_link', filer.fields.file.FilerFileField(blank=True, help_text='If provided links a file from the filer app.', null=True, on_delete=django.db.models.deletion.SET_NULL, to='filer.File', verbose_name='File link')),
('internal_link', models.ForeignKey(blank=True, help_text='If provided, overrides the external link.', null=True, on_delete=django.db.models.deletion.SET_NULL, to='cms.Page', verbose_name='Internal link')),
('mailto', models.EmailField(blank=True, max_length=255, verbose_name='Email address')),
('name', models.CharField(blank=True, max_length=255, verbose_name='Display name')),
('phone', models.CharField(blank=True, max_length=255, verbose_name='Phone')),
('target', models.CharField(blank=True, choices=[('_blank', 'Open in new window'), ('_self', 'Open in same window'), ('_parent', 'Delegate to parent'), ('_top', 'Delegate to top')], max_length=255, verbose_name='Target')),
('template', models.CharField(choices=[('default', 'Default')], default='default', max_length=255, verbose_name='Template')),
],
options={
'abstract': False,
Expand Down

This file was deleted.

0 comments on commit d59c3f6

Please sign in to comment.