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 phonenumber_field.formfields import PhoneNumberField
|
||||
|
||||
|
||||
def text_input(type=None):
|
||||
attrs = {"class": "input"}
|
||||
if type != None:
|
||||
|
|
|
@ -7,13 +7,19 @@ import phonenumber_field.modelfields
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0006_shift_deleted'),
|
||||
("app", "0006_shift_deleted"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='helper',
|
||||
name='phone',
|
||||
field=phonenumber_field.modelfields.PhoneNumberField(editable=False, max_length=128, primary_key=True, region=None, serialize=False),
|
||||
model_name="helper",
|
||||
name="phone",
|
||||
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 phonenumber_field.modelfields import PhoneNumberField
|
||||
|
||||
|
||||
class Room(models.Model):
|
||||
name = models.CharField(max_length=200, primary_key=True)
|
||||
required_helpers = models.IntegerField()
|
||||
|
|
|
@ -164,4 +164,4 @@ if getenv("SENTRY_DSN"):
|
|||
traces_sample_rate=0,
|
||||
)
|
||||
|
||||
PHONENUMBER_DEFAULT_REGION = "DE"
|
||||
PHONENUMBER_DEFAULT_REGION = "DE"
|
||||
|
|
Loading…
Reference in New Issue