df_site 0.1.4__py3-none-any.whl → 0.1.5__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.
df_site/middleware.py CHANGED
@@ -13,7 +13,7 @@ def websocket_middleware(get_response):
13
13
 
14
14
  response: HttpResponse = get_response(request)
15
15
  # noinspection PyUnresolvedReferences
16
- if not request.has_websocket_topics:
16
+ if hasattr(request, "has_websocket_topics") and not request.has_websocket_topics:
17
17
  set_websocket_topics(request)
18
18
  return response
19
19
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: df_site
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: More batteries to Django
5
5
  Home-page: https://github.com/d9pouces/df_site
6
6
  License: CECILL-B
@@ -47,7 +47,7 @@ Requires-Dist: jsmin (>=3.0.1,<4.0.0)
47
47
  Requires-Dist: lxml-html-clean (>=0.3.1,<0.4.0)
48
48
  Requires-Dist: nh3 (>=0.2.18,<0.3.0)
49
49
  Requires-Dist: psycopg (>=3.2.1,<4.0.0)
50
- Requires-Dist: redis (>=5.0.1,<6.0.0)
50
+ Requires-Dist: redis (>=5.2.0,<6.0.0)
51
51
  Requires-Dist: uvicorn-worker (>=0.2.0,<0.3.0)
52
52
  Project-URL: Documentation, https://github.com/d9pouces/df_site
53
53
  Project-URL: Repository, https://github.com/d9pouces/df_site
@@ -17,7 +17,7 @@ df_site/management/__init__.py,sha256=hSw7cwoTyIwJGrh37pQspBcO_i9LZPT850YyAP6HWN
17
17
  df_site/management/commands/__init__.py,sha256=oEAGub9PHNeJLfHQ2zs4AIrbuxZui1z_n3Tyc97h98w,32
18
18
  df_site/management/commands/add_image.py,sha256=mjFG2qmOG2YQ9jQYD6PXzW7pBe-Aez-QR8rCzMjQX-8,4139
19
19
  df_site/management/commands/generate_favicon.py,sha256=UwVGr0pWws9CiXQ4VVwU-qcijI_f2GMji6iuxoXkoys,1728
20
- df_site/middleware.py,sha256=lLcITsik5pED466UWKo8YCfGY8mQKI9l2CwskHvngLw,637
20
+ df_site/middleware.py,sha256=i48S6YGe8iOTPKYYXg07ePIXb5LOT1KscsmHh6T1pMA,682
21
21
  df_site/migrations/0001_initial.py,sha256=6XoKucB8jcD3Y4Zj7jLlqSzyLnkwZkMs93DDBhJ-gD8,8425
22
22
  df_site/migrations/0002_alter_alertribbon_message_alter_alertribbon_summary.py,sha256=YNZfVU2Z_s_Q1D4d3YZT7nQJ4mafhOfsoRXS1lg6sD4,676
23
23
  df_site/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -303,8 +303,8 @@ df_site/users/notifications.py,sha256=jAUrHxreW-Nsam3AM8N3vPt45LOS2J2mMR_t3Dbv6I
303
303
  df_site/users/urls.py,sha256=f5A2oMTV3dQGfsTRZs6YRD5jVDIqPZPZALIB0sjOkM0,515
304
304
  df_site/users/views.py,sha256=uMMgXe4J-YChpYavTReos_MuNfLaz1fjmPq3oD36mLw,2770
305
305
  df_site/views.py,sha256=DYe0iyIL7xTrdZKiXjaFnubmtUXJnhKccx8QaMcN_0o,4525
306
- df_site-0.1.4.dist-info/LICENSE,sha256=H1HcYtCa2qQNIP1AnRy8KUQRjHqfoDN4MoJHKIt_w6g,22399
307
- df_site-0.1.4.dist-info/METADATA,sha256=ldlDBDmK6U9_twa9vdBvpk8yhBAVRsOVJy0lXoH_0bk,9881
308
- df_site-0.1.4.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
309
- df_site-0.1.4.dist-info/entry_points.txt,sha256=QBlDeF1v1FepN-bJk7FuhWtgm7Y7-dhBK6673t94_7k,59
310
- df_site-0.1.4.dist-info/RECORD,,
306
+ df_site-0.1.5.dist-info/LICENSE,sha256=H1HcYtCa2qQNIP1AnRy8KUQRjHqfoDN4MoJHKIt_w6g,22399
307
+ df_site-0.1.5.dist-info/METADATA,sha256=OYmvSXfvgCDsFOzOoBDE1sq-OIKEEF-rc3uZk8_CHqE,9881
308
+ df_site-0.1.5.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
309
+ df_site-0.1.5.dist-info/entry_points.txt,sha256=QBlDeF1v1FepN-bJk7FuhWtgm7Y7-dhBK6673t94_7k,59
310
+ df_site-0.1.5.dist-info/RECORD,,