localcosmos-server 0.24.7__py3-none-any.whl → 0.24.8__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.
@@ -19,9 +19,9 @@ class LocalizedTemplateContentSerializer(serializers.ModelSerializer):
19
19
 
20
20
  slug = serializers.SerializerMethodField()
21
21
 
22
- created_at = serializers.SerializerMethodField()
23
- last_modified = serializers.SerializerMethodField()
24
- published_at = serializers.SerializerMethodField()
22
+ createdAt = serializers.SerializerMethodField()
23
+ lastModified = serializers.SerializerMethodField()
24
+ publishedAt = serializers.SerializerMethodField()
25
25
 
26
26
  templateName = serializers.SerializerMethodField()
27
27
  templatePath = serializers.SerializerMethodField()
@@ -70,13 +70,13 @@ class LocalizedTemplateContentSerializer(serializers.ModelSerializer):
70
70
  return localized_template_content.author
71
71
  return localized_template_content.published_author
72
72
 
73
- def get_created_at(self, localized_template_content):
73
+ def get_createdAt(self, localized_template_content):
74
74
  return localized_template_content.created_at
75
75
 
76
- def get_last_modified(self, localized_template_content):
76
+ def get_lastModified(self, localized_template_content):
77
77
  return localized_template_content.updated_at
78
78
 
79
- def get_published_at(self, localized_template_content):
79
+ def get_publishedAt(self, localized_template_content):
80
80
  return localized_template_content.published_at
81
81
 
82
82
  def get_templateName(self, localized_template_content):
@@ -264,7 +264,8 @@ class LocalizedTemplateContentSerializer(serializers.ModelSerializer):
264
264
 
265
265
  class Meta:
266
266
  model = LocalizedTemplateContent
267
- fields = ['title', 'templateName', 'templatePath', 'version', 'contents', 'linkedTaxa', 'linkedTaxonProfiles']
267
+ fields = ['title', 'templateName', 'templatePath', 'version', 'contents', 'linkedTaxa', 'linkedTaxonProfiles',
268
+ 'publishedAt', 'createdAt', 'lastModified', 'uuid', 'language', 'slug', 'author']
268
269
 
269
270
 
270
271
  # do not replace camelCase with underscore_case without adapting app_kit's ContentImageBuilder.build_licence
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: localcosmos_server
3
- Version: 0.24.7
3
+ Version: 0.24.8
4
4
  Summary: LocalCosmos Private Server. Run your own server for localcosmos.org apps.
5
5
  Home-page: https://github.com/SiSol-Systems/localcosmos-server
6
6
  Author: Thomas Uher
@@ -2577,7 +2577,7 @@ localcosmos_server/template_content/utils.py,sha256=-qQQTwEiI9J2InPMGehidtgLK_6r
2577
2577
  localcosmos_server/template_content/views.py,sha256=QlCkPgvwjUn_4AAzwzPa_c6qfLY7Rcy9aV_EhZ9689k,37534
2578
2578
  localcosmos_server/template_content/widgets.py,sha256=iNQkktV_Fk7VZre-Jpy_tF03a7-PUL5XDVZ1YH5dNBQ,1775
2579
2579
  localcosmos_server/template_content/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2580
- localcosmos_server/template_content/api/serializers.py,sha256=C37M-s5kyxDyppJS01Zw3uafhxtqq0w0aKlvhS1eG6w,12417
2580
+ localcosmos_server/template_content/api/serializers.py,sha256=FaRncSmm9Eo1TRLoMoJEhi-NA1ElXMyyb61o39gcwLw,12511
2581
2581
  localcosmos_server/template_content/api/urls.py,sha256=JPngLtzbQ0K2w3Wpq4O3RnvmSBCzTuNTcbIPkSO-QIE,893
2582
2582
  localcosmos_server/template_content/api/views.py,sha256=aVei450Ugi6XRrlssIzDkvthDzN5j2dqBYGEnwV9i2s,2538
2583
2583
  localcosmos_server/template_content/migrations/0001_initial.py,sha256=nABlB8A9ezsSXjYaYuv2Ks2gl8k3mB2Zwh8z0KDb1G8,3430
@@ -2776,8 +2776,8 @@ localcosmos_server/tests/mixins.py,sha256=2k-zCrqndwQLABNULDWRftROij3kwhW_bTiV6r
2776
2776
  localcosmos_server/tests/test_forms.py,sha256=axF1v-T0NGR16St3hueQAuREb2sbWzajdNFQDpFeYqI,9767
2777
2777
  localcosmos_server/tests/test_models.py,sha256=h4d70Ps0hLbcgL6rL1OV_6zxJ_ewDfHgvzJTJDw1m6E,33000
2778
2778
  localcosmos_server/tests/test_views.py,sha256=SaEuAFAfapsSJi1_R6WEgp41MB03sPruCIy_hJ_oGwc,4308
2779
- localcosmos_server-0.24.7.dist-info/licenses/LICENCE,sha256=VnxALPSxXoU59rlNeRdJtwS_nU79IFpVWsZZCQUM4Mw,1086
2780
- localcosmos_server-0.24.7.dist-info/METADATA,sha256=VOt4otRwmqRlEKDtKDmRaGrCUe_ZqaLGS0r1abvWe9g,1686
2781
- localcosmos_server-0.24.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
2782
- localcosmos_server-0.24.7.dist-info/top_level.txt,sha256=hNVjlPGCtXvUF5CJY5HOFA_Dh5fYivfqVSyFMUDkqPY,19
2783
- localcosmos_server-0.24.7.dist-info/RECORD,,
2779
+ localcosmos_server-0.24.8.dist-info/licenses/LICENCE,sha256=VnxALPSxXoU59rlNeRdJtwS_nU79IFpVWsZZCQUM4Mw,1086
2780
+ localcosmos_server-0.24.8.dist-info/METADATA,sha256=FBEwZPRiQCBsAVyp5aM-Tw3nzJDfzTLzDBl8cOsIc6c,1686
2781
+ localcosmos_server-0.24.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
2782
+ localcosmos_server-0.24.8.dist-info/top_level.txt,sha256=hNVjlPGCtXvUF5CJY5HOFA_Dh5fYivfqVSyFMUDkqPY,19
2783
+ localcosmos_server-0.24.8.dist-info/RECORD,,