mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
29 lines
704 B
Python
29 lines
704 B
Python
# Generated by Django 3.2.2 on 2021-11-05 09:15
|
|
|
|
from django.db import migrations
|
|
|
|
# 2023 removing forums
|
|
# def gen_default_forum(apps, schema_editor):
|
|
# forum = apps.get_model("forum", "Forum")
|
|
# forum.objects.create(
|
|
# name="Intial Forum",
|
|
# type=0,
|
|
# slug="initial-forum",
|
|
# lft=1,
|
|
# rght=2,
|
|
# tree_id=1,
|
|
# level=0,
|
|
# )
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("users", "0003_alter_user_data"),
|
|
]
|
|
|
|
operations = [
|
|
# # omit reverse_code=... if you don't want the migration to be reversible.
|
|
# migrations.RunPython(gen_default_forum, reverse_code=migrations.RunPython.noop),
|
|
]
|