Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

0003_logentry_add_action_flag_choices.py 539B

1234567891011121314151617181920
  1. from django.db import migrations, models
  2. class Migration(migrations.Migration):
  3. dependencies = [
  4. ('admin', '0002_logentry_remove_auto_add'),
  5. ]
  6. # No database changes; adds choices to action_flag.
  7. operations = [
  8. migrations.AlterField(
  9. model_name='logentry',
  10. name='action_flag',
  11. field=models.PositiveSmallIntegerField(
  12. choices=[(1, 'Addition'), (2, 'Change'), (3, 'Deletion')],
  13. verbose_name='action flag',
  14. ),
  15. ),
  16. ]