django-spire 0.18.0__py3-none-any.whl → 0.18.2__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.
- django_spire/consts.py +1 -1
- django_spire/contrib/seeding/model/base.py +1 -2
- django_spire/knowledge/migrations/0006_alter_entryversionblock_type.py +18 -0
- django_spire/notification/app/querysets.py +2 -2
- {django_spire-0.18.0.dist-info → django_spire-0.18.2.dist-info}/METADATA +1 -1
- {django_spire-0.18.0.dist-info → django_spire-0.18.2.dist-info}/RECORD +9 -8
- {django_spire-0.18.0.dist-info → django_spire-0.18.2.dist-info}/WHEEL +0 -0
- {django_spire-0.18.0.dist-info → django_spire-0.18.2.dist-info}/licenses/LICENSE.md +0 -0
- {django_spire-0.18.0.dist-info → django_spire-0.18.2.dist-info}/top_level.txt +0 -0
django_spire/consts.py
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
from abc import ABC, abstractmethod
|
|
2
2
|
|
|
3
3
|
from dandy.recorder import recorder_to_html_file
|
|
4
|
-
from dandy import SqliteCache
|
|
5
|
-
from dandy.cache.tools import generate_cache_key
|
|
4
|
+
from dandy import SqliteCache, generate_cache_key
|
|
6
5
|
|
|
7
6
|
from django_spire.contrib.seeding.field.override import FieldOverride
|
|
8
7
|
from django_spire.contrib.seeding.model.config import FieldsConfig
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated by Django 5.2.7 on 2025-10-25 15:14
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
('django_spire_knowledge', '0005_entryversionblock__tunes_data_and_more'),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AlterField(
|
|
14
|
+
model_name='entryversionblock',
|
|
15
|
+
name='type',
|
|
16
|
+
field=models.CharField(choices=[('text', 'Text'), ('heading', 'Heading'), ('list', 'List')], default='text', max_length=32),
|
|
17
|
+
),
|
|
18
|
+
]
|
|
@@ -26,8 +26,8 @@ class AppNotificationQuerySet(HistoryQuerySet, NotificationContentObjectQuerySet
|
|
|
26
26
|
output_field=IntegerField(),
|
|
27
27
|
)
|
|
28
28
|
return self.annotate(priority_order=priority_order).order_by(
|
|
29
|
-
'
|
|
30
|
-
'
|
|
29
|
+
'-notification__sent_datetime',
|
|
30
|
+
'priority_order'
|
|
31
31
|
)
|
|
32
32
|
|
|
33
33
|
def by_user(self, user: User) -> QuerySet:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: django-spire
|
|
3
|
-
Version: 0.18.
|
|
3
|
+
Version: 0.18.2
|
|
4
4
|
Summary: A project for Django Spire
|
|
5
5
|
Author-email: Brayden Carlson <braydenc@stratusadv.com>, Nathan Johnson <nathanj@stratusadv.com>
|
|
6
6
|
License: Copyright (c) 2024 Stratus Advanced Technologies and Contributors.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
django_spire/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
django_spire/conf.py,sha256=EYC1hXqYqheYrb_b6Q93LrSgNl91JV633E4N5j-KGTo,1012
|
|
3
|
-
django_spire/consts.py,sha256=
|
|
3
|
+
django_spire/consts.py,sha256=5NRlD1cO61h23gixPivp1LEUs9xLtUk2x0tp3zuQDgA,390
|
|
4
4
|
django_spire/exceptions.py,sha256=L5ndRO5ftMmh0pHkO2z_NG3LSGZviJ-dDHNT73SzTNw,48
|
|
5
5
|
django_spire/settings.py,sha256=tGxgEri3TQRBaiwX7YRcWifMf_g1xv1RznplFR6zZnI,821
|
|
6
6
|
django_spire/urls.py,sha256=mKeZszb5U4iIGqddMb5Tt5fRC72U2wABEOi6mvOfEBU,656
|
|
@@ -377,7 +377,7 @@ django_spire/contrib/seeding/management/example.py,sha256=gVRnd5prEbIFgehoUOL8TM
|
|
|
377
377
|
django_spire/contrib/seeding/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
378
378
|
django_spire/contrib/seeding/management/commands/seeding.py,sha256=MQKYtw2HmoKbBfQAy_ajmxXgRTmzurmF__b0DE3v_wk,1617
|
|
379
379
|
django_spire/contrib/seeding/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
380
|
-
django_spire/contrib/seeding/model/base.py,sha256=
|
|
380
|
+
django_spire/contrib/seeding/model/base.py,sha256=76YEN472kCa4ZrI9pl612NpyElGtIIK7G-R4JA7ysD8,3215
|
|
381
381
|
django_spire/contrib/seeding/model/config.py,sha256=ithRH5Em1ixKCVRMGenQsdRaOGuS0BkNMIicsRWH1-c,2049
|
|
382
382
|
django_spire/contrib/seeding/model/enums.py,sha256=jLh6araHD6LrhzCvex8-xNQQLru2Y6XxjPKkiC0ISCo,129
|
|
383
383
|
django_spire/contrib/seeding/model/django/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -910,6 +910,7 @@ django_spire/knowledge/migrations/0002_alter_entryversionblock_type.py,sha256=Eg
|
|
|
910
910
|
django_spire/knowledge/migrations/0003_alter_collection_order_alter_entry_order_and_more.py,sha256=nIIUg1lHQ1iLbPlOulwZgzHrP1erGMYVXDaEdDXv4ik,749
|
|
911
911
|
django_spire/knowledge/migrations/0004_alter_collection_options_collectiongroup.py,sha256=Ds6axLJLsmbcJORQmmwHe0aTYhpDJEgGH-UkL0jIk2k,1309
|
|
912
912
|
django_spire/knowledge/migrations/0005_entryversionblock__tunes_data_and_more.py,sha256=sA_YCnFX6R2Wt9OecVpW4Sj27k2iRcw4KbyJVdcQYqY,771
|
|
913
|
+
django_spire/knowledge/migrations/0006_alter_entryversionblock_type.py,sha256=-FPS118i3wwbfuXIPv4fNQiKu59X35E2r2zEFgDyNgo,516
|
|
913
914
|
django_spire/knowledge/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
914
915
|
django_spire/knowledge/seeding/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
915
916
|
django_spire/knowledge/seeding/seed.py,sha256=LRhVfPHiFluSLLtjSY44YM9Oo1Hvfs_U-ksRvKk7pOg,97
|
|
@@ -975,7 +976,7 @@ django_spire/notification/app/context_data.py,sha256=p-Iw9XP6sfZqhQMayWz_8Oywr_H
|
|
|
975
976
|
django_spire/notification/app/exceptions.py,sha256=CBCMuzm8I8kYW67qBHpZwKB5YordzufjsJ7prKcOo2E,122
|
|
976
977
|
django_spire/notification/app/models.py,sha256=-vWoB2Hjacp5KDg-do-9YdVNgMW8ML5oN7vFXsh2-u8,2081
|
|
977
978
|
django_spire/notification/app/processor.py,sha256=Di_sgwvAHbq7aO7p3J6LTFRmYNgfa5qxsOSqIYwefeI,2873
|
|
978
|
-
django_spire/notification/app/querysets.py,sha256=
|
|
979
|
+
django_spire/notification/app/querysets.py,sha256=K0vXsFUtKoXumVXAqYdrUYTOqHnexTYmsbgNjKl02xI,1819
|
|
979
980
|
django_spire/notification/app/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
|
|
980
981
|
django_spire/notification/app/migrations/0001_initial.py,sha256=ecwU6tJ5qZBKl3uAgpv_L74OUepxYgLvr3ssRYSfxxs,1439
|
|
981
982
|
django_spire/notification/app/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -1092,8 +1093,8 @@ django_spire/theme/urls/page_urls.py,sha256=S8nkKkgbhG3XHI3uMUL-piOjXIrRkuY2UlM_
|
|
|
1092
1093
|
django_spire/theme/views/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1093
1094
|
django_spire/theme/views/json_views.py,sha256=W1khC2K_EMbEzAFmMxC_P76_MFnkRH4-eVdodrRfAhw,1904
|
|
1094
1095
|
django_spire/theme/views/page_views.py,sha256=pHr8iekjtR99xs7w1taj35HEo133Svq1dvDD0y0VL1c,3933
|
|
1095
|
-
django_spire-0.18.
|
|
1096
|
-
django_spire-0.18.
|
|
1097
|
-
django_spire-0.18.
|
|
1098
|
-
django_spire-0.18.
|
|
1099
|
-
django_spire-0.18.
|
|
1096
|
+
django_spire-0.18.2.dist-info/licenses/LICENSE.md,sha256=tlTbOtgKoy-xAQpUk9gPeh9O4oRXCOzoWdW3jJz0wnA,1091
|
|
1097
|
+
django_spire-0.18.2.dist-info/METADATA,sha256=rKIFOP-Pa4Sl4cP7KxLIaAIepPRcuPoqSG2xI4kEUUg,4974
|
|
1098
|
+
django_spire-0.18.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
1099
|
+
django_spire-0.18.2.dist-info/top_level.txt,sha256=xf3QV1e--ONkVpgMDQE9iqjQ1Vg4--_6C8wmO-KxPHQ,13
|
|
1100
|
+
django_spire-0.18.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|