Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Wagtail Videos
Commits
59b5cd63
Commit
59b5cd63
authored
Nov 01, 2022
by
seb
Browse files
Fix extra verbose_name in migration, update changelog
parent
9bde21da
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.rst
View file @
59b5cd63
CHANGELOG
=========
4.0.1
-----
- Fixed bad migration
4.0.0
-----
- Upped min Wagtail version to 4.x
- Added support for limiting video choices based on collection permission
2.11.1
------
...
...
setup.py
View file @
59b5cd63
...
...
@@ -10,7 +10,7 @@ from setuptools import find_packages, setup # noqa: E4
setup
(
name
=
'wagtailvideos'
,
version
=
'4.0.
0
'
,
version
=
'4.0.
1
'
,
description
=
"A wagtail module for uploading and displaying videos in various codecs."
,
long_description
=
readme
,
author
=
'Neon Jungle'
,
...
...
wagtailvideos/migrations/0013_add_choose_permissions.py
View file @
59b5cd63
...
...
@@ -85,11 +85,7 @@ class Migration(migrations.Migration):
operations
=
[
migrations
.
AlterModelOptions
(
name
=
"video"
,
options
=
{
"permissions"
:
[(
"choose_video"
,
"Can choose video"
)],
"verbose_name"
:
"video"
,
"verbose_name_plural"
:
"videos"
,
},
options
=
{
'ordering'
:
[
'-created_at'
],
'permissions'
:
[(
'choose_video'
,
'Can choose video'
)]},
),
migrations
.
RunPython
(
add_choose_permission_to_admin_groups
,
remove_choose_permission
...
...
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