Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/62 klantcontact #74

Closed
wants to merge 2 commits into from
Closed

Conversation

bart-maykin
Copy link
Contributor

Fixes #62

Changed model structure
Added Klantcontact model

@bart-maykin bart-maykin reopened this Oct 11, 2023
@bart-maykin
Copy link
Contributor Author

Needs to be merged after #61

@bart-maykin bart-maykin force-pushed the feature/62-klantcontact branch from 7347a66 to 5b57914 Compare October 11, 2023 16:47
@codecov-commenter
Copy link

codecov-commenter commented Oct 11, 2023

Codecov Report

Merging #74 (3533825) into master (d481f5f) will increase coverage by 0.12%.
Report is 8 commits behind head on master.
The diff coverage is 98.52%.

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
+ Coverage   96.15%   96.28%   +0.12%     
==========================================
  Files          99      107       +8     
  Lines        3508     3711     +203     
==========================================
+ Hits         3373     3573     +200     
- Misses        135      138       +3     
Files Coverage Δ
...rc/openklant/components/klanten/api/serializers.py 85.71% <ø> (ø)
...enklant/components/klanten/api/tests/test_klant.py 100.00% <100.00%> (ø)
...ents/klanten/migrations/0005_auto_20230905_1215.py 100.00% <100.00%> (ø)
src/openklant/components/klanten/models/klanten.py 92.37% <100.00%> (+0.94%) ⬆️
src/openklant/components/klantinteracties/apps.py 100.00% <100.00%> (ø)
...onents/klantinteracties/migrations/0001_initial.py 100.00% <100.00%> (ø)
...s/klantinteracties/migrations/0002_klantcontact.py 100.00% <100.00%> (ø)
...ant/components/klantinteracties/models/__init__.py 100.00% <100.00%> (ø)
...nt/components/klantinteracties/models/constants.py 100.00% <100.00%> (ø)
...mponents/klantinteracties/models/klantcontacten.py 100.00% <100.00%> (ø)
... and 2 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bart-maykin bart-maykin force-pushed the feature/62-klantcontact branch 7 times, most recently from 94070e0 to fb1ef84 Compare October 13, 2023 11:10
@bart-maykin bart-maykin force-pushed the feature/62-klantcontact branch from fb1ef84 to 3533825 Compare October 13, 2023 14:37
Comment on lines +11 to +14
id = models.UUIDField(
primary_key=True,
unique=True,
default=uuid.uuid4,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
id = models.UUIDField(
primary_key=True,
unique=True,
default=uuid.uuid4,
uuid = models.UUIDField(
unique=True,
default=uuid.uuid4,

),
null=True,
)
taal = models.CharField(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zelfde als partij opmerking. Pas wel even de helptekst aan zodat het nog klopt.

),
)
# TODO: does this field require auto_now?
plaatsgevonden_op = models.DateTimeField(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

je mag hier een default op zetten: default=timezone.now (zie django docs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Als koploper wil ik een Klantcontacten kunnen registreren
3 participants