Skip to content

Commit

Permalink
Merge pull request #195 from openedx/removing-configs
Browse files Browse the repository at this point in the history
chore: removing configs. These are deprecated.
  • Loading branch information
awais786 committed Aug 8, 2023
2 parents 5088088 + 5da2e6b commit f90aff3
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
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"

0 comments on commit f90aff3

Please sign in to comment.