diff --git a/club/migrations/0017_linktype_clublink.py b/club/migrations/0017_linktype_clublink.py index 097e77f3..3e6d53ca 100644 --- a/club/migrations/0017_linktype_clublink.py +++ b/club/migrations/0017_linktype_clublink.py @@ -25,8 +25,7 @@ class Migration(migrations.Migration): "url_base", models.URLField( help_text=( - "The base url that links with this type " - "must respect (e.g. `https://www.instagram.com`)" + "The base url that links with this type must respect" ), unique=True, verbose_name="url base", diff --git a/club/models.py b/club/models.py index 6e98848e..a226cbcd 100644 --- a/club/models.py +++ b/club/models.py @@ -793,10 +793,7 @@ class LinkType(models.Model): url_base = models.URLField( "url base", unique=True, - help_text=_( - "The base url that links with this type must respect (e.g. `%(url)s`)" - ) - % {"url": "https://www.instagram.com"}, + help_text=_("The base url that links with this type must respect"), ) icon = models.CharField( _("icon"), diff --git a/counter/migrations/0040_product_clic_limit.py b/counter/migrations/0040_product_clic_limit.py index 42f2b3e9..b923520e 100644 --- a/counter/migrations/0040_product_clic_limit.py +++ b/counter/migrations/0040_product_clic_limit.py @@ -21,4 +21,5 @@ class Migration(migrations.Migration): verbose_name="clic limit", ), ), + migrations.RemoveField(model_name="counter", name="token"), ] diff --git a/counter/models.py b/counter/models.py index 10920e86..6e87fb25 100644 --- a/counter/models.py +++ b/counter/models.py @@ -619,7 +619,6 @@ class Counter(models.Model): view_groups = models.ManyToManyField( Group, related_name="viewable_counters", blank=True ) - token = models.CharField(_("token"), max_length=30, null=True, blank=True) objects = CounterQuerySet.as_manager()