Skip to content

Commit

Permalink
Add MainMenu.site field alteration to migration 0017_auto_20161013_…
Browse files Browse the repository at this point in the history
…1658.py
  • Loading branch information
Andy Babic committed Dec 8, 2016
1 parent 88f1ca2 commit f02fa1e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
packages=find_packages(),
license="MIT",
keywords="wagtail cms model utility",
download_url="https://github.com/rkhleics/wagtailmenus/tarball/v2.0.1",
download_url="https://github.com/rkhleics/wagtailmenus/tarball/v2.0.2",
url="https://github.com/rkhleics/wagtailmenus/tree/stable/2.0.x",
include_package_data=True,
zip_safe=False,
Expand Down
2 changes: 1 addition & 1 deletion wagtailmenus/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.0.1'
__version__ = '2.0.2'
5 changes: 5 additions & 0 deletions wagtailmenus/migrations/0017_auto_20161013_1658.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,9 @@ class Migration(migrations.Migration):
name='use_specific',
field=models.PositiveSmallIntegerField(choices=[(0, 'OFF (Most efficient)'), (1, 'AUTO'), (2, 'TOP_LEVEL'), (3, 'ALWAYS (Least efficient)')], default=1, help_text="Controls how 'specific' pages objects are fetched and used when rendering this menu. This value can be overidden by supplying a different <code>use_specific</code> value to the <code>{% main_menu %}</code> tag in your templates.", verbose_name='specific page usage'),
),
migrations.AlterField(
model_name='mainmenu',
name='site',
field=models.OneToOneField(editable=False, on_delete=django.db.models.deletion.CASCADE, related_name='main_menu', to='wagtailcore.Site'),
),
]

0 comments on commit f02fa1e

Please sign in to comment.