i see a red commit and i want it painted black
This commit is contained in:
parent
145f9c8187
commit
8cd466157d
|
@ -2,6 +2,7 @@ from django import forms
|
||||||
from .models import Helper
|
from .models import Helper
|
||||||
from phonenumber_field.formfields import PhoneNumberField
|
from phonenumber_field.formfields import PhoneNumberField
|
||||||
|
|
||||||
|
|
||||||
def text_input(type=None):
|
def text_input(type=None):
|
||||||
attrs = {"class": "input"}
|
attrs = {"class": "input"}
|
||||||
if type != None:
|
if type != None:
|
||||||
|
|
|
@ -7,13 +7,19 @@ import phonenumber_field.modelfields
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('app', '0006_shift_deleted'),
|
("app", "0006_shift_deleted"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='helper',
|
model_name="helper",
|
||||||
name='phone',
|
name="phone",
|
||||||
field=phonenumber_field.modelfields.PhoneNumberField(editable=False, max_length=128, primary_key=True, region=None, serialize=False),
|
field=phonenumber_field.modelfields.PhoneNumberField(
|
||||||
|
editable=False,
|
||||||
|
max_length=128,
|
||||||
|
primary_key=True,
|
||||||
|
region=None,
|
||||||
|
serialize=False,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -6,6 +6,7 @@ from django.utils import timezone
|
||||||
from django.db.models import F, Count, Q, ExpressionWrapper
|
from django.db.models import F, Count, Q, ExpressionWrapper
|
||||||
from phonenumber_field.modelfields import PhoneNumberField
|
from phonenumber_field.modelfields import PhoneNumberField
|
||||||
|
|
||||||
|
|
||||||
class Room(models.Model):
|
class Room(models.Model):
|
||||||
name = models.CharField(max_length=200, primary_key=True)
|
name = models.CharField(max_length=200, primary_key=True)
|
||||||
required_helpers = models.IntegerField()
|
required_helpers = models.IntegerField()
|
||||||
|
|
|
@ -164,4 +164,4 @@ if getenv("SENTRY_DSN"):
|
||||||
traces_sample_rate=0,
|
traces_sample_rate=0,
|
||||||
)
|
)
|
||||||
|
|
||||||
PHONENUMBER_DEFAULT_REGION = "DE"
|
PHONENUMBER_DEFAULT_REGION = "DE"
|
||||||
|
|
Loading…
Reference in New Issue