Skip to content

Commit

Permalink
add missing migration
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed May 21, 2020
1 parent ff6cca5 commit a51040e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
19 changes: 19 additions & 0 deletions app/townsquare/migrations/0020_auto_20200521_1020.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 2.2.4 on 2020-05-21 10:20

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('townsquare', '0019_pinnedpost'),
]

operations = [
migrations.AlterField(
model_name='pinnedpost',
name='activity',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='pin', to='dashboard.Activity'),
),
]
4 changes: 3 additions & 1 deletion app/townsquare/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from .models import Offer
from grants.models import Grant

from .models import Offer


def is_user_townsquare_enabled(user):
if not user.is_authenticated:
return False
Expand Down
1 change: 0 additions & 1 deletion app/townsquare/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from dashboard.models import (
Activity, HackathonEvent, Profile, TribeMember, get_my_earnings_counter_profiles, get_my_grants,
)

from kudos.models import Token
from marketing.mails import comment_email, new_action_request
from perftools.models import JSONStore
Expand Down

0 comments on commit a51040e

Please sign in to comment.