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

fix(models): remove app_name from abstract models #675

Merged
merged 1 commit into from
Apr 1, 2025

Conversation

nijel
Copy link
Member

@nijel nijel commented Apr 1, 2025

When a subclass doesn't overrider Meta, it inherits the app_name from the abstract class what is not descired behavior as it lands migrations into social_django instead of the actuall app.

Fixes #496

When a subclass doesn't overrider Meta, it inherits the app_name from
the abstract class what is not descired behavior as it lands migrations
into social_django instead of the actuall app.

Fixes python-social-auth#496
@nijel nijel self-assigned this Apr 1, 2025
@nijel nijel enabled auto-merge (rebase) April 1, 2025 08:54
Copy link

codecov bot commented Apr 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.72%. Comparing base (fb93814) to head (20940bb).
Report is 130 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #675   +/-   ##
=======================================
  Coverage   91.72%   91.72%           
=======================================
  Files          39       40    +1     
  Lines        1172     1185   +13     
  Branches      144       66   -78     
=======================================
+ Hits         1075     1087   +12     
- Misses         72       73    +1     
  Partials       25       25           
Flag Coverage Δ
unittests 91.72% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nijel nijel merged commit 6ca8027 into python-social-auth:master Apr 1, 2025
10 checks passed
@nijel nijel deleted the astract-app branch April 1, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Subclassing AbstractUserSocialAuth creates migration in social_django app.
1 participant