Skip to content

Commit

Permalink
Merge pull request #75 from open-zaak/feature/replace-vng-api-common
Browse files Browse the repository at this point in the history
📌 Replace vng-api-common with commonground-api-common dependency
  • Loading branch information
sergei-maertens authored Dec 13, 2022
2 parents 0375694 + 5304480 commit 88a4a41
Show file tree
Hide file tree
Showing 8 changed files with 499 additions and 8 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include *.rst
include LICENSE
include test_app/cmis_mapper.json
recursive-include drc_cmis *.html
recursive-include drc_cmis *.js
recursive-include drc_cmis *.css
Expand Down
467 changes: 467 additions & 0 deletions drc_cmis/migrations/0018_alter_cmisconfig_time_zone.py

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ install_requires =
cmislib-maykin >= 0.7.2.dev0
django-solo
iso8601
vng-api-common
commonground-api-common
python-decouple
furl
tests_require =
Expand All @@ -51,8 +51,8 @@ tests_require =

[options.packages.find]
exclude =
tests
tests.*
tests*
test_app*

[options.extras_require]
tests =
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.12 on 2022-12-13 08:07

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("app", "0001_initial"),
]

operations = [
migrations.AlterField(
model_name="enkelvoudiginformatieobject",
name="indicatie_gebruiksrecht",
field=models.BooleanField(blank=True, default=None, null=True),
),
]
2 changes: 1 addition & 1 deletion test_app/app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class EnkelvoudigInformatieObject(models.Model):
beschrijving = models.TextField(max_length=1000)
ontvangstdatum = models.DateField(null=True, blank=True)
verzenddatum = models.DateField(null=True, blank=True)
indicatie_gebruiksrecht = models.NullBooleanField(blank=True, default=None)
indicatie_gebruiksrecht = models.BooleanField(blank=True, default=None, null=True)
ondertekening_soort = models.CharField(max_length=10, blank=True)
ondertekening_datum = models.DateField(blank=True, null=True)
informatieobjecttype = models.URLField()
Expand Down
2 changes: 2 additions & 0 deletions test_app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
},
}

DEFAULT_AUTO_FIELD = "django.db.models.AutoField"

TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
Expand Down
2 changes: 1 addition & 1 deletion test_app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
TemplateView.as_view(),
name="objectinformatieobject-detail",
),
path("ref/", include("vng_api_common.notifications.urls")),
path("ref/", include("notifications_api_common.urls")),
]
9 changes: 7 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ CMIS_URL_MAPPING_ENABLED =
True: py{37,38,39,310}-django32-urlmapping

[testenv]
passenv = CI CMIS_BINDING
passenv =
CI
CMIS_BINDING
setenv =
DJANGO_SETTINGS_MODULE = test_app.settings
PYTHONPATH = {toxinidir}
Expand All @@ -42,7 +44,10 @@ commands =
{posargs}

[testenv:py{37,38,39,310}-django32-urlmapping]
passenv = CI CMIS_BINDING CMIS_URL_MAPPING_ENABLED
passenv =
CI
CMIS_BINDING
CMIS_URL_MAPPING_ENABLED
setenv =
DJANGO_SETTINGS_MODULE = test_app.settings
PYTHONPATH = {toxinidir}
Expand Down

0 comments on commit 88a4a41

Please sign in to comment.