Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: removing configs. These are deprecated. #195

Merged
merged 2 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def is_requirement(line):

setup(
name="openedx-django-wiki",
version="2.0.0",
version="2.0.1",
author="Benjamin Bach",
author_email="[email protected]",
long_description_content_type='text/markdown',
Expand Down
6 changes: 3 additions & 3 deletions testproject/testproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@
'wiki',
'wiki.plugins.help',
'wiki.plugins.links',
'wiki.plugins.images',
'wiki.plugins.attachments',
'wiki.plugins.notifications',
'wiki.apps.ImagesConfig',
'wiki.apps.AttachmentsConfig',
'wiki.apps.NotifcationsConfig',
'mptt',
]

Expand Down
1 change: 0 additions & 1 deletion wiki/plugins/attachments/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
default_app_config = 'wiki.apps.AttachmentsConfig'
1 change: 0 additions & 1 deletion wiki/plugins/images/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
default_app_config = 'wiki.apps.ImagesConfig'
2 changes: 1 addition & 1 deletion wiki/plugins/images/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Migration(migrations.Migration):
name='ImageRevision',
fields=[
('revisionpluginrevision_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='wiki.RevisionPluginRevision', on_delete=models.CASCADE)),
('image', models.ImageField(upload_to=wiki.plugins.images.models.upload_path, width_field=b'width', height_field=b'height', max_length=2000, blank=True, null=True)),
('image', models.ImageField(upload_to=wiki.plugins.images.models.upload_path, width_field='width', height_field='height', max_length=2000, blank=True, null=True)),
('width', models.SmallIntegerField(null=True, blank=True)),
('height', models.SmallIntegerField(null=True, blank=True)),
],
Expand Down
2 changes: 0 additions & 2 deletions wiki/plugins/notifications/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
default_app_config = 'wiki.apps.NotifcationsConfig'

# Key for django_notify
ARTICLE_EDIT = "article_edit"
Loading