learning-paths-plugin 0.3.4rc9__tar.gz → 0.3.4rc10__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 (53) hide show
  1. {learning_paths_plugin-0.3.4rc9/learning_paths_plugin.egg-info → learning_paths_plugin-0.3.4rc10}/PKG-INFO +1 -1
  2. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/__init__.py +1 -1
  3. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/api/v1/views.py +2 -1
  4. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10/learning_paths_plugin.egg-info}/PKG-INFO +1 -1
  5. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/CHANGELOG.rst +0 -0
  6. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/LICENSE.txt +0 -0
  7. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/MANIFEST.in +0 -0
  8. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/README.rst +0 -0
  9. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/admin.py +0 -0
  10. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/api/__init__.py +0 -0
  11. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/api/urls.py +0 -0
  12. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/api/v1/__init__.py +0 -0
  13. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/api/v1/filters.py +0 -0
  14. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/api/v1/permissions.py +0 -0
  15. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/api/v1/serializers.py +0 -0
  16. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/api/v1/urls.py +0 -0
  17. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/api/v1/utils.py +0 -0
  18. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/apps.py +0 -0
  19. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/compat.py +0 -0
  20. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/conftest.py +0 -0
  21. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/keys.py +0 -0
  22. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0001_initial.py +0 -0
  23. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0002_learningpath_uuid.py +0 -0
  24. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0003_learningpath_subtitle.py +0 -0
  25. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0004_auto_20240207_1633.py +0 -0
  26. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0005_learningpathstep_weight_learningpathgradingcriteria.py +0 -0
  27. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0006_enrollment_models.py +0 -0
  28. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0007_replace_uuid_with_learningpathkey.py +0 -0
  29. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0008_remove_learningpathstep_relative_due_date_in_days.py +0 -0
  30. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0009_remove_learningpath_slug.py +0 -0
  31. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0010_learningpath_invite_only.py +0 -0
  32. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0011_replace_learningpath_image_url_with_image.py +0 -0
  33. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0012_alter_learningpath_subtitle.py +0 -0
  34. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0013_enrollment_audit.py +0 -0
  35. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0014_remove_learningpath_duration_in_days_and_more.py +0 -0
  36. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/0015_make_skill_level_optional.py +0 -0
  37. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/migrations/__init__.py +0 -0
  38. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/models.py +0 -0
  39. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/receivers.py +0 -0
  40. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/settings.py +0 -0
  41. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/templates/learning_paths/base.html +0 -0
  42. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths/urls.py +0 -0
  43. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths_plugin.egg-info/SOURCES.txt +0 -0
  44. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths_plugin.egg-info/dependency_links.txt +0 -0
  45. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths_plugin.egg-info/entry_points.txt +0 -0
  46. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths_plugin.egg-info/not-zip-safe +0 -0
  47. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths_plugin.egg-info/requires.txt +0 -0
  48. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/learning_paths_plugin.egg-info/top_level.txt +0 -0
  49. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/pyproject.toml +0 -0
  50. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/requirements/base.in +0 -0
  51. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/requirements/constraints.txt +0 -0
  52. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/setup.cfg +0 -0
  53. {learning_paths_plugin-0.3.4rc9 → learning_paths_plugin-0.3.4rc10}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: learning-paths-plugin
3
- Version: 0.3.4rc9
3
+ Version: 0.3.4rc10
4
4
  Summary: Learning Paths plugin
5
5
  Home-page: https://github.com/open-craft/learning-paths-plugin
6
6
  Author: OpenCraft
@@ -2,4 +2,4 @@
2
2
  Learning Paths plugin.
3
3
  """
4
4
 
5
- __version__ = "0.3.4-rc9"
5
+ __version__ = "0.3.4-rc10"
@@ -410,7 +410,8 @@ class BulkEnrollView(APIView):
410
410
  allowed, created = LearningPathEnrollmentAllowed.objects.get_or_create(
411
411
  email=email, learning_path=learning_path
412
412
  )
413
- if created:
413
+ if created or (not allowed.user and not allowed.is_active):
414
+ allowed.is_active = True
414
415
  enrollment_allowed_created.append(allowed)
415
416
 
416
417
  audit_data = self._create_audit_data(request, LearningPathEnrollmentAudit.UNENROLLED_TO_ALLOWEDTOENROLL)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: learning-paths-plugin
3
- Version: 0.3.4rc9
3
+ Version: 0.3.4rc10
4
4
  Summary: Learning Paths plugin
5
5
  Home-page: https://github.com/open-craft/learning-paths-plugin
6
6
  Author: OpenCraft