django-restit 4.2.97__py3-none-any.whl → 4.2.99__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.
account/models/device.py CHANGED
@@ -77,8 +77,8 @@ class MemberDevice(models.Model, rm.RestModel, rm.MetaDataModel):
77
77
  md.cm_token = cm_token
78
78
  if buid and md.buid != buid:
79
79
  md.buid = buid
80
- if cm_token is not None:
81
- md.cm_provider = "fcm"
80
+ if cm_provider is not None:
81
+ md.cm_provider = cm_provider
82
82
  if md.state != 1:
83
83
  md.state = 1
84
84
  md.touch(request.ip)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: django-restit
3
- Version: 4.2.97
3
+ Version: 4.2.99
4
4
  Summary: A Rest Framework for DJANGO
5
5
  License: MIT
6
6
  Author: Ian Starnes
@@ -25,7 +25,7 @@ account/migrations/0020_cloudcredentials_cloudcredentialsmetadata.py,sha256=mHwx
25
25
  account/migrations/0021_alter_cloudcredentials_group.py,sha256=zoFYmE-hd3uRGX6DRO9k-osPwH0jFeTU7S-pjCOtakk,561
26
26
  account/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  account/models/__init__.py,sha256=cV_lMnT2vL_mjiYtT4hlcIHo52ocFbGSNVkOIHHLXZY,385
28
- account/models/device.py,sha256=XAOR0RTLiuP8ExqGIqJe5Oyq-63_7DzzuCUUFqCDFWw,5707
28
+ account/models/device.py,sha256=v2kUx040cOvXHKLl98Vi-2qbZCGsVdQlX2Td4fg9CqA,5716
29
29
  account/models/feeds.py,sha256=vI7fG4ASY1M0Zjke24RdnfDcuWeATl_yR_25jPmT64g,2011
30
30
  account/models/group.py,sha256=mjWwePt3ogQUo9m0EhURMz0aBrVVx_0Drr0lNDESQio,22281
31
31
  account/models/legacy.py,sha256=zYdtv4LC0ooxPVqWM-uToPwV-lYWQLorSE6p6yn1xDw,2720
@@ -507,7 +507,7 @@ ws4redis/servers/uwsgi.py,sha256=VyhoCI1DnVFqBiJYHoxqn5Idlf6uJPHvfBKgkjs34mo,172
507
507
  ws4redis/settings.py,sha256=K0yBiLUuY81iDM4Yr-k8hbvjn5VVHu5zQhmMK8Dtz0s,1536
508
508
  ws4redis/utf8validator.py,sha256=S0OlfjeGRP75aO6CzZsF4oTjRQAgR17OWE9rgZdMBZA,5122
509
509
  ws4redis/websocket.py,sha256=R0TUyPsoVRD7Y_oU7w2I6NL4fPwiz5Vl94-fUkZgLHA,14848
510
- django_restit-4.2.97.dist-info/LICENSE.md,sha256=VHN4hhEeVOoFjtG-5fVv4jesA4SWi0Z-KgOzzN6a1ps,1068
511
- django_restit-4.2.97.dist-info/METADATA,sha256=7J_2qSgC_hi4WMBWjgDsu-2s9a1vLdBEaajMUlxAeVA,7662
512
- django_restit-4.2.97.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
513
- django_restit-4.2.97.dist-info/RECORD,,
510
+ django_restit-4.2.99.dist-info/LICENSE.md,sha256=VHN4hhEeVOoFjtG-5fVv4jesA4SWi0Z-KgOzzN6a1ps,1068
511
+ django_restit-4.2.99.dist-info/METADATA,sha256=ya7u4YtKVvZiqZd6VuERyv7neyhRQWRlIiyCLm8DYbo,7662
512
+ django_restit-4.2.99.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
513
+ django_restit-4.2.99.dist-info/RECORD,,