def custom_create(request):
    class SlugChangingArticleForm(forms.ModelForm):
        """Custom form class to overwrite the slug."""

        class Meta:
            model = Article

        def save(self, *args, **kwargs):
            self.cleaned_data['slug'] = 'some-other-slug'
            return super(SlugChangingArticleForm, self).save(*args, **kwargs)

    return create_object(request,
        post_save_redirect='/views/create_update/view/article/%(slug)s/',
        form_class=SlugChangingArticleForm)
alternate: django-admin builtin commands fail if settings file (from argument) doesn't exist
dataset/ETHPy150Open dcramer/django-compositepks/tests/regressiontests/views/views.py/custom_create--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/admin_scripts/tests.py/DjangoAdminAlternateSettings.test_builtin_with_bad_settings