-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: migrations being generated when settings are altered (#37)
* fix: migrations being generated when settings are altered * fix: fix deepsource warnings --------- Co-authored-by: Caio Fontes <caio.castro@mindsight.com.br>
- Loading branch information
Showing
3 changed files
with
35 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class DurinConfig(AppConfig): | ||
name = "durin" | ||
default_auto_field = "django.db.models.BigAutoField" |
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,23 @@ | ||
# Generated by Django 4.1.3 on 2022-11-25 18:39 | ||
|
||
from django.db import migrations, models | ||
import durin.models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("durin", "0002_client_throttlerate"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="client", | ||
name="token_ttl", | ||
field=models.DurationField( | ||
default=durin.models.get_DEFAULT_TOKEN_TTL, | ||
help_text="\n Token Time To Live (TTL) in timedelta. Format: <code>DAYS HH:MM:SS</code>.\n ", | ||
verbose_name="Token Time To Live (TTL)", | ||
), | ||
), | ||
] |
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