wbnews 1.59.9__tar.gz → 1.59.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. {wbnews-1.59.9 → wbnews-1.59.11}/PKG-INFO +1 -1
  2. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/import_export/parsers/emails/news.py +2 -2
  3. {wbnews-1.59.9 → wbnews-1.59.11}/.gitignore +0 -0
  4. {wbnews-1.59.9 → wbnews-1.59.11}/pyproject.toml +0 -0
  5. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/.coveragerc +0 -0
  6. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/__init__.py +0 -0
  7. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/admin.py +0 -0
  8. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/apps.py +0 -0
  9. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/factories.py +0 -0
  10. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/filters/__init__.py +0 -0
  11. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/filters/news.py +0 -0
  12. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/fixtures/wbnews.yaml +0 -0
  13. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/import_export/__init__.py +0 -0
  14. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/import_export/backends/__init__.py +0 -0
  15. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/import_export/backends/news.py +0 -0
  16. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/import_export/handlers/__init__.py +0 -0
  17. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/import_export/handlers/news.py +0 -0
  18. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/import_export/parsers/__init__.py +0 -0
  19. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/import_export/parsers/emails/__init__.py +0 -0
  20. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/import_export/parsers/emails/utils.py +0 -0
  21. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/import_export/parsers/rss/__init__.py +0 -0
  22. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/import_export/parsers/rss/news.py +0 -0
  23. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/locale/de/LC_MESSAGES/django.mo +0 -0
  24. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/locale/de/LC_MESSAGES/django.po +0 -0
  25. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/locale/de/LC_MESSAGES/django.po.translated +0 -0
  26. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/locale/en/LC_MESSAGES/django.mo +0 -0
  27. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/locale/en/LC_MESSAGES/django.po +0 -0
  28. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/locale/fr/LC_MESSAGES/django.mo +0 -0
  29. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/locale/fr/LC_MESSAGES/django.po +0 -0
  30. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/migrations/0001_initial_squashed_0005_alter_news_import_source.py +0 -0
  31. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/migrations/0006_alter_news_language.py +0 -0
  32. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/migrations/0007_auto_20240103_0955.py +0 -0
  33. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/migrations/0008_alter_news_language.py +0 -0
  34. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/migrations/0009_newsrelationship_analysis_newsrelationship_sentiment.py +0 -0
  35. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/migrations/0010_newsrelationship_important.py +0 -0
  36. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/migrations/0011_newsrelationship_content_object_repr.py +0 -0
  37. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/migrations/0012_alter_news_unique_together_news_identifier_and_more.py +0 -0
  38. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/migrations/0013_alter_news_datetime.py +0 -0
  39. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/migrations/0014_newsrelationship_unique_news_relationship.py +0 -0
  40. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/migrations/__init__.py +0 -0
  41. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/models/__init__.py +0 -0
  42. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/models/llm/cleaned_news.py +0 -0
  43. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/models/news.py +0 -0
  44. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/models/relationships.py +0 -0
  45. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/models/sources.py +0 -0
  46. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/models/utils.py +0 -0
  47. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/serializers.py +0 -0
  48. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/signals.py +0 -0
  49. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/tasks.py +0 -0
  50. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/tests/__init__.py +0 -0
  51. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/tests/conftest.py +0 -0
  52. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/tests/parsers/__init__.py +0 -0
  53. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/tests/parsers/test_emails.py +0 -0
  54. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/tests/test_models.py +0 -0
  55. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/tests/test_utils.py +0 -0
  56. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/tests/tests.py +0 -0
  57. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/urls.py +0 -0
  58. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/utils.py +0 -0
  59. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/viewsets/__init__.py +0 -0
  60. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/viewsets/buttons.py +0 -0
  61. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/viewsets/display.py +0 -0
  62. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/viewsets/endpoints.py +0 -0
  63. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/viewsets/menu.py +0 -0
  64. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/viewsets/titles.py +0 -0
  65. {wbnews-1.59.9 → wbnews-1.59.11}/wbnews/viewsets/views.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wbnews
3
- Version: 1.59.9
3
+ Version: 1.59.11
4
4
  Summary: A workbench module for managing news.
5
5
  Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
6
6
  Requires-Dist: feedparser==6.*
@@ -3,7 +3,7 @@ from contextlib import suppress
3
3
  from datetime import datetime
4
4
 
5
5
  from django.conf.global_settings import LANGUAGES
6
- from wbcore.utils.importlib import import_from_dotted_path
6
+ from django.utils.module_loading import import_string
7
7
 
8
8
  from .utils import EmlContentParser
9
9
 
@@ -26,7 +26,7 @@ def parse(import_source):
26
26
  # If source define a custom html parser, we import it and convert the returned html
27
27
  if html_parser_path := import_source.source.import_parameters.get("html_parser", None):
28
28
  with suppress(ModuleNotFoundError):
29
- html_parser = import_from_dotted_path(html_parser_path)
29
+ html_parser = import_string(html_parser_path)
30
30
  html = html_parser(html)
31
31
 
32
32
  data = {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes