django-chelseru 1.1.4__py3-none-any.whl → 1.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: django-chelseru
3
- Version: 1.1.4
3
+ Version: 1.1.5
4
4
  Summary: Authentication system, online and real-time chat, SMS system for Iranian SMS services.
5
5
  Home-page: https://pipdjango.chelseru.com
6
6
  Author: Sobhan Bahman Rashnu
@@ -1,9 +1,9 @@
1
- django_chelseru-1.1.4.dist-info/licenses/LICENSE,sha256=VupU5KV4NteHaNQb-WH31G_WZWezxXoomjiCIAHoQJo,1089
1
+ django_chelseru-1.1.5.dist-info/licenses/LICENSE,sha256=VupU5KV4NteHaNQb-WH31G_WZWezxXoomjiCIAHoQJo,1089
2
2
  drfchelseru/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  drfchelseru/admin.py,sha256=8glh59ggY-7ud76dIDfAXQwkBPq9Q80MF_qUC9ZOi0w,986
4
4
  drfchelseru/apps.py,sha256=hOTTzFGLXiTPZeN8p_LLcSECLtsR2Q0SUo8zJzgM-qQ,211
5
5
  drfchelseru/consumers.py,sha256=c8h9JYu5QUSKRREFrIrkjpkEQTzG5V8eg2lriaZODsc,2614
6
- drfchelseru/middlewares.py,sha256=qZ64KUzbUs69zAOm5PGbdyuNcIFhpYi_ft8X18LPuHQ,3826
6
+ drfchelseru/middlewares.py,sha256=Ej_9GTlVPzfzYAUqxUn7VHJRdlywQmrbSIW43yK5q5U,3818
7
7
  drfchelseru/models.py,sha256=2CaOyTfNDVjdt2aGc0qGTie8xxLRzp8hDf75-_P_KRs,9705
8
8
  drfchelseru/routing.py,sha256=shAlgzcIwVuVPlvKeWBLCqr6PuBTHyIrWNgHEfnqrxg,165
9
9
  drfchelseru/serializers.py,sha256=I3kS2NhzIprY8-WWhjQPShAom6R7epg7do7RnDkpnys,1421
@@ -32,7 +32,7 @@ drfchelseru/migrations/0015_payment_message.py,sha256=7aysohtF5ajAGFB88IRIy4nRag
32
32
  drfchelseru/migrations/0016_payment_card_hash_payment_card_pan_and_more.py,sha256=bRGD0ZMJWW3R_c3mFAHsTMC8am2Xymh-48XRPVKmgvc,887
33
33
  drfchelseru/migrations/0017_alter_payment_callback_url_alter_payment_gateway_url.py,sha256=CzlVrPM3L7Iv1lgjM6-MSBdw38y5uaBH9Oc6PCSImCQ,574
34
34
  drfchelseru/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
- django_chelseru-1.1.4.dist-info/METADATA,sha256=GeaOFuttFV_WBV1niU36Bnyy11MmegXK__Nb1JKFjxc,10944
36
- django_chelseru-1.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
- django_chelseru-1.1.4.dist-info/top_level.txt,sha256=fsaO1F03W3j4AYi0TfDGv5Cjb_Qrh6RSkwkWqfqaMns,12
38
- django_chelseru-1.1.4.dist-info/RECORD,,
35
+ django_chelseru-1.1.5.dist-info/METADATA,sha256=aQ8LMHWiXvnDktLKih59KPKytTy0vSkDzHP_U5vOmIM,10944
36
+ django_chelseru-1.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
+ django_chelseru-1.1.5.dist-info/top_level.txt,sha256=fsaO1F03W3j4AYi0TfDGv5Cjb_Qrh6RSkwkWqfqaMns,12
38
+ django_chelseru-1.1.5.dist-info/RECORD,,
@@ -50,7 +50,7 @@ class TakeUserSessionMiddlaware:
50
50
 
51
51
  if session:
52
52
  session.user_agent = user_agent
53
- session.ip_address = ip_address
53
+ session.ip_address = ip
54
54
  session.device = user_agents.parse(user_agent).device.family
55
55
  session.browser = user_agents.parse(user_agent).browser.family
56
56
  session.last_seen = datetime.now()