morango 0.6.14__py2.py3-none-any.whl → 0.8.6__py2.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 (59) hide show
  1. morango/__init__.py +1 -6
  2. morango/api/serializers.py +3 -0
  3. morango/api/viewsets.py +19 -6
  4. morango/apps.py +1 -2
  5. morango/constants/transfer_stages.py +1 -1
  6. morango/constants/transfer_statuses.py +1 -1
  7. morango/management/commands/cleanupsyncs.py +64 -14
  8. morango/migrations/0001_initial.py +0 -2
  9. morango/migrations/0001_squashed_0024_auto_20240129_1757.py +583 -0
  10. morango/migrations/0002_auto_20170511_0400.py +0 -2
  11. morango/migrations/0002_store_idx_morango_deserialize.py +21 -0
  12. morango/migrations/0003_auto_20170519_0543.py +0 -2
  13. morango/migrations/0004_auto_20170520_2112.py +0 -2
  14. morango/migrations/0005_auto_20170629_2139.py +0 -2
  15. morango/migrations/0006_instanceidmodel_system_id.py +0 -2
  16. morango/migrations/0007_auto_20171018_1615.py +0 -2
  17. morango/migrations/0008_auto_20171114_2217.py +0 -2
  18. morango/migrations/0009_auto_20171205_0252.py +0 -2
  19. morango/migrations/0010_auto_20171206_1615.py +0 -2
  20. morango/migrations/0011_sharedkey.py +0 -2
  21. morango/migrations/0012_auto_20180927_1658.py +0 -2
  22. morango/migrations/0013_auto_20190627_1513.py +0 -2
  23. morango/migrations/0014_syncsession_extra_fields.py +0 -2
  24. morango/migrations/0015_auto_20200508_2104.py +2 -3
  25. morango/migrations/0016_store_deserialization_error.py +2 -3
  26. morango/migrations/0017_store_last_transfer_session_id.py +1 -2
  27. morango/migrations/0018_auto_20210714_2216.py +2 -3
  28. morango/migrations/0019_auto_20220113_1807.py +2 -3
  29. morango/migrations/0020_postgres_fix_nullable.py +0 -2
  30. morango/migrations/0021_store_partition_index_create.py +0 -2
  31. morango/migrations/0022_rename_instance_fields.py +23 -0
  32. morango/migrations/0023_add_instance_id_fields.py +24 -0
  33. morango/migrations/0024_auto_20240129_1757.py +28 -0
  34. morango/models/__init__.py +0 -6
  35. morango/models/certificates.py +137 -28
  36. morango/models/core.py +36 -36
  37. morango/models/fields/crypto.py +20 -6
  38. morango/models/fields/uuids.py +2 -1
  39. morango/models/utils.py +5 -6
  40. morango/proquint.py +2 -3
  41. morango/registry.py +23 -47
  42. morango/sync/backends/utils.py +10 -11
  43. morango/sync/context.py +48 -40
  44. morango/sync/controller.py +10 -1
  45. morango/sync/operations.py +1 -1
  46. morango/sync/session.py +11 -0
  47. morango/sync/syncsession.py +41 -22
  48. morango/urls.py +3 -3
  49. morango/utils.py +2 -3
  50. {morango-0.6.14.dist-info → morango-0.8.6.dist-info}/METADATA +29 -14
  51. morango-0.8.6.dist-info/RECORD +79 -0
  52. {morango-0.6.14.dist-info → morango-0.8.6.dist-info}/WHEEL +1 -1
  53. morango/models/morango_mptt.py +0 -33
  54. morango/settings.py +0 -115
  55. morango/wsgi.py +0 -33
  56. morango-0.6.14.dist-info/RECORD +0 -77
  57. {morango-0.6.14.dist-info → morango-0.8.6.dist-info/licenses}/AUTHORS.md +0 -0
  58. {morango-0.6.14.dist-info → morango-0.8.6.dist-info/licenses}/LICENSE +0 -0
  59. {morango-0.6.14.dist-info → morango-0.8.6.dist-info}/top_level.txt +0 -0
@@ -1,30 +1,47 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: morango
3
- Version: 0.6.14
3
+ Version: 0.8.6
4
4
  Summary: Pure Python sqlite-based Django DB replication engine.
5
5
  Home-page: https://github.com/learningequality/morango
6
6
  Author: Learning Equality
7
7
  Author-email: dev@learningequality.org
8
8
  License: MIT
9
9
  Keywords: database,syncing,morango
10
- Platform: UNKNOWN
11
10
  Classifier: Intended Audience :: Developers
12
11
  Classifier: License :: OSI Approved :: MIT License
13
12
  Classifier: Natural Language :: English
14
13
  Classifier: Development Status :: 4 - Beta
15
- Classifier: Programming Language :: Python :: 2.7
16
- Classifier: Programming Language :: Python :: 3.4
17
- Classifier: Programming Language :: Python :: 3.5
18
14
  Classifier: Programming Language :: Python :: 3.6
15
+ Classifier: Programming Language :: Python :: 3.7
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Requires-Python: >=3.6, <3.14
19
23
  Description-Content-Type: text/markdown
20
- Requires-Dist: django (<2,>=1.10)
21
- Requires-Dist: django-mptt (<0.10.0)
22
- Requires-Dist: rsa (<3.5,>=3.4.2)
23
- Requires-Dist: djangorestframework (==3.9.1)
24
- Requires-Dist: django-ipware (<1.2,>=1.1.6)
25
- Requires-Dist: future (==0.16.0)
24
+ License-File: LICENSE
25
+ License-File: AUTHORS.md
26
+ Requires-Dist: django<4,>=3
27
+ Requires-Dist: django-mptt>0.10.0
28
+ Requires-Dist: rsa<4.10
29
+ Requires-Dist: djangorestframework>3.10
30
+ Requires-Dist: django-ipware==4.0.2
26
31
  Requires-Dist: requests
27
32
  Requires-Dist: ifcfg
33
+ Dynamic: author
34
+ Dynamic: author-email
35
+ Dynamic: classifier
36
+ Dynamic: description
37
+ Dynamic: description-content-type
38
+ Dynamic: home-page
39
+ Dynamic: keywords
40
+ Dynamic: license
41
+ Dynamic: license-file
42
+ Dynamic: requires-dist
43
+ Dynamic: requires-python
44
+ Dynamic: summary
28
45
 
29
46
  # Morango
30
47
 
@@ -57,5 +74,3 @@ make docs
57
74
  # auto-build and refresh docs on edit
58
75
  make docs-autobuild
59
76
  ```
60
-
61
-
@@ -0,0 +1,79 @@
1
+ morango/__init__.py,sha256=VpASnrti7EGWxUfSWGgERUfe7NLJltfVXYosOzHbpPg,22
2
+ morango/apps.py,sha256=bs_LaTt1038Oh0OOWqaZKpF8rL9cg8rqW4hftIILPw8,559
3
+ morango/errors.py,sha256=okjt7FqSHIf3x9SmnmoW6aqNJ_g7Ye3Fx7tuQSNUYEI,1223
4
+ morango/proquint.py,sha256=YRjgceaYD_wDE8R-21AK5m6MSzbarIBP_kDxJ_gHsbQ,3679
5
+ morango/registry.py,sha256=LcHyrNqcqSBAEHJDMS0pinKKzkxRTZjxEyAeZhtrKgo,9480
6
+ morango/urls.py,sha256=pIjnq01BUNxnC0BucRXMr_0H366U5l88k65r67JtHK8,131
7
+ morango/utils.py,sha256=psppzkIjlrmWI2bq2a1wGW0f_0VhdszYleLbm4C4aAs,3652
8
+ morango/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ morango/api/fields.py,sha256=LjEuUrF86JABN45HSXHpUoWHHBDeb73jqD_uS6QY0EA,273
10
+ morango/api/parsers.py,sha256=PxNHz94V3VrSCEVYxuTRO2h8mTg9H7WSy891BxUvsac,557
11
+ morango/api/permissions.py,sha256=B3biuWZfm1VXbIO5pKR2jYBNQBfgY2oKfX3dargtb6A,3550
12
+ morango/api/serializers.py,sha256=GtG_6wcJst68o3NHuIi2q_pX9cOIIIrqmHDZRgR-BdE,5444
13
+ morango/api/urls.py,sha256=D3VFRf4wm1u-Pswu6ZGqJoG-UHQFTI7GGXcqNyz0t5Y,1037
14
+ morango/api/viewsets.py,sha256=qxc4RhQrnJKVAq6F1X9Yo1tv3eGmvF0QJ8-gBrR9lOA,20859
15
+ morango/constants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ morango/constants/api_urls.py,sha256=mmGJyyVtrMxjIMAF2iBHbjGVndsvW_z1IQH-GhW3L-g,453
17
+ morango/constants/capabilities.py,sha256=KaTQpfpg6l4G0aGXJnOKi7ibbshdg-1fA9aLl-Qc_Oc,166
18
+ morango/constants/settings.py,sha256=dygRwRZhYkTdRhEltc5QqdoQBLkuZ-f9fdFMVrCaDpQ,2009
19
+ morango/constants/transfer_stages.py,sha256=mp-1V22ba0gKdylJgnUJ8Jh-Qs9-3-LsY_Q_cxRUgmI,1378
20
+ morango/constants/transfer_statuses.py,sha256=BU3_dx7RxXpWF3pDjC9JsDe2xzKSGiqZFVBbdIY7_aQ,509
21
+ morango/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
+ morango/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
+ morango/management/commands/cleanupsyncs.py,sha256=Huaz8etLNbmW8X-Vy4x1QY801JYln0iyaeUTJF2L3kE,4833
24
+ morango/migrations/0001_initial.py,sha256=ZFEKusKCIUsgUuHpF-eWqEqu7FrhO2ikkfu5KfYfXx0,11892
25
+ morango/migrations/0001_squashed_0024_auto_20240129_1757.py,sha256=K-71iKz9cKpb-zrxuoDJVWafZM3U_hM6EpX6aNzsFjM,21770
26
+ morango/migrations/0002_auto_20170511_0400.py,sha256=9EQcTl2xHd-rwx_NWCLzo8GU3u7MFA3WOryyKYEbHUw,2263
27
+ morango/migrations/0002_store_idx_morango_deserialize.py,sha256=AbfcuoovuViGRugR5lH86E3JgfgBa_4koTp5vMiUAh8,568
28
+ morango/migrations/0003_auto_20170519_0543.py,sha256=5YfHW6IcT57tgaXW6pnWHmL6kfgauTW2nao9zQr3nP8,641
29
+ morango/migrations/0004_auto_20170520_2112.py,sha256=T7rGjSPXUGnanDr5SJKj5SHZEQYSIaND60vRaK3DObw,517
30
+ morango/migrations/0005_auto_20170629_2139.py,sha256=PL1I3wybrDgDxY8hSmZmUfpxOulr6O2ywui7ue_dvKw,654
31
+ morango/migrations/0006_instanceidmodel_system_id.py,sha256=L4Y5VN1-IBnBPs-lyQrJronf5lrXjvwGFSTKuug-jjo,435
32
+ morango/migrations/0007_auto_20171018_1615.py,sha256=otylWm8eBH8W_fJx-W5C6e8mfhqPdrb-6SZh0GCpFZo,8149
33
+ morango/migrations/0008_auto_20171114_2217.py,sha256=x_2rKsqfH-yRHmuV3qnBgPRBBe0C2Z08aryWcBZU_jw,2085
34
+ morango/migrations/0009_auto_20171205_0252.py,sha256=XxkPK4AsERDw6ZBojS0M1ElMTuhVjxRWDSMDMnvPbDM,359
35
+ morango/migrations/0010_auto_20171206_1615.py,sha256=2Svr2sMBO31fOzm26HdgAL-YmHGOzgWnDMEuoaDWrOU,800
36
+ morango/migrations/0011_sharedkey.py,sha256=fZkD4-2d628Cg0-ekvQnI_CAIVCuei4R2zre9_i87ms,926
37
+ morango/migrations/0012_auto_20180927_1658.py,sha256=29ibsHWltRyUk3lXR3ZLzmeCY2SRWpW7KXU8zmTzIfk,946
38
+ morango/migrations/0013_auto_20190627_1513.py,sha256=eG6pdMh_xqz9nfn9z0F987rR12i6JswSFFKCjsHwsCQ,464
39
+ morango/migrations/0014_syncsession_extra_fields.py,sha256=11qg91F0ZCaxh3AS17xEUH5xlxBDyWSi3RRgbE593xE,440
40
+ morango/migrations/0015_auto_20200508_2104.py,sha256=nD3FkddbgWYDoIau79X5-gq_xMjlJV_EQF14MYff-Fc,667
41
+ morango/migrations/0016_store_deserialization_error.py,sha256=yGenUzUrcIzWDR2_7h0tU_8M-2tBC2-ldjcPrV6510M,441
42
+ morango/migrations/0017_store_last_transfer_session_id.py,sha256=oVQUlvo247JgecQ2NY-Xb5kyoK4rRhb09YbrRj1enmo,521
43
+ morango/migrations/0018_auto_20210714_2216.py,sha256=ghAZmcFXqlWPuSiFt-ikwfZJg-3IKOXiC_sa6nbzme0,1599
44
+ morango/migrations/0019_auto_20220113_1807.py,sha256=jRbNz8OQScW4KN-JsY_KZb7yy5kSO30iWhSAhCHC6w4,1521
45
+ morango/migrations/0020_postgres_fix_nullable.py,sha256=QHgSdEzmIzpLn0HXDWRepmBhvc7S-1emErNQVyrYAfA,1206
46
+ morango/migrations/0021_store_partition_index_create.py,sha256=B9p20AQA0BVqlfmaPYd4RAghYtJKvrdzafWIUAbV7w0,2209
47
+ morango/migrations/0022_rename_instance_fields.py,sha256=xn2PGlgkHOPRYBHrbGdh6XGGHl_X5HPFEIgmGIG0Ycw,592
48
+ morango/migrations/0023_add_instance_id_fields.py,sha256=ovO_AVGLPlLpEc72UhrJ0TpFYCci_CzDcEdmnNJzLew,635
49
+ morango/migrations/0024_auto_20240129_1757.py,sha256=Buy1T4PiTFo8zP7p2HY-3gmiJurQsSnu7CBgTSvOxXg,762
50
+ morango/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
+ morango/models/__init__.py,sha256=ws6VwRPs7iKLRfFSuRpUESTZlGEmSk0Nv61chh-Gn2Q,1722
52
+ morango/models/certificates.py,sha256=4s7YTNhmTXLyPuhpZZay-Dei8pdq2WqlOshNwGxzlOE,19380
53
+ morango/models/core.py,sha256=-yZ01bS0nXNV0BL_wTHEc4x-7Hh_69hn3MyUunGK2SU,39080
54
+ morango/models/fsic_utils.py,sha256=B9RM-uPZFvEXWbsPeeit5qA21gKGpA0NkKCLFIdNI_0,7130
55
+ morango/models/manager.py,sha256=fzzX7k8qV5W5dMBb0ASOBNRJRpvQZbEG1hgyuMtzt4g,163
56
+ morango/models/query.py,sha256=eHcf9PYYEDShN6lRng7Ow9RJwNFPdKI1hDbVUXeyl9U,869
57
+ morango/models/signals.py,sha256=R17Fqddbg2AgAVnH4oZPrDQMWi94R2XsLmnUbrgKS2I,478
58
+ morango/models/utils.py,sha256=8J138TR3FkslovfUWkLLEpODieFtmHKne7Lm1I8iPXk,6588
59
+ morango/models/fields/__init__.py,sha256=dzxg8-_v3irXkPnyCsiVDur0gG0RJfKzFcshjL6Y-9s,225
60
+ morango/models/fields/crypto.py,sha256=Q_y7s-UpFEz9zXFaAkEDOmqwx4b19F7wbTafpd_XPp4,14509
61
+ morango/models/fields/uuids.py,sha256=w7M8KlA8oLPascq14tcor89V92IGxx2XtdweS-0lF6A,4275
62
+ morango/sync/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
+ morango/sync/context.py,sha256=r3sHkmb7OYCqLm3C0ADv2qvdXeZHTBwLGe6wkMdOMGc,18163
64
+ morango/sync/controller.py,sha256=ZfvXFNptduxhtF72E07o9Dh3Fcnk7xSyjvMTZ---oZw,11666
65
+ morango/sync/operations.py,sha256=ErZ-W4MiCUVl_vn0pFi8DWGgT1C9wOAH4AagCMdLBOs,69502
66
+ morango/sync/session.py,sha256=9CTLhpEPM8q1M_b2HHxouZbzm7vBJoImoqPWqdodgII,3853
67
+ morango/sync/syncsession.py,sha256=fhm7r3DHeBXDSWG0k7I2slhgxe3ebtmXouZHTzUQ9cs,25846
68
+ morango/sync/utils.py,sha256=BrG8CYVmaAhRNa_HYuPCYSnncskSsW_ig0Cf7xsY2mo,8792
69
+ morango/sync/backends/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
+ morango/sync/backends/base.py,sha256=zQP5hOB2Qw0qv0G00LXFHl2GQ3b0bheyujdNVl5rT-8,10867
71
+ morango/sync/backends/postgres.py,sha256=N0IeXN67AkdQKlD20b8LQZ1ocdarapL8pqu8FQAc6lM,19850
72
+ morango/sync/backends/sqlite.py,sha256=vg7kWFIF346-NjVwexYfjYbrrOyzzvcCmk5uUkqhabw,12850
73
+ morango/sync/backends/utils.py,sha256=UvyYByzRenOwtDvLPO_1wIOE8Yr88FnuAM2c4VSk7uQ,5145
74
+ morango-0.8.6.dist-info/licenses/AUTHORS.md,sha256=9Ussd3Fq3RPjHyQT_3AyGss5jiVbn858WQuIBOi1ajI,276
75
+ morango-0.8.6.dist-info/licenses/LICENSE,sha256=RkI6MjmrrTKa3aoPAVyk9QdeLZclcrKds6FH3phRSRU,1074
76
+ morango-0.8.6.dist-info/METADATA,sha256=Qy4IvvYvDLsslhq2TzulHvZDzqEBvPBhMjFCwpBi0IQ,2819
77
+ morango-0.8.6.dist-info/WHEEL,sha256=AeO2BvogYWm3eGaHCvhzmUYt8ia7KfURiHzO_1atlys,109
78
+ morango-0.8.6.dist-info/top_level.txt,sha256=pzREWN0EeEq3yHDRast9XI081Ow_rtcm7WV0ZQTlIPY,8
79
+ morango-0.8.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.37.1)
2
+ Generator: setuptools (79.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any
@@ -1,33 +0,0 @@
1
- from mptt import managers
2
- from mptt import models
3
- from mptt import querysets
4
-
5
- from .manager import SyncableModelManager
6
- from .query import SyncableModelQuerySet
7
-
8
-
9
- class MorangoTreeQuerySet(querysets.TreeQuerySet, SyncableModelQuerySet):
10
- pass
11
-
12
-
13
- class MorangoMPTTTreeManager(managers.TreeManager, SyncableModelManager):
14
- def get_queryset(self):
15
- return MorangoTreeQuerySet(self.model, using=self._db)
16
-
17
- def _mptt_update(self, qs=None, **items):
18
- items["update_dirty_bit_to"] = None
19
- return super(MorangoMPTTTreeManager, self)._mptt_update(qs, **items)
20
-
21
-
22
- class MorangoMPTTModel(models.MPTTModel):
23
- """
24
- Any model that inherits from ``SyncableModel`` that also wants to inherit from ``MPTTModel`` should instead inherit
25
- from ``MorangoMPTTModel``, which modifies some behavior to make it safe for the syncing system.
26
- """
27
-
28
- _internal_mptt_fields_not_to_serialize = ("lft", "rght", "tree_id", "level")
29
-
30
- objects = MorangoMPTTTreeManager()
31
-
32
- class Meta:
33
- abstract = True
morango/settings.py DELETED
@@ -1,115 +0,0 @@
1
- """
2
- Django settings for testapp project.
3
-
4
- Generated by 'django-admin startproject' using Django 1.9.7.
5
-
6
- For more information on this file, see
7
- https://docs.djangoproject.com/en/1.9/topics/settings/
8
-
9
- For the full list of settings and their values, see
10
- https://docs.djangoproject.com/en/1.9/ref/settings/
11
- """
12
- import os
13
-
14
- # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
15
- BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
16
-
17
-
18
- # Quick-start development settings - unsuitable for production
19
- # See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/
20
-
21
- # SECURITY WARNING: keep the secret key used in production secret!
22
- SECRET_KEY = "-#()od3p8n@o&9kcj(s63!#^tziq+j!nuwlyptw#o06t&wrk$q"
23
-
24
- # SECURITY WARNING: don't run with debug turned on in production!
25
- DEBUG = True
26
-
27
- ALLOWED_HOSTS = []
28
-
29
-
30
- # Application definition
31
-
32
- INSTALLED_APPS = [
33
- "django.contrib.admin",
34
- "django.contrib.auth",
35
- "django.contrib.contenttypes",
36
- "django.contrib.sessions",
37
- "django.contrib.messages",
38
- "django.contrib.staticfiles",
39
- "rest_framework",
40
- "morango",
41
- ]
42
-
43
- MIDDLEWARE_CLASSES = [
44
- "django.middleware.security.SecurityMiddleware",
45
- "django.contrib.sessions.middleware.SessionMiddleware",
46
- "django.middleware.common.CommonMiddleware",
47
- "django.middleware.csrf.CsrfViewMiddleware",
48
- "django.contrib.auth.middleware.AuthenticationMiddleware",
49
- "django.contrib.auth.middleware.SessionAuthenticationMiddleware",
50
- "django.contrib.messages.middleware.MessageMiddleware",
51
- "django.middleware.clickjacking.XFrameOptionsMiddleware",
52
- ]
53
-
54
-
55
- TEMPLATES = [
56
- {
57
- "BACKEND": "django.template.backends.django.DjangoTemplates",
58
- "DIRS": [],
59
- "APP_DIRS": True,
60
- "OPTIONS": {
61
- "context_processors": [
62
- "django.template.context_processors.debug",
63
- "django.template.context_processors.request",
64
- "django.contrib.auth.context_processors.auth",
65
- "django.contrib.messages.context_processors.messages",
66
- ]
67
- },
68
- }
69
- ]
70
-
71
- WSGI_APPLICATION = "testapp.wsgi.application"
72
-
73
-
74
- # Database
75
- # https://docs.djangoproject.com/en/1.9/ref/settings/#databases
76
-
77
- DATABASES = {
78
- "default": {
79
- "ENGINE": "django.db.backends.sqlite3",
80
- "NAME": os.path.join(BASE_DIR, "testapp.db"),
81
- }
82
- }
83
-
84
-
85
- # Password validation
86
- # https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators
87
-
88
- AUTH_PASSWORD_VALIDATORS = [
89
- {
90
- "NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator"
91
- },
92
- {"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator"},
93
- {"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator"},
94
- {"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator"},
95
- ]
96
-
97
-
98
- # Internationalization
99
- # https://docs.djangoproject.com/en/1.9/topics/i18n/
100
-
101
- LANGUAGE_CODE = "en-us"
102
-
103
- TIME_ZONE = "UTC"
104
-
105
- USE_I18N = True
106
-
107
- USE_L10N = True
108
-
109
- USE_TZ = True
110
-
111
-
112
- # Static files (CSS, JavaScript, Images)
113
- # https://docs.djangoproject.com/en/1.9/howto/static-files/
114
-
115
- STATIC_URL = "/static/"
morango/wsgi.py DELETED
@@ -1,33 +0,0 @@
1
- """
2
- WSGI config for morango project.
3
-
4
- This module contains the WSGI application used by Django's development server
5
- and any production WSGI deployments. It should expose a module-level variable
6
- named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover
7
- this application via the ``WSGI_APPLICATION`` setting.
8
-
9
- Usually you will have the standard Django WSGI application here, but it also
10
- might make sense to replace the whole Django WSGI application with a custom one
11
- that later delegates to the Django one. For example, you could introduce WSGI
12
- middleware here, or combine a Django application with an application of another
13
- framework.
14
-
15
- """
16
- import os
17
-
18
- from django.core.wsgi import get_wsgi_application
19
-
20
- # We defer to a DJANGO_SETTINGS_MODULE already in the environment. This breaks
21
- # if running multiple sites in the same mod_wsgi process. To fix this, use
22
- # mod_wsgi daemon mode with each site in its own daemon process, or use
23
- # os.environ["DJANGO_SETTINGS_MODULE"] = "morango.settings"
24
- os.environ.setdefault("DJANGO_SETTINGS_MODULE", "morango.settings")
25
-
26
- # This application object is used by any WSGI server configured to use this
27
- # file. This includes Django's development server, if the WSGI_APPLICATION
28
- # setting points here.
29
- application = get_wsgi_application()
30
-
31
- # Apply WSGI middleware here.
32
- # from helloworld.wsgi import HelloWorldApplication
33
- # application = HelloWorldApplication(application)
@@ -1,77 +0,0 @@
1
- morango/__init__.py,sha256=yUOP9e7Q13yW53O1BwR77OBJBji62QGaYeOKbNB2gQw,191
2
- morango/apps.py,sha256=qJ0Tu2YmprNC-7iYlOb1OTG-JxRAweHLnbyb5kHlU9U,546
3
- morango/errors.py,sha256=okjt7FqSHIf3x9SmnmoW6aqNJ_g7Ye3Fx7tuQSNUYEI,1223
4
- morango/proquint.py,sha256=oHlbNPi7bkqylUhRbq9GbpdtywxU0AXKslJrowcsrqg,3735
5
- morango/registry.py,sha256=Pfzuy3q2BLz4cGs04kZ3UEViIZyz0yBG-CqPGoZ1xRs,10992
6
- morango/settings.py,sha256=uz5QCZd4iu3kM7mNNIR-nViC7sb4J8qDedR3O_pSsN8,3127
7
- morango/urls.py,sha256=osmMP1nhEfNAgSJVJgeoQHP4muHOHxtjk-SEcx7Jdy8,141
8
- morango/utils.py,sha256=_ttgTOw4g1Mb1huzP3Xgc4Bj5HzZq8_2M0TAhNp8MTc,3676
9
- morango/wsgi.py,sha256=7CzuNg76E8SVKqMEbFIB1zlOFw9stoXja9a0J64qBRw,1423
10
- morango/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- morango/api/fields.py,sha256=LjEuUrF86JABN45HSXHpUoWHHBDeb73jqD_uS6QY0EA,273
12
- morango/api/parsers.py,sha256=PxNHz94V3VrSCEVYxuTRO2h8mTg9H7WSy891BxUvsac,557
13
- morango/api/permissions.py,sha256=B3biuWZfm1VXbIO5pKR2jYBNQBfgY2oKfX3dargtb6A,3550
14
- morango/api/serializers.py,sha256=QocZSd7E2InKcteZZuGtGqpXCt0UzCjGlwlTgLrtKeQ,5293
15
- morango/api/urls.py,sha256=D3VFRf4wm1u-Pswu6ZGqJoG-UHQFTI7GGXcqNyz0t5Y,1037
16
- morango/api/viewsets.py,sha256=XEVY0W9yC2zqX_L2cGcJ3VpQS_YGzS3WoartfcF6dYQ,20396
17
- morango/constants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
- morango/constants/api_urls.py,sha256=mmGJyyVtrMxjIMAF2iBHbjGVndsvW_z1IQH-GhW3L-g,453
19
- morango/constants/capabilities.py,sha256=KaTQpfpg6l4G0aGXJnOKi7ibbshdg-1fA9aLl-Qc_Oc,166
20
- morango/constants/settings.py,sha256=dygRwRZhYkTdRhEltc5QqdoQBLkuZ-f9fdFMVrCaDpQ,2009
21
- morango/constants/transfer_stages.py,sha256=nmM-ywKPFcwOICPkHN_1e4xFOWTxwnvb99hr7du2HiM,1379
22
- morango/constants/transfer_statuses.py,sha256=__Reiqxal53Obq-Hch-Ty-HJwlEUZLFSBdRF9ytim0I,510
23
- morango/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
- morango/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
- morango/management/commands/cleanupsyncs.py,sha256=cOgm5p9hO_xyPUSOmNw5r76WyGej2n7h9SN7bTmuAiE,3044
26
- morango/migrations/0001_initial.py,sha256=ZUmqmw6DneAFBfsfhapyC3cIDneV9zqC7Lws61UN2VA,11933
27
- morango/migrations/0002_auto_20170511_0400.py,sha256=6gTEf4g56Y6ZvL0UHGK0AQvURPaWuAmpRVKONdP1GH4,2304
28
- morango/migrations/0003_auto_20170519_0543.py,sha256=ltBTLl130cjwtRao0zw_FXkEWMrGMTRj1mpgpJmaWP0,682
29
- morango/migrations/0004_auto_20170520_2112.py,sha256=rfINmzNZ7XP6XNb1Tx-RA7ItgHvboO8ggiiHakfBVok,558
30
- morango/migrations/0005_auto_20170629_2139.py,sha256=16Vf25ilpBQGoCbS31qRmnmBpnPER78cvfpTO8OfUIE,695
31
- morango/migrations/0006_instanceidmodel_system_id.py,sha256=dGt5i0sHUH_TJt8EhEbwHJ5nHPbMRoCw0buMKzHdlNU,476
32
- morango/migrations/0007_auto_20171018_1615.py,sha256=0Uy_QyS6Io0HZOhX6f8aNi3tUAFBOT8YKDUwIYDbtLU,8190
33
- morango/migrations/0008_auto_20171114_2217.py,sha256=CmgsrY62QR6q4-Knp6Wprdjlisw2Eoj82EWe6G5QxMQ,2126
34
- morango/migrations/0009_auto_20171205_0252.py,sha256=rLxitLhMZmlNQEyhO2fKbz0uP-GY89CVeHg9RnmeBBA,400
35
- morango/migrations/0010_auto_20171206_1615.py,sha256=hSRatMPa02elBmZCIpjyMHCaTRwPS5r6HM_pc1z4Txs,841
36
- morango/migrations/0011_sharedkey.py,sha256=pEi7FOC4F9u9uQvtXZf-WkdjOtGqtx0IzLo-fPU6ucc,967
37
- morango/migrations/0012_auto_20180927_1658.py,sha256=vpDk_-iMdp6HkxsQUIrbg-G3QtkJQiEmloKOxayqUPk,987
38
- morango/migrations/0013_auto_20190627_1513.py,sha256=S2omdNIst5MOYHRf3u6CuXa5LtYdNmGHsX2ix8U2RDQ,505
39
- morango/migrations/0014_syncsession_extra_fields.py,sha256=1-o6Gu8KQs1ZzS8wkAUoQ7GoW43uoybQgClGfL2sSu0,481
40
- morango/migrations/0015_auto_20200508_2104.py,sha256=yt-i9gpBdprUTmoGl9me7a9b4BDfPUCN4nTZ22XdAHk,687
41
- morango/migrations/0016_store_deserialization_error.py,sha256=N0vftS_YKYws7rA-0SnPmT-_sLmyZvXTOr6FqaE2-MU,461
42
- morango/migrations/0017_store_last_transfer_session_id.py,sha256=eV3kSaX83O5gjA3KIBY0D-tzOVzTFMw_HNX31Y9IJtc,561
43
- morango/migrations/0018_auto_20210714_2216.py,sha256=paW3ofWuswa9BHCz2a-EvAUY6Ud-dqf0Cl6AM5sMcQI,1619
44
- morango/migrations/0019_auto_20220113_1807.py,sha256=xL-ZfBRqt5VJnDRywnZMk9q_t5UFXlwZwOV20mpQoAg,1541
45
- morango/migrations/0020_postgres_fix_nullable.py,sha256=BbViJ4TpziwfZcqQ7PRUuKOiJj13veXmozulbx0ouGY,1247
46
- morango/migrations/0021_store_partition_index_create.py,sha256=dqhfP6N0l68uIt3PI3kFbUln48g90mQINj1QO7jfUio,2250
47
- morango/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
- morango/models/__init__.py,sha256=6sTAlg7gpmX9xRmjw4GPLdjh6_FzZJEN-WEtRBsgGA8,1983
49
- morango/models/certificates.py,sha256=riXpI1bneukiz9bYszozSDyM0WSTb1sOsPKRsG8QGM4,15279
50
- morango/models/core.py,sha256=BIwMAxNcPZloGFqrkpvv0xiajNcrDhdTe20_vw8Jtx4,38557
51
- morango/models/fsic_utils.py,sha256=B9RM-uPZFvEXWbsPeeit5qA21gKGpA0NkKCLFIdNI_0,7130
52
- morango/models/manager.py,sha256=fzzX7k8qV5W5dMBb0ASOBNRJRpvQZbEG1hgyuMtzt4g,163
53
- morango/models/morango_mptt.py,sha256=K_ZF0lRv3EX6n5K5iCSCjDx4qVnMIG_gq9dAyIIQLIU,1024
54
- morango/models/query.py,sha256=eHcf9PYYEDShN6lRng7Ow9RJwNFPdKI1hDbVUXeyl9U,869
55
- morango/models/signals.py,sha256=R17Fqddbg2AgAVnH4oZPrDQMWi94R2XsLmnUbrgKS2I,478
56
- morango/models/utils.py,sha256=BCxsLIilPzkbfMQ2PnpUgxFc1wLP7o2pyYIf4-UJX9M,6644
57
- morango/models/fields/__init__.py,sha256=dzxg8-_v3irXkPnyCsiVDur0gG0RJfKzFcshjL6Y-9s,225
58
- morango/models/fields/crypto.py,sha256=S22N-SkQUxL2i032i_dDR-VuPXYHQ6AjsbJ9rqfAdaw,13984
59
- morango/models/fields/uuids.py,sha256=aZcT7RmsK3kLq3VgQsSSFJcx6zsj9kHo7VwxVz4LOTE,4283
60
- morango/sync/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
61
- morango/sync/context.py,sha256=_gqfE-RfTIn0UMKFeI2snIJEGCbmR_NRl-Ts5u35B7Q,17815
62
- morango/sync/controller.py,sha256=hluvc7CwuCvekXNhsbGZ2jl72464poY_pLtdu_mToXY,11289
63
- morango/sync/operations.py,sha256=jDIHPF8IdqoUOer3aaoq9VHcL0-BVeS7-wlMxMHA1-w,69494
64
- morango/sync/session.py,sha256=SDM120mzRItszCpVmWBGNWbJX9S-f8kUj0NB9MFmPDI,3293
65
- morango/sync/syncsession.py,sha256=CWfOVmI_tMpa8023CPysqm8AY5Pg5stqhK4idTvKnLk,24765
66
- morango/sync/utils.py,sha256=BrG8CYVmaAhRNa_HYuPCYSnncskSsW_ig0Cf7xsY2mo,8792
67
- morango/sync/backends/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
- morango/sync/backends/base.py,sha256=zQP5hOB2Qw0qv0G00LXFHl2GQ3b0bheyujdNVl5rT-8,10867
69
- morango/sync/backends/postgres.py,sha256=N0IeXN67AkdQKlD20b8LQZ1ocdarapL8pqu8FQAc6lM,19850
70
- morango/sync/backends/sqlite.py,sha256=vg7kWFIF346-NjVwexYfjYbrrOyzzvcCmk5uUkqhabw,12850
71
- morango/sync/backends/utils.py,sha256=KaTfj8dKrhRhl6wua2m_jKifmLZ2Kzsd8wPi1NWEtHM,5198
72
- morango-0.6.14.dist-info/AUTHORS.md,sha256=9Ussd3Fq3RPjHyQT_3AyGss5jiVbn858WQuIBOi1ajI,276
73
- morango-0.6.14.dist-info/LICENSE,sha256=RkI6MjmrrTKa3aoPAVyk9QdeLZclcrKds6FH3phRSRU,1074
74
- morango-0.6.14.dist-info/METADATA,sha256=VYJwGWsBg4WTs3xj02xfY5x4qH7XVq2dX_49o0_qj8s,2369
75
- morango-0.6.14.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
76
- morango-0.6.14.dist-info/top_level.txt,sha256=pzREWN0EeEq3yHDRast9XI081Ow_rtcm7WV0ZQTlIPY,8
77
- morango-0.6.14.dist-info/RECORD,,