как все сложно у вас
class UserProfile(models.Model):
user = models.ForeignKey(User)
picture = models.ImageField(upload_to='images', blank=True, null=True)
def __unicode__(self):
return unicode(self.picture.name)
class ViewSuccess(TemplateView):
template_name = 'view_success.html'
class ViewSignup(CreateView):
template_name = 'view_signup.html'
success_url = reverse_lazy('view_success')
model = UserProfile
urls.py
url(r'^$',
url(r'^signup/$', ViewSignup.as_view(), name='view_signup'),
url(r'^success/$', ViewSuccess.as_view(), name='view_success'), )