diff options
author | Andrew Godwin | 2022-11-09 23:48:31 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-09 23:48:31 -0700 |
commit | 2c3a1299709f2612e96c37e4e121c83ad4df7a56 (patch) | |
tree | 89c2aed22a7a10730e02c809f83b744a21e295e1 /users/migrations/0002_follow_state_follow_state_attempted_and_more.py | |
parent | 7746abbbb7700fa918450101bbc6d29ed9b4b608 (diff) | |
download | takahe-2c3a1299709f2612e96c37e4e121c83ad4df7a56.tar.gz takahe-2c3a1299709f2612e96c37e4e121c83ad4df7a56.tar.bz2 takahe-2c3a1299709f2612e96c37e4e121c83ad4df7a56.zip |
Profile fetching now working on state machine
Diffstat (limited to 'users/migrations/0002_follow_state_follow_state_attempted_and_more.py')
-rw-r--r-- | users/migrations/0002_follow_state_follow_state_attempted_and_more.py | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/users/migrations/0002_follow_state_follow_state_attempted_and_more.py b/users/migrations/0002_follow_state_follow_state_attempted_and_more.py deleted file mode 100644 index b33236a..0000000 --- a/users/migrations/0002_follow_state_follow_state_attempted_and_more.py +++ /dev/null @@ -1,44 +0,0 @@ -# Generated by Django 4.1.3 on 2022-11-07 19:22 - -import django.utils.timezone -from django.db import migrations, models - -import stator.models -import users.models.follow - - -class Migration(migrations.Migration): - - dependencies = [ - ("users", "0001_initial"), - ] - - operations = [ - migrations.AddField( - model_name="follow", - name="state", - field=stator.models.StateField( - choices=[ - ("pending", "pending"), - ("requested", "requested"), - ("accepted", "accepted"), - ], - default="pending", - graph=users.models.follow.FollowStates, - max_length=100, - ), - ), - migrations.AddField( - model_name="follow", - name="state_attempted", - field=models.DateTimeField(blank=True, null=True), - ), - migrations.AddField( - model_name="follow", - name="state_changed", - field=models.DateTimeField( - auto_now_add=True, default=django.utils.timezone.now - ), - preserve_default=False, - ), - ] |