File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed
Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -325,9 +325,7 @@ def maybe_trigger_precache(self):
325325
326326 try :
327327 # Check new and old env var names for synchronous mode
328- force_sync_mode = os .environ .get (
329- FORCE_SYNC_PRECACHE_ENV_VAR
330- )
328+ force_sync_mode = os .environ .get (FORCE_SYNC_PRECACHE_ENV_VAR )
331329
332330 if force_sync_mode :
333331 print (
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ class FastCount(models.Model):
77 Stores cached counts for specific model querysets.
88 """
99
10+ id = models .BigAutoField (
11+ primary_key = True
12+ ) # Explicit so project settings do not override
1013 content_type = models .ForeignKey (
1114 ContentType ,
1215 on_delete = models .CASCADE ,
Original file line number Diff line number Diff line change 1010
1111setup (
1212 name = "django-fast-count" ,
13- version = "0.1.7 " ,
13+ version = "0.1.9 " ,
1414 description = "A fast Django .count() implementation for large tables." ,
1515 long_description = README ,
1616 long_description_content_type = "text/markdown" ,
2222 install_requires = [
2323 "django>=3.2" ,
2424 ],
25- entry_points = {
26- "console_scripts" : [
27- "dir-assistant=dir_assistant.main:main" ,
28- ],
29- },
3025 classifiers = [
3126 "Programming Language :: Python :: 3" ,
3227 "License :: OSI Approved :: MIT License" ,
You can’t perform that action at this time.
0 commit comments