-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
converted urlfield to string in asset.template_url to allow to "self"
- Loading branch information
1 parent
fdf3f04
commit e1039fc
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
breathecode/registry/migrations/0053_alter_asset_template_url.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by Django 5.1.1 on 2024-12-09 23:36 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("registry", "0052_assettechnology_marketing_information"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="asset", | ||
name="template_url", | ||
field=models.CharField( | ||
blank=True, | ||
default=None, | ||
help_text="This template will be used to open the asset (only applied for projects). If project has no template it should state 'self' as template url", | ||
max_length=500, | ||
null=True, | ||
), | ||
), | ||
] |