django-content-studio 1.0.0b13__py3-none-any.whl → 1.0.0b14__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.
Files changed (24) hide show
  1. content_studio/__init__.py +1 -1
  2. content_studio/contrib/__init__.py +0 -0
  3. content_studio/contrib/password_reset/__init__.py +1 -0
  4. content_studio/contrib/password_reset/apps.py +6 -0
  5. content_studio/contrib/password_reset/migrations/0001_initial.py +52 -0
  6. content_studio/contrib/password_reset/migrations/__init__.py +0 -0
  7. content_studio/contrib/password_reset/models.py +39 -0
  8. content_studio/contrib/password_reset/serializers.py +15 -0
  9. content_studio/contrib/password_reset/urls.py +30 -0
  10. content_studio/contrib/password_reset/views.py +118 -0
  11. content_studio/locale/nl/LC_MESSAGES/django.mo +0 -0
  12. content_studio/locale/nl/LC_MESSAGES/django.po +23 -4
  13. content_studio/login_backends/username_password.py +0 -16
  14. content_studio/settings.py +1 -0
  15. content_studio/static/content_studio/assets/index.css +1 -1
  16. content_studio/static/content_studio/assets/index.js +92 -73
  17. content_studio/static/content_studio/locales/en/translation.json +15 -0
  18. content_studio/static/content_studio/locales/nl/translation.json +15 -0
  19. content_studio/templates/content_studio/index.html +4 -4
  20. content_studio/views.py +5 -0
  21. {django_content_studio-1.0.0b13.dist-info → django_content_studio-1.0.0b14.dist-info}/METADATA +1 -1
  22. {django_content_studio-1.0.0b13.dist-info → django_content_studio-1.0.0b14.dist-info}/RECORD +24 -15
  23. {django_content_studio-1.0.0b13.dist-info → django_content_studio-1.0.0b14.dist-info}/LICENSE +0 -0
  24. {django_content_studio-1.0.0b13.dist-info → django_content_studio-1.0.0b14.dist-info}/WHEEL +0 -0
@@ -29,6 +29,21 @@
29
29
  "forgot_password": "Forgot password?",
30
30
  "no_account": "Don't have an account? Contact your administrator"
31
31
  },
32
+ "forgot_password": {
33
+ "title": "Forgot your password?",
34
+ "subtitle": "Enter your email address to reset your password.",
35
+ "submit": "Reset password",
36
+ "email_placeholder": "Enter your email",
37
+ "login": "Log in"
38
+ },
39
+ "reset_password": {
40
+ "title": "Reset your password",
41
+ "subtitle": "You will receive an email with a reset code.",
42
+ "enter_Code": "Enter the reset code",
43
+ "submit": "Reset password",
44
+ "password_placeholder": "Enter a password",
45
+ "success_message": "Your password has been changed. You can now log in with your new password."
46
+ },
32
47
  "main_menu": {
33
48
  "dashboard": "Dashboard",
34
49
  "media_library": "Media library",
@@ -28,6 +28,21 @@
28
28
  "remember_me": "Onthoud mij",
29
29
  "forgot_password": "Wachtwoord vergeten?",
30
30
  "no_account": "Geen account? Neem contact op met je administrator."
31
+ },
32
+ "forgot_password": {
33
+ "title": "Wachtwoord vergeten?",
34
+ "subtitle": "Voer je e-mailadres in om je wachtwoord te herstellen.",
35
+ "submit": "Wachtwoord herstellen",
36
+ "email_placeholder": "Voer je e-mailadres in",
37
+ "login": "Inloggen"
38
+ },
39
+ "reset_password": {
40
+ "title": "Wachtwoord herstellen",
41
+ "subtitle": "Je ontvangt een e-mail met een resetcode.",
42
+ "enter_code": "Voer de resetcode in",
43
+ "submit": "Wachtwoord wijzigen",
44
+ "password_placeholder": "Voer een wachtwoord in",
45
+ "success_message": "Je wachtwoord is gewijzigd. Je kan nu inloggen met je nieuwe wachtwoord."
31
46
  },
32
47
  "main_menu": {
33
48
  "dashboard": "Dashboard",
@@ -10,15 +10,15 @@
10
10
  window.DCS_STATIC_PREFIX = "{% static '' %}content_studio/";
11
11
  window.DCS_BASENAME = "{% url 'content_studio_web' %}";
12
12
  </script>
13
- <script type="module" crossorigin src="{% static 'content_studio/assets/index.js' %}"></script>
14
- <link rel="stylesheet" crossorigin href="{% static 'content_studio/assets/index.css' %}">
15
- <link rel="stylesheet" crossorigin href="{% static 'content_studio/icons/pi/style.css' %}">
13
+ <script type="module" crossorigin src="{% static 'content_studio/assets/index.js' %}?v={{ version }}"></script>
14
+ <link rel="stylesheet" crossorigin href="{% static 'content_studio/assets/index.css' %}?v={{ version }}">
15
+ <link rel="stylesheet" crossorigin href="{% static 'content_studio/icons/pi/style.css' %}?v={{ version }}">
16
16
 
17
17
  <link rel="preconnect" href="https://fonts.googleapis.com">
18
18
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
19
19
  <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet">
20
20
  </head>
21
21
  <body>
22
- <div id="root"></div>
22
+ <div id="root">HUH</div>
23
23
  </body>
24
24
  </html>
content_studio/views.py CHANGED
@@ -28,6 +28,11 @@ class ContentStudioWebAppView(TemplateView):
28
28
 
29
29
  template_name = "content_studio/index.html"
30
30
 
31
+ def get_context_data(self, **kwargs):
32
+ context = super().get_context_data(**kwargs)
33
+ context["version"] = __version__
34
+ return context
35
+
31
36
 
32
37
  class AdminApiViewSet(ViewSet):
33
38
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: django-content-studio
3
- Version: 1.0.0b13
3
+ Version: 1.0.0b14
4
4
  Summary: Modern & flexible Django admin
5
5
  License: MIT
6
6
  Author: Leon van der Grient
@@ -1,6 +1,15 @@
1
- content_studio/__init__.py,sha256=5-L1b0b2HyqF-GDdcLfozF7D31uMkdWgEFtF7027zHU,162
1
+ content_studio/__init__.py,sha256=OZmPTiwf10IktK7WC84iwNuUYFrGoV0VxIVUpTyXQdQ,162
2
2
  content_studio/admin.py,sha256=9D1vP0w_EeHpKT9_Ro1y_dSjLtJJg7UgDBjFc3EPvC4,11203
3
3
  content_studio/apps.py,sha256=iGZYxsGerYYC8EmV9Wu9phuT9R8UHUkIQ6XAm94EUgA,3961
4
+ content_studio/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ content_studio/contrib/password_reset/__init__.py,sha256=ADytdP3cztLPoEzwolfoyy5XfzfycjbmSbvvdvq5rY8,58
6
+ content_studio/contrib/password_reset/apps.py,sha256=Gme_SUiH6twXUFhNxf_0B8AMzNXsIkJ8RbqXaxOW3E8,152
7
+ content_studio/contrib/password_reset/migrations/0001_initial.py,sha256=30nqRlI_vjJnI2K9I-GP7FnZm1qzBL1-dm1VWE_TYH8,1588
8
+ content_studio/contrib/password_reset/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ content_studio/contrib/password_reset/models.py,sha256=B3mMqbcEQ_cvt4tHliLJ4FB8WZRad35AdJ8nDI1gJ6c,996
10
+ content_studio/contrib/password_reset/serializers.py,sha256=vh3yIhbswl5Y5p9iJzUVUzItAh8Pw_b-yeQGr5hlpj0,447
11
+ content_studio/contrib/password_reset/urls.py,sha256=Fe6r3W4Fz8sw2zt-gYEs2zHiE_6AJJ9ZJTKN1WTZyZY,1022
12
+ content_studio/contrib/password_reset/views.py,sha256=hswV578ZhkEeZ9G-dYQXy0eX3KkbpgLmN5V1S0xFM3U,3442
4
13
  content_studio/dashboard/__init__.py,sha256=G0fsYbegeZScWRb3vbCwd0sEm8fVc-tT_r-zCSPktgw,2377
5
14
  content_studio/dashboard/activity_log.py,sha256=0hK96lXziD663a6YuKO7zRTVcVmbRitERqfNGc2NrtE,939
6
15
  content_studio/dashboard/scheduled_tasks.py,sha256=XBg80l78p4ZjrR9U9R4rBewnTUXf2povwZEfgoYOjOs,1367
@@ -9,20 +18,20 @@ content_studio/extensions.py,sha256=VqaQtuIZiwtaXJDlzIwJuncW_fet-YtY1fBHIVMfoDM,
9
18
  content_studio/filters.py,sha256=GyglR2E_wswomW7EnfShEXr14zxuRlLAuxrHVO3QQYg,4335
10
19
  content_studio/form.py,sha256=XvUbBVR3QlvyM1l73QWV5TnreQTM8cWNJqgxkACj9dQ,5041
11
20
  content_studio/formats.py,sha256=JzOWrDRCVSnjJI0oX5fyFQU8LC634_jeAe84Widy43U,786
12
- content_studio/locale/nl/LC_MESSAGES/django.mo,sha256=dXVT-R_RZzpfAE3L7X7lwj2gRtFk2f2igK7IQU_Fqvw,559
13
- content_studio/locale/nl/LC_MESSAGES/django.po,sha256=F8ixGh7o55FheE3BiqvpUXir8Q5KyjVuJYFcEiNxkL0,934
21
+ content_studio/locale/nl/LC_MESSAGES/django.mo,sha256=xLBoj7clfrwC7mVzkXs18Wj4OFOxrQOzYErH7OcVsU4,999
22
+ content_studio/locale/nl/LC_MESSAGES/django.po,sha256=02gixEkTLx1evZLk0k7vMTQnPI2J32xAskTFNa62YpE,1474
14
23
  content_studio/login_backends/__init__.py,sha256=hgPJh9hFobubImfhynaeZ_dku3sjqNQvN5B43TVg7Gw,643
15
- content_studio/login_backends/username_password.py,sha256=JJbF3oWnhOwLs-WaqclCCH6nAnrhlKbyBUzAJKVtq7A,2561
24
+ content_studio/login_backends/username_password.py,sha256=GTBpubp_pKfYnJXGMoG-cv3pEe6hGb3uM7tWPOSr33Y,2040
16
25
  content_studio/media_library/serializers.py,sha256=1MPFqbZdE0iTYqZrzzYoT_y4q0ItGTbQ-I7omyojAZo,660
17
26
  content_studio/media_library/viewsets.py,sha256=XsQuCrcfZ52xvvsEbHZ2WTI99wf-cheOKfaMJyfAJbo,4318
18
27
  content_studio/models.py,sha256=9F9C-K7KkVT6i5TZGm0SEPyRxaIMlVblrZwzGET199E,2191
19
28
  content_studio/paginators.py,sha256=XrA6ECP2pO75SSj0Mi0Jqj7n_YPuIin-V8_6EOaQj64,589
20
29
  content_studio/router.py,sha256=7Up_sipGaUDoY6ElJNRf85ADaYfJCWV4To523L4LGuw,393
21
30
  content_studio/serializers.py,sha256=tWgL7J2z-Qc5BQjMc3PXpvLZa_6J6MfVUqRDOK_X0Xs,3867
22
- content_studio/settings.py,sha256=uu5Pnb502ZQE328J9-3Q4UtLGvD6tTAOOgv652dVUig,4598
31
+ content_studio/settings.py,sha256=hgtfkwiOv-0BY9Vw82D7PiZWpJXkquGKvh_Y8apYfRM,4640
23
32
  content_studio/static/content_studio/assets/browser-ponyfill-TyWUZ1Oq.js,sha256=sKLpD8vGwLfnJVLaSGMMi8krArcm2Qj3-igVwDvLMek,10287
24
- content_studio/static/content_studio/assets/index.css,sha256=MIaKvkMAv0W3HMmMqNqVBXRWmeO-sD468LlwB1rtB7E,88470
25
- content_studio/static/content_studio/assets/index.js,sha256=labYrcFrLJ5lNNYg4aCDeW7nx6E86htnUUW_8w8zYgI,1463141
33
+ content_studio/static/content_studio/assets/index.css,sha256=ZizDTEE0WcvKpE8gCcWiOQrloBpcV8EVubiSCTVMwMg,90506
34
+ content_studio/static/content_studio/assets/index.js,sha256=Sl4nnnx_8jcgiGSt0zsH_D_WqVp9Ix_3-4CYQez5HVc,1478470
26
35
  content_studio/static/content_studio/icons/pi/Phosphor-Bold.svg,sha256=4kdzmyaGcNVhK6qRIA8PdhaZ7raHU0xoU26ht52VG_c,2967217
27
36
  content_studio/static/content_studio/icons/pi/Phosphor-Bold.ttf,sha256=EKChy0-BVqQg-fhM80xOmHHljtLd6h9qgHmtByQ6f7I,495308
28
37
  content_studio/static/content_studio/icons/pi/Phosphor-Bold.woff,sha256=3k3MnRjPMzY8GdLJJMnZ1R4hCXi9Pm7FCK7HFnCz2wY,495388
@@ -30,18 +39,18 @@ content_studio/static/content_studio/icons/pi/Phosphor-Bold.woff2,sha256=IVO1LOq
30
39
  content_studio/static/content_studio/icons/pi/style.css,sha256=yKMt9n-L1X9wxjceFewjLfJd3ro-uQYNeqpoEBps4kA,85821
31
40
  content_studio/static/content_studio/img/media_placeholder.svg,sha256=ZLrfeqvaC5YwuHAg_7YJXLhYzLz2azVcKqCLEGOVTTs,3253
32
41
  content_studio/static/content_studio/index.html,sha256=IuVbv9-sX3WUUr7mDDEAVG9Q1tKmsHoZMpZwaWJ9SNM,896
33
- content_studio/static/content_studio/locales/en/translation.json,sha256=1JIhLZ7OiHRzSF13tt5MMx05Za_TBlaC8qM5oCRIFp0,2954
34
- content_studio/static/content_studio/locales/nl/translation.json,sha256=6ePG2f7oaRyKAM6tgKmsxYaRSBOUrNMGWB2-_BF0BvQ,3553
42
+ content_studio/static/content_studio/locales/en/translation.json,sha256=wtOxJ2-ntrdmRvc7pSC7EfXyX8ocawp-nIw4gBKDnOU,3538
43
+ content_studio/static/content_studio/locales/nl/translation.json,sha256=i8nGZHa_SR8BAFf8BpEUvsbVlMs1PrLW1VGqcAVRwIk,4170
35
44
  content_studio/static/content_studio/vite.svg,sha256=SnSK_UQ5GLsWWRyDTEAdrjPoeGGrXbrQgRw6O0qSFPs,1497
36
- content_studio/templates/content_studio/index.html,sha256=Pb2IAIkWFUd4Ey_Hd-_gF0DCFiaM9L0sfyTK2rDx4I4,1048
45
+ content_studio/templates/content_studio/index.html,sha256=1O8mNZ4_XNRIy_2WnLuaLkbHuiuYuHWTGB18HVzLZDY,1099
37
46
  content_studio/token_backends/__init__.py,sha256=dO3aWIHXX8He399ZEvlS4fNgyL84OY9TEtkva9b5N5Q,1183
38
47
  content_studio/token_backends/jwt.py,sha256=niGCpRqaUVhhS9haXfH1uFlg2v8NLB5IpsJ4N79Q0Gg,1565
39
48
  content_studio/urls.py,sha256=EY7lbzC0Q5vLfvqE3rK_4hmDrXhTuxKzYC55cc5tEEo,701
40
49
  content_studio/utils.py,sha256=dGiYCixg-qcPGbF4hV6fts1Vv4ED8gRi8syLuSS4xzw,2123
41
- content_studio/views.py,sha256=wyIZxNFo_JGa14x8B88_-ZnZRSn2a4M8Hfze9YicIzo,6699
50
+ content_studio/views.py,sha256=97JGZjYjsNIvuMe-O5dsNNGxSdzUfEzU-ha4c2zyAi4,6859
42
51
  content_studio/viewsets.py,sha256=iLhV6A_dl64-Ui4_DDT1Gje9ygvu0dYtF4OAO90MHSQ,5776
43
52
  content_studio/widgets.py,sha256=kROwtBrM3s-NKSo9riVX_oDW5crlCx1TiPBt0HKX6Zc,1111
44
- django_content_studio-1.0.0b13.dist-info/LICENSE,sha256=Wnx2EJhtSNnXE5Qs80i1HTBNFZTi8acEtC5TYqtFlnQ,1075
45
- django_content_studio-1.0.0b13.dist-info/METADATA,sha256=Vh4DZKRqKswwHw-AMiatW4KHmZjGjQZwKNMC3nGE9rI,2513
46
- django_content_studio-1.0.0b13.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
47
- django_content_studio-1.0.0b13.dist-info/RECORD,,
53
+ django_content_studio-1.0.0b14.dist-info/LICENSE,sha256=Wnx2EJhtSNnXE5Qs80i1HTBNFZTi8acEtC5TYqtFlnQ,1075
54
+ django_content_studio-1.0.0b14.dist-info/METADATA,sha256=zmaX9wkS4ucAiWZk_AbcmDlCxXHF8DFWHiX-dcHLf1A,2513
55
+ django_content_studio-1.0.0b14.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
56
+ django_content_studio-1.0.0b14.dist-info/RECORD,,