1
0
Fork 0

Merge pull request #2246 from bookwyrm-social/goal-model

Moves annual goal to its own file
This commit is contained in:
Mouse Reeve 2022-07-29 13:22:12 -07:00 committed by GitHub
commit 844023f104
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 74 additions and 64 deletions

View file

@ -14,6 +14,8 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name="annualgoal",
name="year",
field=models.IntegerField(default=bookwyrm.models.user.get_current_year),
field=models.IntegerField(
default=bookwyrm.models.annual_goal.get_current_year
),
),
]