mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Various improvements for flatpages
This commit is contained in:
@@ -6,11 +6,11 @@ from django.db import migrations
|
||||
|
||||
def md_to_html(apps, schema_editor):
|
||||
fields = {
|
||||
'RollingStock': ['notes'],
|
||||
"RollingStock": ["notes"],
|
||||
}
|
||||
|
||||
for m in fields.items():
|
||||
model = apps.get_model('roster', m[0])
|
||||
model = apps.get_model("roster", m[0])
|
||||
|
||||
for row in model.objects.all():
|
||||
for field in m[1]:
|
||||
|
Reference in New Issue
Block a user