learning-credentials 0.2.0rc1__py2.py3-none-any.whl → 0.2.0rc2__py2.py3-none-any.whl
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.
- learning_credentials/__init__.py +1 -1
- learning_credentials/admin.py +2 -0
- learning_credentials/models.py +1 -1
- {learning_credentials-0.2.0rc1.dist-info → learning_credentials-0.2.0rc2.dist-info}/METADATA +1 -1
- {learning_credentials-0.2.0rc1.dist-info → learning_credentials-0.2.0rc2.dist-info}/RECORD +9 -9
- {learning_credentials-0.2.0rc1.dist-info → learning_credentials-0.2.0rc2.dist-info}/WHEEL +0 -0
- {learning_credentials-0.2.0rc1.dist-info → learning_credentials-0.2.0rc2.dist-info}/entry_points.txt +0 -0
- {learning_credentials-0.2.0rc1.dist-info → learning_credentials-0.2.0rc2.dist-info}/licenses/LICENSE.txt +0 -0
- {learning_credentials-0.2.0rc1.dist-info → learning_credentials-0.2.0rc2.dist-info}/top_level.txt +0 -0
learning_credentials/__init__.py
CHANGED
learning_credentials/admin.py
CHANGED
|
@@ -248,6 +248,8 @@ class CredentialAdmin(admin.ModelAdmin): # noqa: D101
|
|
|
248
248
|
'legacy_id',
|
|
249
249
|
'generation_task_id',
|
|
250
250
|
)
|
|
251
|
+
search_fields = ("learning_context_key", "user_id", "user_full_name")
|
|
252
|
+
list_filter = ("learning_context_key", "credential_type", "status")
|
|
251
253
|
|
|
252
254
|
def get_form(self, request: HttpRequest, obj: Credential | None = None, **kwargs) -> forms.ModelForm:
|
|
253
255
|
"""Hide the download_url field."""
|
learning_credentials/models.py
CHANGED
|
@@ -294,7 +294,7 @@ class Credential(TimeStampedModel):
|
|
|
294
294
|
course_name = get_learning_context_name(self.learning_context_key)
|
|
295
295
|
user = get_user_model().objects.get(id=self.user_id)
|
|
296
296
|
msg = Message(
|
|
297
|
-
name="
|
|
297
|
+
name="certificate_generated",
|
|
298
298
|
app_label="learning_credentials",
|
|
299
299
|
recipient=Recipient(lms_user_id=user.id, email_address=user.email),
|
|
300
300
|
language='en',
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
learning_credentials/__init__.py,sha256=
|
|
2
|
-
learning_credentials/admin.py,sha256=
|
|
1
|
+
learning_credentials/__init__.py,sha256=NS8jgtMcLUso3tLVcFykCGxjVnvRc-1d6Pd3kTbtOkg,88
|
|
2
|
+
learning_credentials/admin.py,sha256=ynK3tVJwLsIeV7Jk66t1FAVyVsU1G-KRIAdRkycVTmA,10439
|
|
3
3
|
learning_credentials/apps.py,sha256=AA6JYUyqKYvNJ5POtQKw_s1g1VrUXuQI96hbea9H220,761
|
|
4
4
|
learning_credentials/compat.py,sha256=3SE0CwWJHSNHlRMOm2NZd8zzIY3DKSBCRPBXi7QrWUY,4524
|
|
5
5
|
learning_credentials/exceptions.py,sha256=UaqBVXFMWR2Iob7_LMb3j4NNVmWQFAgLi_MNMRUvGsI,290
|
|
6
6
|
learning_credentials/generators.py,sha256=nktM3gDFv66BzXDJ8wjmjlIz9KWMmBPGlD93jS1WgcU,8821
|
|
7
|
-
learning_credentials/models.py,sha256=
|
|
7
|
+
learning_credentials/models.py,sha256=O_iOWrRlDeFvOv7ntdd4ujxGc-g1fSbdACvUdFOOLh0,16036
|
|
8
8
|
learning_credentials/processors.py,sha256=VoM7ybSSiC2kakNHep6PeZkWFE7FZeYdhdU97IOJ0vw,12466
|
|
9
9
|
learning_credentials/tasks.py,sha256=byoFEUvN_ayVaU5K5SlEiA7vu9BRPaSSmKnB9g5toec,1927
|
|
10
10
|
learning_credentials/urls.py,sha256=2YLZZW738D7Afyzq6hr5ajWIl6azmX-hNDGUg_8AFpE,370
|
|
@@ -21,14 +21,14 @@ learning_credentials/settings/production.py,sha256=yEvsCldHOdsIswW7TPLW__b9YNEK-
|
|
|
21
21
|
learning_credentials/templates/learning_credentials/base.html,sha256=wtjBYqfHmOnyEY5tN3VGOmzYLsOD24MXdEUhTZ7OmwI,662
|
|
22
22
|
learning_credentials/templates/learning_credentials/edx_ace/certificate_generated/email/body.html,sha256=o-tfFQSNf-tuu_YzPosm0SFxUXe9oPh17PyjdiVSBhQ,811
|
|
23
23
|
learning_credentials/templates/learning_credentials/edx_ace/certificate_generated/email/head.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
|
-
learning_credentials-0.2.
|
|
24
|
+
learning_credentials-0.2.0rc2.dist-info/licenses/LICENSE.txt,sha256=GDpsPnW_1NKhPvZpZL9imz25P2nIpbwJPEhrlq4vPAU,34523
|
|
25
25
|
openedx_certificates/__init__.py,sha256=8OoQEjyyrcDZkrdGAWZ5TcmTJf7orJNJKo83-DFQRXo,85
|
|
26
26
|
openedx_certificates/apps.py,sha256=KZ27RPqxCM-DxBftfAsPrToprUh1yPVPQPBV3qgTJXo,287
|
|
27
27
|
openedx_certificates/models.py,sha256=O749LzwZr7O5js_21Ca_nUGJr-y3WJs__OrjBYXnZ-I,1131
|
|
28
28
|
openedx_certificates/migrations/0001_initial.py,sha256=8pN1xEEecBrXKIleuKbZ_FTlTMoOOGiC0Ibk0tDzriM,8522
|
|
29
29
|
openedx_certificates/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
-
learning_credentials-0.2.
|
|
31
|
-
learning_credentials-0.2.
|
|
32
|
-
learning_credentials-0.2.
|
|
33
|
-
learning_credentials-0.2.
|
|
34
|
-
learning_credentials-0.2.
|
|
30
|
+
learning_credentials-0.2.0rc2.dist-info/METADATA,sha256=O75rsUCR-zj-OmkJ58IX0mbpu5rNHZQr-O228ooU3qE,6621
|
|
31
|
+
learning_credentials-0.2.0rc2.dist-info/WHEEL,sha256=MAQBAzGbXNI3bUmkDsiV_duv8i-gcdnLzw7cfUFwqhU,109
|
|
32
|
+
learning_credentials-0.2.0rc2.dist-info/entry_points.txt,sha256=Ll51HUyeZ2UnWjOXHSx09FPTFs9VMIwDccq-mn2wFEc,166
|
|
33
|
+
learning_credentials-0.2.0rc2.dist-info/top_level.txt,sha256=IC4tbU9MNfH-NkPgSUzE0UEurEMTpK3TJPHmeRf7kVQ,42
|
|
34
|
+
learning_credentials-0.2.0rc2.dist-info/RECORD,,
|
|
File without changes
|
{learning_credentials-0.2.0rc1.dist-info → learning_credentials-0.2.0rc2.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{learning_credentials-0.2.0rc1.dist-info → learning_credentials-0.2.0rc2.dist-info}/top_level.txt
RENAMED
|
File without changes
|