Skip to content

Commit

Permalink
Merge pull request #122 from weswil07/upgrade-django-4.2
Browse files Browse the repository at this point in the history
Upgrade Django to 4.2.
  • Loading branch information
igorkramaric authored Oct 20, 2023
2 parents c20084b + b1d8552 commit 98bd824
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Cython==0.29.32
psycopg2-binary==2.8.6
Django==4.1.3
psycopg2-binary==2.9.9
Django==4.2.6
python-dateutil==2.8.2
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

setup(
name='daffodil',
version='0.6.2',
version='0.6.3',
author='James Robert',
description='A Super-simple DSL for filtering datasets',
license='MIT',
Expand Down
3 changes: 2 additions & 1 deletion test/testapp/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from __future__ import unicode_literals

from django.db import models, migrations
from django.contrib.postgres.operations import HStoreExtension
from django.contrib.postgres.fields import HStoreField


Expand All @@ -11,7 +12,7 @@ class Migration(migrations.Migration):
]

operations = [
migrations.RunSQL("CREATE EXTENSION if not exists hstore;"),
HStoreExtension(),
migrations.CreateModel(
name='BasicHStoreData',
fields=[
Expand Down
3 changes: 1 addition & 2 deletions test/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ def rel_path(*p):
SITE_ID=1,
DATABASES = {
'default':{
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'daffodil_hstore_test',
'USER': "postgres",
'PASSWORD': "postgres",
Expand Down Expand Up @@ -1815,4 +1815,3 @@ def test_none(self):
BasicHStoreData.objects.create(hsdata=record)

unittest.main()

0 comments on commit 98bd824

Please sign in to comment.