File: 0005_basetestapplication_allowed_origins_and_more.py

package info (click to toggle)
django-oauth-toolkit 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,156 kB
  • sloc: python: 11,100; makefile: 159; javascript: 9; sh: 6
file content (26 lines) | stat: -rw-r--r-- 878 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Generated by Django 4.1.5 on 2023-09-27 22:25

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.OAUTH2_PROVIDER_ID_TOKEN_MODEL),
        ("tests", "0004_basetestapplication_hash_client_secret_and_more"),
    ]

    operations = [
        migrations.AddField(
            model_name="basetestapplication",
            name="allowed_origins",
            field=models.TextField(blank=True, help_text="Allowed origins list to enable CORS, space separated"),
        ),
        migrations.AddField(
            model_name="sampleapplication",
            name="allowed_origins",
            field=models.TextField(blank=True, help_text="Allowed origins list to enable CORS, space separated"),
        ),
    ]