1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

[1.5.x] Fixed #19378 -- Ensured get_success_url returns a non-lazy URL

Backport of 795ac7deda from master.
This commit is contained in:
Claude Paroz
2012-12-04 13:18:57 +01:00
parent 237a404d3e
commit 7fea7cf5d7
6 changed files with 32 additions and 5 deletions

View File

@@ -11,3 +11,8 @@ class AuthorForm(forms.ModelForm):
class Meta:
model = Author
class ContactForm(forms.Form):
name = forms.CharField()
message = forms.CharField(widget=forms.Textarea)