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

Add UserSettings model #859

Merged
merged 2 commits into from
Jul 19, 2023
Merged

Add UserSettings model #859

merged 2 commits into from
Jul 19, 2023

Conversation

MythicManiac
Copy link
Member

Add a new UserSettings model to house custom user-specific settings.

Also include a django_extrafields module to better split generic code from Thunderstore-specific code, such as the SafeOneToOne field from this PR that slightly alters OneToOne behavior to return None instead of erroring.

Add a new UserSettings model to house custom user-specific settings.

Also include a django_extrafields module to better split generic code
from Thunderstore-specific code, such as the SafeOneToOne field from
this PR that slightly alters OneToOne behavior to return None instead of
erroring.
@codecov
Copy link

codecov bot commented Jul 19, 2023

Codecov Report

Merging #859 (f884234) into master (2e67279) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #859      +/-   ##
==========================================
+ Coverage   91.78%   91.79%   +0.01%     
==========================================
  Files         242      243       +1     
  Lines        7069     7085      +16     
  Branches      687      687              
==========================================
+ Hits         6488     6504      +16     
  Misses        486      486              
  Partials       95       95              
Impacted Files Coverage Δ
django/thunderstore/core/types.py 100.00% <ø> (ø)
django/conftest.py 97.06% <100.00%> (+0.05%) ⬆️
django/django_extrafields/models.py 100.00% <100.00%> (ø)
django/thunderstore/account/models/__init__.py 100.00% <100.00%> (ø)

@MythicManiac MythicManiac merged commit bb0e7d7 into master Jul 19, 2023
19 checks passed
@MythicManiac MythicManiac deleted the usersettings branch July 19, 2023 08:11
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.

1 participant