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.

0002_logentry_remove_auto_add.py 554B

12345678910111213141516171819202122
  1. from django.db import migrations, models
  2. from django.utils import timezone
  3. class Migration(migrations.Migration):
  4. dependencies = [
  5. ('admin', '0001_initial'),
  6. ]
  7. # No database changes; removes auto_add and adds default/editable.
  8. operations = [
  9. migrations.AlterField(
  10. model_name='logentry',
  11. name='action_time',
  12. field=models.DateTimeField(
  13. verbose_name='action time',
  14. default=timezone.now,
  15. editable=False,
  16. ),
  17. ),
  18. ]