Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/helper/query_serv.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def convert_queryset_to_sql(queryset: QuerySet) -> str:
>>> from login.models import CofkUser
>>> queryset = CofkUser.objects.filter().values('email').filter(email='x')
>>> convert_queryset_to_sql(queryset)
'SELECT "cofk_user"."email" FROM "cofk_user" WHERE "cofk_user"."email" = x'
'SELECT "cofk_user"."email" AS "email" FROM "cofk_user" WHERE "cofk_user"."email" = x'

Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion manifestation/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_no_results(self):
view = ManifSearchView()
view.setup(request)

self.assertQuerysetEqual(view.get_queryset(), [])
self.assertQuerySetEqual(view.get_queryset(), [])


def prepare_manif_records() -> list[CofkUnionManifestation]:
Expand Down
19 changes: 9 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@ classifiers = [
"License :: OSI Approved :: MIT License",
]
dependencies = [
'asgiref==3.5.2',
'Django==4.0.6',
'django-q2==1.6.1',
'openpyxl==3.0.10',
'psycopg2==2.9.3',
'pycountry==22.3.5',
'sqlparse==0.4.2',
'Django==5.2.15',
'django-q2~=1.8',
'openpyxl~=3.1',
'psycopg2~=2.9',
'pycountry>=22.3',

'selenium~=4.15',
'django-compressor~=4.0',
'django-sass-processor~=1.2.1',
'django-sass-processor>=1.3',
'libsass~=0.21.0',
'Pillow~=9.2.0',
'Pillow~=11.0',
'python-dateutil',
'requests~=2.28.1',
'requests~=2.32',
'gunicorn~=23.0',
'beautifulsoup4~=4.11.2',
'more-itertools~=9.1',
Expand Down
1 change: 1 addition & 0 deletions siteedit2/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@
# https://docs.djangoproject.com/en/4.0/howto/static-files/

STATIC_URL = 'static/'
STATIC_ROOT = BASE_DIR / 'staticfiles'

# Default primary key field type
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
Expand Down