Skip to content

Commit d0b968c

Browse files
Revert backend changes, keep only frontend help text descriptions
Co-authored-by: Marco Acierno <marcoacierno@users.noreply.github.com>
1 parent 9d4d6f7 commit d0b968c

1 file changed

Lines changed: 6 additions & 30 deletions

File tree

backend/participants/models.py

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -52,36 +52,12 @@ class SpeakerLevels(models.TextChoices):
5252
)
5353

5454
bio = models.TextField(max_length=2048)
55-
website = models.URLField(
56-
max_length=2048,
57-
blank=True,
58-
help_text=_("Your website URL (e.g., https://example.com)"),
59-
)
60-
twitter_handle = models.CharField(
61-
max_length=15,
62-
blank=True,
63-
help_text=_("Your Twitter handle without @ (e.g., pythonita)"),
64-
)
65-
instagram_handle = models.CharField(
66-
max_length=30,
67-
blank=True,
68-
help_text=_("Your Instagram handle without @ (e.g., pythonita)"),
69-
)
70-
linkedin_url = models.CharField(
71-
max_length=2048,
72-
blank=True,
73-
help_text=_("Your LinkedIn profile URL (e.g., https://www.linkedin.com/in/yourprofile)"),
74-
)
75-
facebook_url = models.CharField(
76-
max_length=2048,
77-
blank=True,
78-
help_text=_("Your Facebook profile URL (e.g., https://www.facebook.com/yourprofile)"),
79-
)
80-
mastodon_handle = models.CharField(
81-
max_length=2048,
82-
blank=True,
83-
help_text=_("Your Mastodon handle in the format username@server.tld (e.g., user@mastodon.social)"),
84-
)
55+
website = models.URLField(max_length=2048, blank=True)
56+
twitter_handle = models.CharField(max_length=15, blank=True)
57+
instagram_handle = models.CharField(max_length=30, blank=True)
58+
linkedin_url = models.CharField(max_length=2048, blank=True)
59+
facebook_url = models.CharField(max_length=2048, blank=True)
60+
mastodon_handle = models.CharField(max_length=2048, blank=True)
8561

8662
speaker_level = models.CharField(
8763
_("speaker level"), choices=SpeakerLevels.choices, max_length=20

0 commit comments

Comments
 (0)