circuit
circuit social network code-documentation
|
Inherits UpdateView.
Public Member Functions | |
def | form_valid (self, form) |
def | get_success_url (self) |
Static Public Attributes | |
model = Post | |
list | fields |
Edit a post's content and/or circle.
def posts.views.PostEditView.form_valid | ( | self, | |
form | |||
) |
Check if the user is allowed to edit the post this way. The user must be logged in and the post content must be at most 256 python characters long. @param form: the form containing the new post @return `form_valid` if accepted, `form_invalid` if not
def posts.views.PostEditView.get_success_url | ( | self | ) |
|
static |