Module ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Index Num If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Dict Expr Call AttributeLoad NameLoad attr keyword TupleLoad Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults BoolOpOr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults BoolOpOr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Assign NameStore NameLoad Return Call NameLoad NameLoad Call NameLoad NameLoad Dict Str Str Str Str Str Str Str Str Str NameLoad BinOpAdd AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return Call NameLoad NameLoad Call NameLoad NameLoad Dict Str Str Str Str NameLoad SubscriptLoad NameLoad Index Str Call NameLoad Str BinOpAdd AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad Call NameLoad NameLoad Dict Str Str NameLoad Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Return Call NameLoad NameLoad NameLoad NameLoad Dict Str BinOpAdd AttributeLoad NameLoad attr Str decorator_list NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body If BoolOpAnd Call AttributeLoad NameLoad attr CompareIsNot Call AttributeLoad NameLoad attr NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Return Call NameLoad Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Assign NameStore Call NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameLoad Return Call NameLoad NameLoad Call NameLoad NameLoad Dict Str Str Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Return Call NameLoad NameLoad Call NameLoad NameLoad Dict Str ListComp Call NameLoad NameLoad Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If BoolOpAnd NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Return Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareEq NameLoad Str body Assign NameStore Str Assign NameStore NameLoad orelse Assign NameStore Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad orelse Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareEq NameLoad Str body Assign NameStore Str Assign NameStore NameLoad orelse Assign NameStore Str Assign NameStore NameLoad Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call NameLoad Call NameLoad NameLoad decorator_list
N/A __future__ unicode_literals N/A json N/A logging django.conf settings django.contrib.admin.views.decorators staff_member_required django.http HttpResponse HttpResponseRedirect django.shortcuts render_to_response django.template.context RequestContext django.template.loader render_to_string django.utils.translation ugettext _ django.views.decorators.csrf csrf_protect djblets.cache.forwarding_backend DEFAULT_FORWARD_CACHE_ALIAS djblets.siteconfig.models SiteConfiguration djblets.siteconfig.views site_settings djblets_site_settings reviewboard.accounts.models Profile reviewboard.admin.cache_stats get_cache_stats reviewboard.admin.forms SSHSettingsForm reviewboard.admin.security_checks SecurityCheckRunner reviewboard.admin.support get_support_url serialize_support_data reviewboard.admin.widgets dynamic_activity_data primary_widgets secondary_widgets reviewboard.ssh.client SSHClient reviewboard.ssh.utils humanize_key dashboard N/A N/A request template_name N/A admin/dashboard.html N/A N/A Display the administration dashboard.

    This is the entry point to the admin site, containing news updates and
    useful administration tasks.
     N/A profile N/A N/A N/A N/A Profile objects get_or_create user N/A request user N/A 0 N/A N/A N/A profile extra_data None N/A N/A N/A profile extra_data N/A N/A N/A N/A profile save update_fields N/A extra_data N/A profile_data N/A profile extra_data N/A selected_primary_widgets N/A N/A unselected_primary_widgets N/A N/A primary_widget_selections N/A N/A profile_data get primary_widget_selections N/A primary_widget_selections N/A N/A p primary_widgets N/A N/A N/A N/A primary_widget_selections N/A N/A p widget_id 1 N/A N/A N/A N/A selected_primary_widgets append p N/A N/A N/A N/A unselected_primary_widgets append p N/A N/A selected_primary_widgets primary_widgets N/A unselected_primary_widgets None N/A selected_secondary_widgets N/A N/A unselected_secondary_widgets N/A N/A secondary_widget_selections N/A N/A profile_data get secondary_widget_selections N/A secondary_widget_selections N/A N/A s secondary_widgets N/A N/A N/A N/A secondary_widget_selections N/A N/A s widget_id 1 N/A N/A N/A N/A selected_secondary_widgets append s N/A N/A N/A N/A unselected_secondary_widgets append s N/A N/A selected_secondary_widgets secondary_widgets N/A unselected_secondary_widgets None N/A primary_widget_positions N/A N/A profile_data get primary_widget_positions N/A primary_widget_positions N/A N/A sorted_primary_widgets N/A sorted selected_primary_widgets key N/A N/A N/A y N/A N/A N/A primary_widget_positions N/A N/A y widget_id N/A len primary_widget_positions N/A N/A sorted_primary_widgets selected_primary_widgets N/A secondary_widget_positions N/A N/A profile_data get secondary_widget_positions N/A secondary_widget_positions N/A N/A sorted_secondary_widgets N/A sorted selected_secondary_widgets key N/A N/A N/A y N/A N/A N/A secondary_widget_positions N/A N/A y widget_id N/A len secondary_widget_positions N/A N/A sorted_secondary_widgets selected_secondary_widgets N/A N/A render_to_response template_name N/A RequestContext request N/A primary_widgets root_path secondary_widgets selected_primary_widgets selected_secondary_widgets support_data title unselected_primary_widgets unselected_secondary_widgets primary_widgets N/A N/A settings SITE_ROOT admin/db/ secondary_widgets sorted_primary_widgets sorted_secondary_widgets N/A serialize_support_data request True N/A _ Admin Dashboard unselected_primary_widgets unselected_secondary_widgets N/A staff_member_required cache_stats N/A N/A request template_name N/A admin/cache_stats.html N/A N/A Display statistics on the cache.

    This includes such pieces of information as memory used, cache misses, and
    uptime.
     N/A cache_stats N/A get_cache_stats N/A cache_info N/A N/A settings CACHES N/A DEFAULT_FORWARD_CACHE_ALIAS N/A N/A render_to_response template_name N/A RequestContext request N/A cache_hosts cache_backend title root_path cache_stats N/A cache_info N/A BACKEND N/A _ Server Cache N/A N/A settings SITE_ROOT admin/db/ N/A staff_member_required security N/A N/A request template_name N/A admin/security.html N/A N/A Run security checks and report the results. N/A runner N/A SecurityCheckRunner N/A results N/A N/A runner run N/A N/A render_to_response template_name N/A RequestContext request N/A test_results title results N/A _ Security Checklist N/A staff_member_required site_settings N/A N/A request form_class template_name N/A admin/settings.html N/A N/A Render the general site settings page. N/A N/A djblets_site_settings request form_class template_name N/A root_path N/A N/A settings SITE_ROOT admin/db/ N/A csrf_protect staff_member_required ssh_settings N/A N/A request template_name N/A admin/ssh_settings.html N/A N/A Render the SSH settings page. N/A client N/A SSHClient N/A key N/A N/A client get_user_key N/A N/A N/A request method POST N/A N/A form N/A SSHSettingsForm N/A request POST N/A request FILES N/A N/A N/A form is_valid N/A N/A N/A N/A N/A form did_request_delete N/A N/A N/A client get_user_key None N/A N/A N/A N/A N/A N/A form delete N/A N/A HttpResponseRedirect . N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging error N/A Deleting SSH key failed: %s e N/A N/A N/A N/A N/A N/A form create N/A request FILES N/A N/A HttpResponseRedirect . N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging error N/A Uploading SSH key failed: %s e N/A N/A form N/A SSHSettingsForm N/A key N/A N/A fingerprint N/A humanize_key key N/A N/A fingerprint None N/A N/A render_to_response template_name N/A RequestContext request N/A key fingerprint public_key form key fingerprint N/A N/A client get_public_key key form N/A csrf_protect staff_member_required manual_updates_required N/A N/A request updates template_name N/A admin/manual_updates_required.html N/A N/A Render the "manual updates required" page. N/A N/A render_to_response template_name N/A RequestContext request N/A updates N/A N/A render_to_string update_template_name N/A RequestContext request extra_context N/A N/A update_template_name extra_context updates N/A widget_toggle N/A N/A request N/A N/A N/A Toggle a widget's collapsed state.

    This will update the saved state of the admin widgets based on a user's
    activity in the dashboard.
     N/A collapsed N/A N/A N/A request GET get collapse None N/A widget N/A N/A N/A request GET get widget None N/A N/A widget collapsed N/A N/A siteconfig N/A N/A N/A SiteConfiguration objects get_current N/A widget_settings N/A N/A siteconfig get widget_settings N/A N/A N/A widget_settings N/A widget collapsed N/A N/A N/A siteconfig set widget_settings widget_settings N/A N/A N/A siteconfig save N/A N/A HttpResponse N/A widget_move N/A N/A request N/A N/A N/A Handle moving of admin widgets.

    This will update the saved position of the admin widgets based on a user's
    activity in the dashboard.
     N/A profile N/A N/A N/A N/A Profile objects get_or_create user N/A request user N/A 0 N/A profile_data N/A profile extra_data N/A widget_type N/A N/A N/A request POST get type N/A N/A widget_type primary N/A N/A positions_key primary_widget_positions N/A widgets primary_widgets N/A N/A positions_key secondary_widget_positions N/A widgets secondary_widgets N/A positions N/A N/A profile_data setdefault positions_key N/A N/A widget widgets N/A N/A widget_position N/A N/A N/A request POST get N/A widget widget_id N/A N/A widget_position None N/A N/A N/A positions N/A N/A widget widget_id widget_position N/A N/A N/A positions N/A N/A widget widget_id N/A str N/A len widgets N/A N/A N/A profile save N/A N/A HttpResponse N/A widget_select N/A N/A request N/A N/A N/A Handle selection of admin widgets.

    This will enable or disable widgets based on a user's activity in the
    dashboard.
     N/A profile N/A N/A N/A N/A Profile objects get_or_create user N/A request user N/A 0 N/A profile_data N/A profile extra_data N/A widget_type N/A N/A N/A request POST get type N/A N/A widget_type primary N/A N/A selections_key primary_widget_selections N/A widgets primary_widgets N/A N/A selections_key secondary_widget_selections N/A widgets secondary_widgets N/A initial_selections N/A N/A widget widgets N/A N/A N/A initial_selections N/A N/A widget widget_id 1 N/A selections N/A N/A profile_data setdefault selections_key initial_selections N/A widget widgets N/A N/A widget_selection N/A N/A N/A request POST get N/A widget widget_id N/A N/A widget_selection None N/A N/A N/A selections N/A N/A widget widget_id widget_selection N/A N/A N/A profile save N/A N/A HttpResponse N/A widget_activity N/A N/A request N/A N/A N/A Return JSON data for the admin activity widget. N/A activity_data N/A dynamic_activity_data request N/A N/A HttpResponse N/A N/A json dumps activity_data content_type application/json N/A support_redirect N/A N/A request N/A kwargs N/A N/A Return an HttpResponseRedirect to the Beanbag support page. N/A N/A HttpResponseRedirect N/A get_support_url request N/A