diff --git a/mozbuzz/buzz/forms.py b/mozbuzz/buzz/forms.py index 6ff0fdc..438ac9c 100644 --- a/mozbuzz/buzz/forms.py +++ b/mozbuzz/buzz/forms.py @@ -16,3 +16,4 @@ class FollowUpForm(ModelForm): class Meta: model = FollowUp fields = ('status', 'remarks') + diff --git a/mozbuzz/buzz/migrations/0008_auto__add_field_rssfeed_product.py b/mozbuzz/buzz/migrations/0008_auto__add_field_rssfeed_product.py index 0d1228a..e65137e 100644 --- a/mozbuzz/buzz/migrations/0008_auto__add_field_rssfeed_product.py +++ b/mozbuzz/buzz/migrations/0008_auto__add_field_rssfeed_product.py @@ -9,7 +9,7 @@ class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'RSSFeed.product' - db.add_column('buzz_rssfeed', 'product', self.gf('django.db.models.fields.related.ForeignKey')(default=0, related_name='feeds', to=orm['buzz.Product']), keep_default=False) + db.add_column('buzz_rssfeed', 'product', self.gf('django.db.models.fields.related.ForeignKey')(default=1, related_name='feeds', to=orm['buzz.Product']), keep_default=False) def backwards(self, orm): diff --git a/mozbuzz/buzz/templates/buzz/delete_mention.html b/mozbuzz/buzz/templates/buzz/delete_mention.html new file mode 100644 index 0000000..32c1779 --- /dev/null +++ b/mozbuzz/buzz/templates/buzz/delete_mention.html @@ -0,0 +1,31 @@ +{% extends "base.html" %}{% load i18n query %} + +{% block main_content %} +
+ {%trans "Are you sure you want to delete the mention "%}{{ instance }}{%trans "? All of the following related items will be deleted:"%} +
+ +{% endblock %} + +{% block extrascript %} + + + + {% if is_new and form.initial.link|length > 10 %} + + {% endif %} +