Skip to content

Commit

Permalink
Remove old c4 user fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilouf committed Dec 23, 2024
1 parent 3ac8dc9 commit 8502075
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 19 deletions.
19 changes: 0 additions & 19 deletions lemarche/users/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,25 +263,6 @@ class UserAdmin(FieldsetsInlineMixin, UserAdmin):
"Permissions",
{"classes": ["collapse"], "fields": ("is_active", "is_staff", "is_superuser", "groups")},
),
(
"Données C4 Cocorico",
{
"classes": ["collapse"],
"fields": (
"c4_id",
"c4_website",
"c4_siret",
"c4_naf",
"c4_phone_prefix",
"c4_time_zone",
"c4_phone_verified",
"c4_email_verified",
"c4_id_card_verified",
"image_url",
"image_url_display",
),
},
),
(
"Stats",
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Generated by Django 4.2.15 on 2024-12-23 17:02

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
("users", "0039_remove_user_user_email_ci_uniqueness_and_more"),
]

operations = [
migrations.RemoveField(
model_name="user",
name="c4_email_verified",
),
migrations.RemoveField(
model_name="user",
name="c4_id",
),
migrations.RemoveField(
model_name="user",
name="c4_id_card_verified",
),
migrations.RemoveField(
model_name="user",
name="c4_naf",
),
migrations.RemoveField(
model_name="user",
name="c4_phone_prefix",
),
migrations.RemoveField(
model_name="user",
name="c4_phone_verified",
),
migrations.RemoveField(
model_name="user",
name="c4_siret",
),
migrations.RemoveField(
model_name="user",
name="c4_time_zone",
),
migrations.RemoveField(
model_name="user",
name="c4_website",
),
]

0 comments on commit 8502075

Please sign in to comment.