Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str BinOpMult Str Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Dict Str Str BinOpMult Str Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list
N/A __future__ absolute_import django.core.exceptions ImproperlyConfigured django.core.urlresolvers reverse django forms django.test TestCase django.utils.unittest expectedFailure django.views.generic.edit FormMixin N/A views models Artist Author FormMixinTests N/A TestCase N/A test_initial_data N/A N/A self N/A N/A N/A  Test instance independence of initial data dict (see #16138)  N/A initial_1 N/A N/A N/A FormMixin get_initial N/A N/A initial_1 N/A foo bar N/A initial_2 N/A N/A N/A FormMixin get_initial N/A N/A N/A self assertNotEqual initial_1 initial_2 N/A N/A ModelFormMixinTests N/A TestCase N/A test_get_form N/A N/A self N/A N/A N/A form_class N/A N/A N/A N/A views AuthorGetQuerySetFormView get_form_class N/A N/A N/A self assertEqual N/A N/A form_class _meta model Author N/A N/A CreateViewTests N/A TestCase N/A N/A urls regressiontests.generic_views.urls test_create N/A N/A self N/A N/A N/A res N/A N/A N/A self client get /edit/authors/create/ N/A N/A N/A self assertEqual N/A res status_code 200 N/A N/A N/A self assertTrue N/A isinstance N/A N/A res context N/A form N/A forms ModelForm N/A N/A N/A self assertFalse N/A object N/A res context N/A N/A N/A self assertFalse N/A author N/A res context N/A N/A N/A self assertTemplateUsed res generic_views/author_form.html N/A res N/A N/A N/A self client post /edit/authors/create/ N/A name slug Randall Munroe randall-munroe N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res http://testserver/list/authors/ N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A <Author: Randall Munroe> N/A test_create_invalid N/A N/A self N/A N/A N/A res N/A N/A N/A self client post /edit/authors/create/ N/A name slug N/A A 101 randall-munroe N/A N/A N/A self assertEqual N/A res status_code 200 N/A N/A N/A self assertTemplateUsed res generic_views/author_form.html N/A N/A N/A self assertEqual N/A len N/A N/A N/A res context N/A form errors 1 N/A N/A N/A self assertEqual N/A N/A N/A Author objects count 0 N/A test_create_with_object_url N/A N/A self N/A N/A N/A res N/A N/A N/A self client post /edit/artists/create/ N/A name Rene Magritte N/A N/A N/A self assertEqual N/A res status_code 302 N/A artist N/A N/A N/A Artist objects get name Rene Magritte N/A N/A N/A self assertRedirects res N/A http://testserver/detail/artist/%d/ N/A artist pk N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Artist objects all N/A <Artist: Rene Magritte> N/A test_create_with_redirect N/A N/A self N/A N/A N/A res N/A N/A N/A self client post /edit/authors/create/redirect/ N/A name slug Randall Munroe randall-munroe N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res http://testserver/edit/authors/create/ N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A <Author: Randall Munroe> N/A test_create_with_interpolated_redirect N/A N/A self N/A N/A N/A res N/A N/A N/A self client post /edit/authors/create/interpolate_redirect/ N/A name slug Randall Munroe randall-munroe N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A <Author: Randall Munroe> N/A N/A N/A self assertEqual N/A res status_code 302 N/A pk N/A N/A N/A N/A N/A Author objects all N/A 0 pk N/A N/A N/A self assertRedirects res N/A http://testserver/edit/author/%d/update/ pk N/A test_create_with_special_properties N/A N/A self N/A N/A N/A res N/A N/A N/A self client get /edit/authors/create/special/ N/A N/A N/A self assertEqual N/A res status_code 200 N/A N/A N/A self assertTrue N/A isinstance N/A N/A res context N/A form N/A views AuthorForm N/A N/A N/A self assertFalse N/A object N/A res context N/A N/A N/A self assertFalse N/A author N/A res context N/A N/A N/A self assertTemplateUsed res generic_views/form.html N/A res N/A N/A N/A self client post /edit/authors/create/special/ N/A name slug Randall Munroe randall-munroe N/A N/A N/A self assertEqual N/A res status_code 302 N/A obj N/A N/A N/A Author objects get slug randall-munroe N/A N/A N/A self assertRedirects res N/A reverse author_detail kwargs N/A pk N/A obj pk N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A <Author: Randall Munroe> N/A test_create_without_redirect N/A N/A self N/A N/A N/A N/A N/A res N/A N/A N/A self client post /edit/authors/create/naive/ N/A name slug Randall Munroe randall-munroe N/A N/A N/A self fail Should raise exception -- No redirect URL provided, and no get_absolute_url provided N/A N/A N/A ImproperlyConfigured N/A N/A N/A test_create_restricted N/A N/A self N/A N/A N/A res N/A N/A N/A self client post /edit/authors/create/restricted/ N/A name slug Randall Munroe randall-munroe N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res http://testserver/accounts/login/?next=/edit/authors/create/restricted/ N/A N/A UpdateViewTests N/A TestCase N/A N/A urls regressiontests.generic_views.urls test_update_post N/A N/A self N/A N/A N/A a N/A N/A N/A Author objects create name Randall Munroe slug randall-munroe N/A res N/A N/A N/A self client get N/A /edit/author/%d/update/ N/A a pk N/A N/A N/A self assertEqual N/A res status_code 200 N/A N/A N/A self assertTrue N/A isinstance N/A N/A res context N/A form N/A forms ModelForm N/A N/A N/A self assertEqual N/A N/A res context N/A object N/A N/A N/A Author objects get pk N/A a pk N/A N/A N/A self assertEqual N/A N/A res context N/A author N/A N/A N/A Author objects get pk N/A a pk N/A N/A N/A self assertTemplateUsed res generic_views/author_form.html N/A res N/A N/A N/A self client post N/A /edit/author/%d/update/ N/A a pk N/A name slug Randall Munroe (xkcd) randall-munroe N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res http://testserver/list/authors/ N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A <Author: Randall Munroe (xkcd)> N/A test_update_put N/A N/A self N/A N/A N/A a N/A N/A N/A Author objects create name Randall Munroe slug randall-munroe N/A res N/A N/A N/A self client get N/A /edit/author/%d/update/ N/A a pk N/A N/A N/A self assertEqual N/A res status_code 200 N/A N/A N/A self assertTemplateUsed res generic_views/author_form.html N/A res N/A N/A N/A self client put N/A /edit/author/%d/update/ N/A a pk N/A name slug Randall Munroe (author of xkcd) randall-munroe N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res http://testserver/list/authors/ N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A <Author: Randall Munroe (author of xkcd)> N/A expectedFailure test_update_invalid N/A N/A self N/A N/A N/A a N/A N/A N/A Author objects create name Randall Munroe slug randall-munroe N/A res N/A N/A N/A self client post N/A /edit/author/%d/update/ N/A a pk N/A name slug N/A A 101 randall-munroe N/A N/A N/A self assertEqual N/A res status_code 200 N/A N/A N/A self assertTemplateUsed res generic_views/author_form.html N/A N/A N/A self assertEqual N/A len N/A N/A N/A res context N/A form errors 1 N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A <Author: Randall Munroe> N/A test_update_with_object_url N/A N/A self N/A N/A N/A a N/A N/A N/A Artist objects create name Rene Magritte N/A res N/A N/A N/A self client post N/A /edit/artists/%d/update/ N/A a pk N/A name Rene Magritte N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res N/A http://testserver/detail/artist/%d/ N/A a pk N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Artist objects all N/A <Artist: Rene Magritte> N/A test_update_with_redirect N/A N/A self N/A N/A N/A a N/A N/A N/A Author objects create name Randall Munroe slug randall-munroe N/A res N/A N/A N/A self client post N/A /edit/author/%d/update/redirect/ N/A a pk N/A name slug Randall Munroe (author of xkcd) randall-munroe N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res http://testserver/edit/authors/create/ N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A <Author: Randall Munroe (author of xkcd)> N/A test_update_with_interpolated_redirect N/A N/A self N/A N/A N/A a N/A N/A N/A Author objects create name Randall Munroe slug randall-munroe N/A res N/A N/A N/A self client post N/A /edit/author/%d/update/interpolate_redirect/ N/A a pk N/A name slug Randall Munroe (author of xkcd) randall-munroe N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A <Author: Randall Munroe (author of xkcd)> N/A N/A N/A self assertEqual N/A res status_code 302 N/A pk N/A N/A N/A N/A N/A Author objects all N/A 0 pk N/A N/A N/A self assertRedirects res N/A http://testserver/edit/author/%d/update/ pk N/A test_update_with_special_properties N/A N/A self N/A N/A N/A a N/A N/A N/A Author objects create name Randall Munroe slug randall-munroe N/A res N/A N/A N/A self client get N/A /edit/author/%d/update/special/ N/A a pk N/A N/A N/A self assertEqual N/A res status_code 200 N/A N/A N/A self assertTrue N/A isinstance N/A N/A res context N/A form N/A views AuthorForm N/A N/A N/A self assertEqual N/A N/A res context N/A object N/A N/A N/A Author objects get pk N/A a pk N/A N/A N/A self assertEqual N/A N/A res context N/A thingy N/A N/A N/A Author objects get pk N/A a pk N/A N/A N/A self assertFalse N/A author N/A res context N/A N/A N/A self assertTemplateUsed res generic_views/form.html N/A res N/A N/A N/A self client post N/A /edit/author/%d/update/special/ N/A a pk N/A name slug Randall Munroe (author of xkcd) randall-munroe N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res N/A http://testserver/detail/author/%d/ N/A a pk N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A <Author: Randall Munroe (author of xkcd)> N/A test_update_without_redirect N/A N/A self N/A N/A N/A N/A N/A a N/A N/A N/A Author objects create name Randall Munroe slug randall-munroe N/A res N/A N/A N/A self client post N/A /edit/author/%d/update/naive/ N/A a pk N/A name slug Randall Munroe (author of xkcd) randall-munroe N/A N/A N/A self fail Should raise exception -- No redirect URL provided, and no get_absolute_url provided N/A N/A N/A ImproperlyConfigured N/A N/A N/A test_update_get_object N/A N/A self N/A N/A N/A a N/A N/A N/A Author objects create pk 1 name Randall Munroe slug randall-munroe N/A res N/A N/A N/A self client get /edit/author/update/ N/A N/A N/A self assertEqual N/A res status_code 200 N/A N/A N/A self assertTrue N/A isinstance N/A N/A res context N/A form N/A forms ModelForm N/A N/A N/A self assertEqual N/A N/A res context N/A object N/A N/A N/A Author objects get pk N/A a pk N/A N/A N/A self assertEqual N/A N/A res context N/A author N/A N/A N/A Author objects get pk N/A a pk N/A N/A N/A self assertTemplateUsed res generic_views/author_form.html N/A res N/A N/A N/A self client post /edit/author/update/ N/A name slug Randall Munroe (xkcd) randall-munroe N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res http://testserver/list/authors/ N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A <Author: Randall Munroe (xkcd)> N/A N/A DeleteViewTests N/A TestCase N/A N/A urls regressiontests.generic_views.urls test_delete_by_post N/A N/A self N/A N/A N/A a N/A N/A N/A Author objects create N/A name slug Randall Munroe randall-munroe N/A res N/A N/A N/A self client get N/A /edit/author/%d/delete/ N/A a pk N/A N/A N/A self assertEqual N/A res status_code 200 N/A N/A N/A self assertEqual N/A N/A res context N/A object N/A N/A N/A Author objects get pk N/A a pk N/A N/A N/A self assertEqual N/A N/A res context N/A author N/A N/A N/A Author objects get pk N/A a pk N/A N/A N/A self assertTemplateUsed res generic_views/author_confirm_delete.html N/A res N/A N/A N/A self client post N/A /edit/author/%d/delete/ N/A a pk N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res http://testserver/list/authors/ N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A N/A test_delete_by_delete N/A N/A self N/A N/A N/A a N/A N/A N/A Author objects create N/A name slug Randall Munroe randall-munroe N/A res N/A N/A N/A self client delete N/A /edit/author/%d/delete/ N/A a pk N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res http://testserver/list/authors/ N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A N/A test_delete_with_redirect N/A N/A self N/A N/A N/A a N/A N/A N/A Author objects create N/A name slug Randall Munroe randall-munroe N/A res N/A N/A N/A self client post N/A /edit/author/%d/delete/redirect/ N/A a pk N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res http://testserver/edit/authors/create/ N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A N/A test_delete_with_special_properties N/A N/A self N/A N/A N/A a N/A N/A N/A Author objects create N/A name slug Randall Munroe randall-munroe N/A res N/A N/A N/A self client get N/A /edit/author/%d/delete/special/ N/A a pk N/A N/A N/A self assertEqual N/A res status_code 200 N/A N/A N/A self assertEqual N/A N/A res context N/A object N/A N/A N/A Author objects get pk N/A a pk N/A N/A N/A self assertEqual N/A N/A res context N/A thingy N/A N/A N/A Author objects get pk N/A a pk N/A N/A N/A self assertFalse N/A author N/A res context N/A N/A N/A self assertTemplateUsed res generic_views/confirm_delete.html N/A res N/A N/A N/A self client post N/A /edit/author/%d/delete/special/ N/A a pk N/A N/A N/A self assertEqual N/A res status_code 302 N/A N/A N/A self assertRedirects res http://testserver/list/authors/ N/A N/A N/A self assertQuerysetEqual N/A N/A N/A Author objects all N/A N/A test_delete_without_redirect N/A N/A self N/A N/A N/A N/A N/A a N/A N/A N/A Author objects create name Randall Munroe slug randall-munroe N/A res N/A N/A N/A self client post N/A /edit/author/%d/delete/naive/ N/A a pk N/A N/A N/A self fail Should raise exception -- No redirect URL provided, and no get_absolute_url provided N/A N/A N/A ImproperlyConfigured N/A N/A N/A N/A