0002_acl_version_tracker.py 536 B

1234567891011121314151617181920212223
  1. # -*- coding: utf-8 -*-
  2. #pylint: skip-file
  3. from __future__ import unicode_literals
  4. from django.db import migrations, models
  5. from misago.core.migrationutils import cachebuster_register_cache
  6. def register_acl_version_tracker(apps, schema_editor):
  7. cachebuster_register_cache(apps, 'misago_acl')
  8. class Migration(migrations.Migration):
  9. dependencies = [
  10. ('misago_acl', '0001_initial'),
  11. ('misago_core', '0001_initial'),
  12. ]
  13. operations = [
  14. migrations.RunPython(register_acl_version_tracker),
  15. ]