mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-13 21:39:23 +00:00
Implémentation 3DSv2 + résolution bugs eboutic + amélioration pages admin (#558)
Eboutic : - Implémentation de la norme 3DSecure v2 pour les paiement par carte bancaire - Amélioration générale de l'interface utilisateur - Résolution du problème avec les caractères spéciaux dans le panier sur Safari - Réparation du cookie du panier de l'eboutic qui n'était pas fonctionnel Autre : - Mise à jour de la documentation - Mise à jour des dépendances Javascript - Suppression du code inutilisé dans `subscription/models.py` - Amélioration des pages administrateur (back-office Django) Co-authored-by: thomas girod <56346771+imperosol@users.noreply.github.com> Co-authored-by: Théo DURR <git@theodurr.fr> Co-authored-by: Julien Constant <julienconstant190@gmail.com>
This commit is contained in:
62
counter/migrations/0019_billinginfo.py
Normal file
62
counter/migrations/0019_billinginfo.py
Normal file
@ -0,0 +1,62 @@
|
||||
# Generated by Django 3.2.16 on 2023-01-08 12:49
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
import django_countries.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("counter", "0018_producttype_priority"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name="producttype",
|
||||
options={"ordering": ["-priority", "name"], "verbose_name": "product type"},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name="BillingInfo",
|
||||
fields=[
|
||||
(
|
||||
"id",
|
||||
models.AutoField(
|
||||
auto_created=True,
|
||||
primary_key=True,
|
||||
serialize=False,
|
||||
verbose_name="ID",
|
||||
),
|
||||
),
|
||||
(
|
||||
"first_name",
|
||||
models.CharField(max_length=22, verbose_name="First name"),
|
||||
),
|
||||
(
|
||||
"last_name",
|
||||
models.CharField(max_length=22, verbose_name="Last name"),
|
||||
),
|
||||
(
|
||||
"address_1",
|
||||
models.CharField(max_length=50, verbose_name="Address 1"),
|
||||
),
|
||||
(
|
||||
"address_2",
|
||||
models.CharField(
|
||||
blank=True, max_length=50, null=True, verbose_name="Address 2"
|
||||
),
|
||||
),
|
||||
("zip_code", models.CharField(max_length=16, verbose_name="Zip code")),
|
||||
("city", models.CharField(max_length=50, verbose_name="City")),
|
||||
("country", django_countries.fields.CountryField(max_length=2)),
|
||||
(
|
||||
"customer",
|
||||
models.OneToOneField(
|
||||
on_delete=django.db.models.deletion.CASCADE,
|
||||
related_name="billing_infos",
|
||||
to="counter.customer",
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user