django-content-studio 1.0.0b11__py3-none-any.whl → 1.0.0b12__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.
@@ -0,0 +1,22 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>Django Content Studio</title>
8
+ <script>
9
+ window.DCS_STATIC_PREFIX = "/";
10
+ window.DCS_BASENAME = "http://localhost:8000/admin";
11
+ </script>
12
+ <link rel="stylesheet" href="/icons/pi/style.css" />
13
+ <link rel="preconnect" href="https://fonts.googleapis.com">
14
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
15
+ <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet">
16
+ <script type="module" crossorigin src="/assets/index.js"></script>
17
+ <link rel="stylesheet" crossorigin href="/assets/index.css">
18
+ </head>
19
+ <body>
20
+ <div id="root"></div>
21
+ </body>
22
+ </html>
@@ -14,7 +14,9 @@
14
14
  "delete_confirm_description": "This action cannot be undone. Are you sure you want to delete?"
15
15
  },
16
16
  "app": {
17
- "copied_to_clipboard": "Copied to clipboard!"
17
+ "copied_to_clipboard": "Copied to clipboard!",
18
+ "error": "Something went wrong",
19
+ "not_found": "We couldn't find what you were looking for."
18
20
  },
19
21
  "login": {
20
22
  "title": "Welcome back",
@@ -14,7 +14,9 @@
14
14
  "delete_confirm_description": "Deze actie kan niet ongedaan gemaakt worden. Weet je zeker dat je dit wilt verwijderen?"
15
15
  },
16
16
  "app": {
17
- "copied_to_clipboard": "Gekopieerd naar klembord"
17
+ "copied_to_clipboard": "Gekopieerd naar klembord",
18
+ "error": "Er gaat iets fout",
19
+ "not_found": "We kunnen niet vinden wat je zoekt."
18
20
  },
19
21
  "login": {
20
22
  "title": "Welkom terug",
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
content_studio/views.py CHANGED
@@ -89,6 +89,7 @@ class AdminApiViewSet(ViewSet):
89
89
  "models": get_models(request),
90
90
  "model_groups": get_model_groups(),
91
91
  "user_model": settings.AUTH_USER_MODEL,
92
+ "extensions": get_extensions(),
92
93
  }
93
94
 
94
95
  media_model = cs_settings.MEDIA_LIBRARY_MODEL
@@ -211,3 +212,9 @@ def get_health_check_path():
211
212
  return reverse("healthcheck")
212
213
  except NoReverseMatch:
213
214
  return None
215
+
216
+
217
+ def get_extensions():
218
+ admin_site = cs_settings.ADMIN_SITE
219
+
220
+ return [i.serialize() for i in getattr(admin_site, "extensions", [])]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: django-content-studio
3
- Version: 1.0.0b11
3
+ Version: 1.0.0b12
4
4
  Summary: Modern & flexible Django admin
5
5
  License: MIT
6
6
  Author: Leon van der Grient
@@ -1,9 +1,10 @@
1
- content_studio/__init__.py,sha256=vV3N4np4LcJU52AM38SNlW0eqLdlhguO78GcMBW_W_U,162
2
- content_studio/admin.py,sha256=bsGQvHndTHmlFUgsBgWiDk9YOEz5i7duHwJk73CSdyk,11180
1
+ content_studio/__init__.py,sha256=Wc9FgPfY8VKInywfIKkeUMp_0m5MQjb-CPGnnfC0aS8,162
2
+ content_studio/admin.py,sha256=9D1vP0w_EeHpKT9_Ro1y_dSjLtJJg7UgDBjFc3EPvC4,11203
3
3
  content_studio/apps.py,sha256=iGZYxsGerYYC8EmV9Wu9phuT9R8UHUkIQ6XAm94EUgA,3961
4
4
  content_studio/dashboard/__init__.py,sha256=G0fsYbegeZScWRb3vbCwd0sEm8fVc-tT_r-zCSPktgw,2377
5
5
  content_studio/dashboard/activity_log.py,sha256=0hK96lXziD663a6YuKO7zRTVcVmbRitERqfNGc2NrtE,939
6
6
  content_studio/dashboard/statistic.py,sha256=aoHJMM88zehapYWOmq_lqdSArkagYLCRWEAxXoNMcRg,912
7
+ content_studio/extensions.py,sha256=VqaQtuIZiwtaXJDlzIwJuncW_fet-YtY1fBHIVMfoDM,1500
7
8
  content_studio/filters.py,sha256=GyglR2E_wswomW7EnfShEXr14zxuRlLAuxrHVO3QQYg,4335
8
9
  content_studio/form.py,sha256=XvUbBVR3QlvyM1l73QWV5TnreQTM8cWNJqgxkACj9dQ,5041
9
10
  content_studio/formats.py,sha256=JzOWrDRCVSnjJI0oX5fyFQU8LC634_jeAe84Widy43U,786
@@ -18,24 +19,26 @@ content_studio/serializers.py,sha256=tWgL7J2z-Qc5BQjMc3PXpvLZa_6J6MfVUqRDOK_X0Xs
18
19
  content_studio/settings.py,sha256=uu5Pnb502ZQE328J9-3Q4UtLGvD6tTAOOgv652dVUig,4598
19
20
  content_studio/static/content_studio/assets/browser-ponyfill-TyWUZ1Oq.js,sha256=sKLpD8vGwLfnJVLaSGMMi8krArcm2Qj3-igVwDvLMek,10287
20
21
  content_studio/static/content_studio/assets/index.css,sha256=tVhQGiiwkxpKnVK-U3FeqlWyCFuvdDD-PkTQrcQwLvM,88555
21
- content_studio/static/content_studio/assets/index.js,sha256=xEsF930ycAhkogPms3DWxSvzbG2MGdziA_3hUhsdj8E,1459628
22
+ content_studio/static/content_studio/assets/index.js,sha256=gyN1TyrQqw9FS7lTqgZtpOCOkxIbSLdkErjfBBkTva0,1460954
22
23
  content_studio/static/content_studio/icons/pi/Phosphor-Bold.svg,sha256=4kdzmyaGcNVhK6qRIA8PdhaZ7raHU0xoU26ht52VG_c,2967217
23
24
  content_studio/static/content_studio/icons/pi/Phosphor-Bold.ttf,sha256=EKChy0-BVqQg-fhM80xOmHHljtLd6h9qgHmtByQ6f7I,495308
24
25
  content_studio/static/content_studio/icons/pi/Phosphor-Bold.woff,sha256=3k3MnRjPMzY8GdLJJMnZ1R4hCXi9Pm7FCK7HFnCz2wY,495388
25
26
  content_studio/static/content_studio/icons/pi/Phosphor-Bold.woff2,sha256=IVO1LOqeBvwMyElgSL5IWzgaD4vxMK3qWpdW_I8QC4c,150052
26
27
  content_studio/static/content_studio/icons/pi/style.css,sha256=yKMt9n-L1X9wxjceFewjLfJd3ro-uQYNeqpoEBps4kA,85821
27
28
  content_studio/static/content_studio/img/media_placeholder.svg,sha256=ZLrfeqvaC5YwuHAg_7YJXLhYzLz2azVcKqCLEGOVTTs,3253
28
- content_studio/static/content_studio/locales/en/translation.json,sha256=6KV4rb4kgvTcWVAXjcHePG7HSV4C5GAlU_S4hMlY1t4,2581
29
- content_studio/static/content_studio/locales/nl/translation.json,sha256=_8jK7BAFglRR3t8W5Jubf-oIeY8GYVdSPR46Fk_OFeI,3189
29
+ content_studio/static/content_studio/index.html,sha256=IuVbv9-sX3WUUr7mDDEAVG9Q1tKmsHoZMpZwaWJ9SNM,896
30
+ content_studio/static/content_studio/locales/en/translation.json,sha256=We6IpuRPSuAaYwsH6-7BNgOh29fyLRVDeDRMQVnZaMM,2682
31
+ content_studio/static/content_studio/locales/nl/translation.json,sha256=sZh6IAUmJOIIqUVSmXcPjikQoqblAsJf7A5-t8v7H9I,3279
32
+ content_studio/static/content_studio/vite.svg,sha256=SnSK_UQ5GLsWWRyDTEAdrjPoeGGrXbrQgRw6O0qSFPs,1497
30
33
  content_studio/templates/content_studio/index.html,sha256=As2C1ahUKDvVy4kTFU0gHTy9mIL82817NUSSf93GC_Q,1032
31
34
  content_studio/token_backends/__init__.py,sha256=dO3aWIHXX8He399ZEvlS4fNgyL84OY9TEtkva9b5N5Q,1183
32
35
  content_studio/token_backends/jwt.py,sha256=niGCpRqaUVhhS9haXfH1uFlg2v8NLB5IpsJ4N79Q0Gg,1565
33
36
  content_studio/urls.py,sha256=EY7lbzC0Q5vLfvqE3rK_4hmDrXhTuxKzYC55cc5tEEo,701
34
37
  content_studio/utils.py,sha256=dGiYCixg-qcPGbF4hV6fts1Vv4ED8gRi8syLuSS4xzw,2123
35
- content_studio/views.py,sha256=D5-o5pcj3RHuGyGB7S8fXAXoccRqdFpQEZZQ6sn7TvE,6361
38
+ content_studio/views.py,sha256=VLT0xi9HsIhBfZ2LRy2NLl3TpRlhKduV9dZ3j01mc5k,6544
36
39
  content_studio/viewsets.py,sha256=iLhV6A_dl64-Ui4_DDT1Gje9ygvu0dYtF4OAO90MHSQ,5776
37
40
  content_studio/widgets.py,sha256=kROwtBrM3s-NKSo9riVX_oDW5crlCx1TiPBt0HKX6Zc,1111
38
- django_content_studio-1.0.0b11.dist-info/LICENSE,sha256=Wnx2EJhtSNnXE5Qs80i1HTBNFZTi8acEtC5TYqtFlnQ,1075
39
- django_content_studio-1.0.0b11.dist-info/METADATA,sha256=swK5LfS4ld1JYzHYr1MyAgWFo3S-M5Psls5UNmU_5gk,2513
40
- django_content_studio-1.0.0b11.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
41
- django_content_studio-1.0.0b11.dist-info/RECORD,,
41
+ django_content_studio-1.0.0b12.dist-info/LICENSE,sha256=Wnx2EJhtSNnXE5Qs80i1HTBNFZTi8acEtC5TYqtFlnQ,1075
42
+ django_content_studio-1.0.0b12.dist-info/METADATA,sha256=VzPsH5ghNZtch0OwUMg-QAcCBobQQIt_YLHgXJVsbnI,2513
43
+ django_content_studio-1.0.0b12.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
44
+ django_content_studio-1.0.0b12.dist-info/RECORD,,