0004_alter_apitoken_token.py 568 B

1234567891011121314151617181920212223
  1. # Generated by Django 4.0.4 on 2022-04-25 09:14
  2. import api_tokens.models
  3. from django.db import migrations, models
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ("api_tokens", "0003_alter_apitoken_created"),
  7. ]
  8. operations = [
  9. migrations.AlterField(
  10. model_name="apitoken",
  11. name="token",
  12. field=models.CharField(
  13. default=api_tokens.models.generate_token,
  14. editable=False,
  15. max_length=64,
  16. unique=True,
  17. ),
  18. ),
  19. ]