mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 22:23:23 +00:00
25 lines
658 B
Python
25 lines
658 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
("forum", "0004_auto_20170531_1949"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="forumtopic",
|
|
name="subscribed_users",
|
|
field=models.ManyToManyField(
|
|
verbose_name="subscribed users",
|
|
related_name="favorite_topics",
|
|
to=settings.AUTH_USER_MODEL,
|
|
),
|
|
)
|
|
]
|