title: How to automatically hide all slug fields in ModelForm based forms in Django
body: <p>I have a model with <code>SlugField</code>. Value of that field is created when the model instance is saved for the first time:</p>
  
  <pre><code>from django.db import models
  from django.template.defaultfilters import slugify as default_slugify
  
  class SlugModel(models.Model):
      name = models.CharField(max_length=100)
      slug = models.SlugField(max_length=100)
  
      def save(self, *args, **kwargs):
          if not self.pk:
              self.slug = self.slugify(self.name)
          return super(SlugModel, self).save(*args, **kwargs)
  
      def slugify(self, tag):
          slug = default_slugify(tag)
          return slug
  </code></pre>
  
  <p>If i use that model in <code>ModelForm</code> the slug field is by default displayed.</p>
  
  <pre><code>from django.forms import ModelForm
  
  class SlugModelForm(ModelForm):
      class Meta:
          model = SlugModel
  </code></pre>
  
  <p>How to automatically prevent all <code>ModelForms</code> from displaying of all of it's <code>SlugFields</code> without manually specifying <code>ModelForm.exclude</code> or <code>SlugField(editable=False)</code> on each form/field?.</p>