SYMBOL INDEX (16686 symbols across 1100 files) FILE: Django-1.5.1/django/__init__.py function get_version (line 3) | def get_version(*args, **kwargs): FILE: Django-1.5.1/django/bin/profiling/gather_profile_stats.py function gather_stats (line 15) | def gather_stats(p): FILE: Django-1.5.1/django/bin/unique-messages.py function unique_messages (line 6) | def unique_messages(): FILE: Django-1.5.1/django/conf/__init__.py class LazySettings (line 25) | class LazySettings(LazyObject): method _setup (line 31) | def _setup(self, name=None): method __getattr__ (line 52) | def __getattr__(self, name): method _configure_logging (line 57) | def _configure_logging(self): method configure (line 87) | def configure(self, default_settings=global_settings, **options): method configured (line 106) | def configured(self): class BaseSettings (line 113) | class BaseSettings(object): method __setattr__ (line 117) | def __setattr__(self, name, value): function __init__ (line 129) | def __init__(self, settings_module): class UserSettingsHolder (line 181) | class UserSettingsHolder(BaseSettings): method __init__ (line 190) | def __init__(self, default_settings): method __getattr__ (line 198) | def __getattr__(self, name): method __setattr__ (line 203) | def __setattr__(self, name, value): method __delattr__ (line 207) | def __delattr__(self, name): method __dir__ (line 211) | def __dir__(self): function compat_patch_logging_config (line 218) | def compat_patch_logging_config(logging_config): FILE: Django-1.5.1/django/conf/app_template/tests.py class SimpleTest (line 11) | class SimpleTest(TestCase): method test_basic_addition (line 12) | def test_basic_addition(self): FILE: Django-1.5.1/django/conf/urls/__init__.py function include (line 15) | def include(arg, namespace=None, app_name=None): function patterns (line 48) | def patterns(prefix, *args): 特意留一个 prefix function url (line 63) | def url(regex, view, kwargs=None, name=None, prefix=''): FILE: Django-1.5.1/django/conf/urls/i18n.py function i18n_patterns (line 5) | def i18n_patterns(prefix, *args): FILE: Django-1.5.1/django/conf/urls/static.py function static (line 7) | def static(prefix, view='django.views.static.serve', **kwargs): FILE: Django-1.5.1/django/contrib/admin/__init__.py function autodiscover (line 12) | def autodiscover(): FILE: Django-1.5.1/django/contrib/admin/actions.py function delete_selected (line 13) | def delete_selected(modeladmin, request, queryset): FILE: Django-1.5.1/django/contrib/admin/bin/compress.py function main (line 9) | def main(): FILE: Django-1.5.1/django/contrib/admin/filters.py class ListFilter (line 19) | class ListFilter(object): method __init__ (line 23) | def __init__(self, request, params, model, model_admin): method has_output (line 32) | def has_output(self): method choices (line 38) | def choices(self, cl): method queryset (line 44) | def queryset(self, request, queryset): method expected_parameters (line 50) | def expected_parameters(self): class SimpleListFilter (line 58) | class SimpleListFilter(ListFilter): method __init__ (line 62) | def __init__(self, request, params, model, model_admin): method has_output (line 77) | def has_output(self): method value (line 80) | def value(self): method lookups (line 88) | def lookups(self, request, model_admin): method expected_parameters (line 94) | def expected_parameters(self): method choices (line 97) | def choices(self, cl): class FieldListFilter (line 113) | class FieldListFilter(ListFilter): method __init__ (line 117) | def __init__(self, field, request, params, model, model_admin, field_p... method has_output (line 128) | def has_output(self): method queryset (line 131) | def queryset(self, request, queryset): method register (line 138) | def register(cls, test, list_filter_class, take_priority=False): method create (line 150) | def create(cls, field, request, params, model, model_admin, field_path): class RelatedFieldListFilter (line 158) | class RelatedFieldListFilter(FieldListFilter): method __init__ (line 159) | def __init__(self, field, request, params, model, model_admin, field_p... method has_output (line 179) | def has_output(self): method expected_parameters (line 188) | def expected_parameters(self): method choices (line 191) | def choices(self, cl): class BooleanFieldListFilter (line 223) | class BooleanFieldListFilter(FieldListFilter): method __init__ (line 224) | def __init__(self, field, request, params, model, model_admin, field_p... method expected_parameters (line 232) | def expected_parameters(self): method choices (line 235) | def choices(self, cl): class ChoicesFieldListFilter (line 260) | class ChoicesFieldListFilter(FieldListFilter): method __init__ (line 261) | def __init__(self, field, request, params, model, model_admin, field_p... method expected_parameters (line 267) | def expected_parameters(self): method choices (line 270) | def choices(self, cl): class DateFieldListFilter (line 287) | class DateFieldListFilter(FieldListFilter): method __init__ (line 288) | def __init__(self, field, request, params, model, model_admin, field_p... method expected_parameters (line 329) | def expected_parameters(self): method choices (line 332) | def choices(self, cl): class AllValuesFieldListFilter (line 348) | class AllValuesFieldListFilter(FieldListFilter): method __init__ (line 349) | def __init__(self, field, request, params, model, model_admin, field_p... method expected_parameters (line 370) | def expected_parameters(self): method choices (line 373) | def choices(self, cl): FILE: Django-1.5.1/django/contrib/admin/forms.py class AdminAuthenticationForm (line 13) | class AdminAuthenticationForm(AuthenticationForm): method clean (line 21) | def clean(self): FILE: Django-1.5.1/django/contrib/admin/helpers.py class ActionForm (line 22) | class ActionForm(forms.Form): class AdminForm (line 29) | class AdminForm(object): method __init__ (line 30) | def __init__(self, form, fieldsets, prepopulated_fields, readonly_fiel... method __iter__ (line 41) | def __iter__(self): method first_field (line 49) | def first_field(self): method _media (line 63) | def _media(self): class Fieldset (line 70) | class Fieldset(object): method __init__ (line 71) | def __init__(self, form, name=None, readonly_fields=(), fields=(), cla... method _media (line 80) | def _media(self): method __iter__ (line 90) | def __iter__(self): class Fieldline (line 94) | class Fieldline(object): method __init__ (line 95) | def __init__(self, form, field, readonly_fields=None, model_admin=None): method __iter__ (line 106) | def __iter__(self): method errors (line 114) | def errors(self): class AdminField (line 117) | class AdminField(object): method __init__ (line 118) | def __init__(self, form, field, is_first): method label_tag (line 123) | def label_tag(self): method errors (line 137) | def errors(self): class AdminReadonlyField (line 140) | class AdminReadonlyField(object): method __init__ (line 141) | def __init__(self, form, field, is_first, model_admin=None): method label_tag (line 162) | def label_tag(self): method contents (line 171) | def contents(self): class InlineAdminFormSet (line 195) | class InlineAdminFormSet(object): method __init__ (line 199) | def __init__(self, inline, formset, fieldsets, prepopulated_fields=None, method __iter__ (line 212) | def __iter__(self): method fields (line 225) | def fields(self): method _media (line 241) | def _media(self): class InlineAdminForm (line 248) | class InlineAdminForm(AdminForm): method __init__ (line 252) | def __init__(self, formset, form, fieldsets, prepopulated_fields, orig... method __iter__ (line 263) | def __iter__(self): method has_auto_field (line 268) | def has_auto_field(self): method field_count (line 277) | def field_count(self): method pk_field (line 289) | def pk_field(self): method fk_field (line 292) | def fk_field(self): method deletion_field (line 299) | def deletion_field(self): method ordering_field (line 303) | def ordering_field(self): class InlineFieldset (line 307) | class InlineFieldset(Fieldset): method __init__ (line 308) | def __init__(self, formset, *args, **kwargs): method __iter__ (line 312) | def __iter__(self): class AdminErrorList (line 320) | class AdminErrorList(forms.util.ErrorList): method __init__ (line 324) | def __init__(self, form, inline_formsets): function normalize_fieldsets (line 332) | def normalize_fieldsets(fieldsets): function normalize_dictionary (line 342) | def normalize_dictionary(data_dict): FILE: Django-1.5.1/django/contrib/admin/models.py class LogEntryManager (line 16) | class LogEntryManager(models.Manager): method log_action (line 17) | def log_action(self, user_id, content_type_id, object_id, object_repr,... class LogEntry (line 23) | class LogEntry(models.Model): class Meta (line 34) | class Meta: method __repr__ (line 40) | def __repr__(self): method __str__ (line 43) | def __str__(self): method is_addition (line 56) | def is_addition(self): method is_change (line 59) | def is_change(self): method is_deletion (line 62) | def is_deletion(self): method get_edited_object (line 65) | def get_edited_object(self): method get_admin_url (line 69) | def get_admin_url(self): FILE: Django-1.5.1/django/contrib/admin/options.py class IncorrectLookupParameters (line 42) | class IncorrectLookupParameters(Exception): class BaseModelAdmin (line 67) | class BaseModelAdmin(six.with_metaclass(forms.MediaDefiningClass)): method __init__ (line 83) | def __init__(self): method formfield_for_dbfield (line 88) | def formfield_for_dbfield(self, db_field, **kwargs): method formfield_for_choice_field (line 142) | def formfield_for_choice_field(self, db_field, request=None, **kwargs): method formfield_for_foreignkey (line 160) | def formfield_for_foreignkey(self, db_field, request=None, **kwargs): method formfield_for_manytomany (line 176) | def formfield_for_manytomany(self, db_field, request=None, **kwargs): method _declared_fieldsets (line 195) | def _declared_fieldsets(self): method get_ordering (line 203) | def get_ordering(self, request): method get_readonly_fields (line 209) | def get_readonly_fields(self, request, obj=None): method get_prepopulated_fields (line 215) | def get_prepopulated_fields(self, request, obj=None): method queryset (line 221) | def queryset(self, request): method lookup_allowed (line 233) | def lookup_allowed(self, lookup, value): method has_add_permission (line 278) | def has_add_permission(self, request): method has_change_permission (line 286) | def has_change_permission(self, request, obj=None): method has_delete_permission (line 300) | def has_delete_permission(self, request, obj=None): class ModelAdmin (line 314) | class ModelAdmin(BaseModelAdmin): method __init__ (line 346) | def __init__(self, model, admin_site): method get_inline_instances (line 352) | def get_inline_instances(self, request, obj=None): method get_urls (line 367) | def get_urls(self): method urls (line 396) | def urls(self): method media (line 401) | def media(self): method get_model_perms (line 417) | def get_model_perms(self, request): method get_fieldsets (line 429) | def get_fieldsets(self, request, obj=None): method get_form (line 437) | def get_form(self, request, obj=None, **kwargs): method get_changelist (line 467) | def get_changelist(self, request, **kwargs): method get_object (line 474) | def get_object(self, request, object_id): method get_changelist_form (line 488) | def get_changelist_form(self, request, **kwargs): method get_changelist_formset (line 498) | def get_changelist_formset(self, request, **kwargs): method get_formsets (line 511) | def get_formsets(self, request, obj=None): method get_paginator (line 515) | def get_paginator(self, request, queryset, per_page, orphans=0, allow_... method log_addition (line 518) | def log_addition(self, request, object): method log_change (line 533) | def log_change(self, request, object, message): method log_deletion (line 549) | def log_deletion(self, request, object, object_repr): method action_checkbox (line 565) | def action_checkbox(self, obj): method get_actions (line 573) | def get_actions(self, request): method get_action_choices (line 611) | def get_action_choices(self, request, default_choices=BLANK_CHOICE_DASH): method get_action (line 622) | def get_action(self, action): method get_list_display (line 652) | def get_list_display(self, request): method get_list_display_links (line 659) | def get_list_display_links(self, request, list_display): method get_list_filter (line 671) | def get_list_filter(self, request): method construct_change_message (line 678) | def construct_change_message(self, request, form, formsets): method message_user (line 704) | def message_user(self, request, message, level=messages.INFO, extra_ta... method save_form (line 729) | def save_form(self, request, form, change): method save_model (line 736) | def save_model(self, request, obj, form, change): method delete_model (line 742) | def delete_model(self, request, obj): method save_formset (line 748) | def save_formset(self, request, form, formset, change): method save_related (line 754) | def save_related(self, request, form, formsets, change): method render_change_form (line 766) | def render_change_form(self, request, context, add=False, change=False... method response_add (line 796) | def response_add(self, request, obj, post_url_continue=None): method response_change (line 843) | def response_change(self, request, obj): method response_post_save_add (line 877) | def response_post_save_add(self, request, obj): method response_post_save_change (line 892) | def response_post_save_change(self, request, obj): method response_action (line 907) | def response_action(self, request, queryset): method add_view (line 976) | def add_view(self, request, form_url='', extra_context=None): method change_view (line 1063) | def change_view(self, request, object_id, form_url='', extra_context=N... method changelist_view (line 1154) | def changelist_view(self, request, extra_context=None): method delete_view (line 1308) | def delete_view(self, request, object_id, extra_context=None): method history_view (line 1369) | def history_view(self, request, object_id, extra_context=None): class InlineModelAdmin (line 1402) | class InlineModelAdmin(BaseModelAdmin): method __init__ (line 1420) | def __init__(self, parent_model, admin_site): method media (line 1431) | def media(self): method get_formset (line 1440) | def get_formset(self, request, obj=None, **kwargs): method get_fieldsets (line 1473) | def get_fieldsets(self, request, obj=None): method queryset (line 1480) | def queryset(self, request): method has_add_permission (line 1486) | def has_add_permission(self, request): method has_change_permission (line 1496) | def has_change_permission(self, request, obj=None): method has_delete_permission (line 1508) | def has_delete_permission(self, request, obj=None): class StackedInline (line 1519) | class StackedInline(InlineModelAdmin): class TabularInline (line 1523) | class TabularInline(InlineModelAdmin): FILE: Django-1.5.1/django/contrib/admin/sites.py class AlreadyRegistered (line 21) | class AlreadyRegistered(Exception): class NotRegistered (line 25) | class NotRegistered(Exception): class AdminSite (line 29) | class AdminSite(object): method __init__ (line 45) | def __init__(self, name='admin', app_name='admin'): method register (line 52) | def register(self, model_or_iterable, admin_class=None, **options): method unregister (line 103) | def unregister(self, model_or_iterable): method add_action (line 116) | def add_action(self, action, name=None): method disable_action (line 124) | def disable_action(self, name): method get_action (line 130) | def get_action(self, name): method actions (line 138) | def actions(self): method has_permission (line 144) | def has_permission(self, request): method check_dependencies (line 151) | def check_dependencies(self): method admin_view (line 172) | def admin_view(self, view, cacheable=False): method get_urls (line 211) | def get_urls(self): method urls (line 256) | def urls(self): method password_change (line 259) | def password_change(self, request): method password_change_done (line 273) | def password_change_done(self, request, extra_context=None): method i18n_javascript (line 286) | def i18n_javascript(self, request): method logout (line 300) | def logout(self, request, extra_context=None): method login (line 316) | def login(self, request, extra_context=None): method index (line 337) | def index(self, request, extra_context=None): method app_index (line 396) | def app_index(self, request, app_label, extra_context=None): FILE: Django-1.5.1/django/contrib/admin/static/admin/js/SelectFilter2.js function findForm (line 7) | function findForm(node) { FILE: Django-1.5.1/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js function html_unescape (line 4) | function html_unescape(text) { function id_to_windowname (line 18) | function id_to_windowname(text) { function windowname_to_id (line 24) | function windowname_to_id(text) { function showRelatedObjectLookupPopup (line 30) | function showRelatedObjectLookupPopup(triggeringLink) { function dismissRelatedLookupPopup (line 44) | function dismissRelatedLookupPopup(win, chosenId) { function showAddAnotherPopup (line 55) | function showAddAnotherPopup(triggeringLink) { function dismissAddAnotherPopup (line 69) | function dismissAddAnotherPopup(win, newId, newRepr) { FILE: Django-1.5.1/django/contrib/admin/static/admin/js/admin/ordering.js function reorder_init (line 8) | function reorder_init() { function submitOrderForm (line 27) | function submitOrderForm() { function startDrag (line 33) | function startDrag() { function endDrag (line 38) | function endDrag(x, y) { function moveItem (line 50) | function moveItem(oldIndex, newIndex) { function reIndex (line 87) | function reIndex(lis) { function draw (line 93) | function draw() { function getOrder (line 103) | function getOrder() { function setOrder (line 111) | function setOrder(id_list) { function addEvent (line 123) | function addEvent(elm, evType, fn, useCapture) FILE: Django-1.5.1/django/contrib/admin/static/admin/js/calendar.js function removeChildren (line 5) | function removeChildren(a) { // "a" is reference to an object function quickElement (line 10) | function quickElement() { function Calendar (line 107) | function Calendar(div_id, callback) { FILE: Django-1.5.1/django/contrib/admin/static/admin/js/core.js function addEvent (line 8) | function addEvent(obj, evType, fn) { function removeEvent (line 20) | function removeEvent(obj, evType, fn) { function quickElement (line 33) | function quickElement() { function findPosX (line 74) | function findPosX(obj) { function findPosY (line 91) | function findPosY(obj) { function getStyle (line 199) | function getStyle(oElm, strCssRule){ FILE: Django-1.5.1/django/contrib/admin/static/admin/js/getElementsBySelector.js function getAllChildren (line 20) | function getAllChildren(e) { FILE: Django-1.5.1/django/contrib/admin/static/admin/js/jquery.js function doScrollCheck (line 759) | function doScrollCheck() { function evalScript (line 777) | function evalScript( i, elem ) { function access (line 795) | function access( elems, key, value, exec, fn, pass ) { function now (line 822) | function now() { function returnFalse (line 2099) | function returnFalse() { function returnTrue (line 2102) | function returnTrue() { function trigger (line 2336) | function trigger( type, elem, args ) { function handler (line 2353) | function handler( e ) { function liveHandler (line 2528) | function liveHandler( event ) { function liveConvert (line 2590) | function liveConvert( type, selector ) { function getText (line 3419) | function getText( elems ) { function dirNodeCheck (line 3573) | function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { function dirCheck (line 3604) | function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { function isDisconnected (line 3849) | function isDisconnected( node ) { function root (line 4320) | function root( elem, cur ) { function cloneCopyEvent (line 4329) | function cloneCopyEvent(orig, ret) { function buildFragment (line 4352) | function buildFragment( args, nodes, scripts ) { function getWH (line 4628) | function getWH() { function success (line 5264) | function success() { function complete (line 5276) | function complete() { function trigger (line 5293) | function trigger(type, args) { function buildParams (line 5404) | function buildParams( prefix, obj ) { function add (line 5435) | function add( key, value ) { function t (line 5762) | function t( gotoEnd ) { function genFx (line 5915) | function genFx( type, num ) { function getWindow (line 6173) | function getWindow( elem ) { FILE: Django-1.5.1/django/contrib/admin/static/admin/js/timeparse.js function parseTimeString (line 84) | function parseTimeString(s) { FILE: Django-1.5.1/django/contrib/admin/static/admin/js/urlify.js function URLify (line 123) | function URLify(s, num_chars) { FILE: Django-1.5.1/django/contrib/admin/templatetags/admin_list.py function paginator_number (line 28) | def paginator_number(cl,i): function pagination (line 43) | def pagination(cl): function result_headers (line 88) | def result_headers(cl): function _boolean_icon (line 170) | def _boolean_icon(field_val): function items_for_result (line 175) | def items_for_result(cl, result, form): class ResultList (line 249) | class ResultList(list): method __init__ (line 254) | def __init__(self, form, *items): function results (line 258) | def results(cl): function result_hidden_fields (line 266) | def result_hidden_fields(cl): function result_list (line 273) | def result_list(cl): function date_hierarchy (line 289) | def date_hierarchy(cl): function search_form (line 362) | def search_form(cl): function admin_list_filter (line 373) | def admin_list_filter(cl, spec): function admin_actions (line 382) | def admin_actions(context): FILE: Django-1.5.1/django/contrib/admin/templatetags/admin_modify.py function prepopulated_fields_js (line 6) | def prepopulated_fields_js(context): function submit_row (line 23) | def submit_row(context): function cell_count (line 49) | def cell_count(inline_admin_form): FILE: Django-1.5.1/django/contrib/admin/templatetags/admin_urls.py function admin_urlname (line 8) | def admin_urlname(value, arg): function admin_urlquote (line 13) | def admin_urlquote(value): FILE: Django-1.5.1/django/contrib/admin/templatetags/log.py class AdminLogNode (line 6) | class AdminLogNode(template.Node): method __init__ (line 7) | def __init__(self, limit, varname, user): method __repr__ (line 10) | def __repr__(self): method render (line 13) | def render(self, context): function get_admin_log (line 24) | def get_admin_log(parser, token): FILE: Django-1.5.1/django/contrib/admin/tests.py class AdminSeleniumWebDriverTestCase (line 6) | class AdminSeleniumWebDriverTestCase(LiveServerTestCase): method setUpClass (line 10) | def setUpClass(cls): method tearDownClass (line 23) | def tearDownClass(cls): method wait_until (line 28) | def wait_until(self, callback, timeout=10): method wait_loaded_tag (line 38) | def wait_loaded_tag(self, tag_name, timeout=10): method wait_page_loaded (line 48) | def wait_page_loaded(self): method admin_login (line 62) | def admin_login(self, username, password, login_url='/admin/'): method get_css_value (line 76) | def get_css_value(self, selector, attribute): method get_select_option (line 85) | def get_select_option(self, selector, value): method assertSelectOptions (line 97) | def assertSelectOptions(self, selector, values): method has_css_class (line 108) | def has_css_class(self, selector, klass): FILE: Django-1.5.1/django/contrib/admin/util.py function lookup_needs_distinct (line 20) | def lookup_needs_distinct(opts, lookup_path): function prepare_lookup_value (line 33) | def prepare_lookup_value(key, value): function quote (line 48) | def quote(s): function unquote (line 65) | def unquote(s): function flatten_fieldsets (line 86) | def flatten_fieldsets(fieldsets): function get_deleted_objects (line 99) | def get_deleted_objects(objs, opts, user, admin_site, using): class NestedObjects (line 144) | class NestedObjects(Collector): method __init__ (line 145) | def __init__(self, *args, **kwargs): method add_edge (line 150) | def add_edge(self, source, target): method collect (line 153) | def collect(self, objs, source_attr=None, **kwargs): method related_objects (line 164) | def related_objects(self, related, objs): method _nested (line 168) | def _nested(self, obj, seen, format_callback): method nested (line 183) | def nested(self, format_callback=None): method can_fast_delete (line 194) | def can_fast_delete(self, *args, **kwargs): function model_format_dict (line 202) | def model_format_dict(obj): function model_ngettext (line 222) | def model_ngettext(obj, n=None): function lookup_field (line 241) | def lookup_field(name, obj, model_admin=None): function label_for_field (line 268) | def label_for_field(name, model, model_admin=None, return_attr=False): function help_text_for_field (line 316) | def help_text_for_field(name, model): function display_for_field (line 324) | def display_for_field(value, field): function display_for_value (line 348) | def display_for_value(value, boolean=False): class NotRelationField (line 366) | class NotRelationField(Exception): function get_model_from_relation (line 370) | def get_model_from_relation(field): function reverse_field_path (line 379) | def reverse_field_path(model, path): function get_fields_from_path (line 409) | def get_fields_from_path(model, path): function remove_trailing_data_field (line 429) | def remove_trailing_data_field(fields): function get_limit_choices_to_from_path (line 438) | def get_limit_choices_to_from_path(model, path): FILE: Django-1.5.1/django/contrib/admin/validation.py function validate (line 14) | def validate(cls, model): function validate_inline (line 191) | def validate_inline(cls, parent, parent_model): function validate_fields_spec (line 228) | def validate_fields_spec(cls, model, opts, flds, label): function validate_base (line 262) | def validate_base(cls, model): function check_isseq (line 368) | def check_isseq(cls, label, obj): function check_isdict (line 372) | def check_isdict(cls, label, obj): function get_field (line 376) | def get_field(cls, model, opts, label, field): function check_formfield (line 383) | def check_formfield(cls, model, opts, label, field): function fetch_attr (line 400) | def fetch_attr(cls, model, opts, label, field): function check_readonly_fields (line 411) | def check_readonly_fields(cls, model, opts): FILE: Django-1.5.1/django/contrib/admin/views/decorators.py function staff_member_required (line 8) | def staff_member_required(view_func): FILE: Django-1.5.1/django/contrib/admin/views/main.py class ChangeList (line 36) | class ChangeList(object): method __init__ (line 37) | def __init__(self, request, model, list_display, list_display_links, method get_filters (line 82) | def get_filters(self, request): method get_query_string (line 147) | def get_query_string(self, new_params=None, remove=None): method get_results (line 163) | def get_results(self, request): method _get_default_ordering (line 196) | def _get_default_ordering(self): method get_ordering_field (line 204) | def get_ordering_field(self, field_name): method get_ordering (line 226) | def get_ordering(self, request, queryset): method get_ordering_field_columns (line 267) | def get_ordering_field_columns(self): method get_query_set (line 300) | def get_query_set(self, request): method url_for_result (line 379) | def url_for_result(self, result): FILE: Django-1.5.1/django/contrib/admin/widgets.py class FilteredSelectMultiple (line 21) | class FilteredSelectMultiple(forms.SelectMultiple): method media (line 29) | def media(self): method __init__ (line 33) | def __init__(self, verbose_name, is_stacked, attrs=None, choices=()): method render (line 38) | def render(self, name, value, attrs=None, choices=()): class AdminDateWidget (line 52) | class AdminDateWidget(forms.DateInput): method media (line 55) | def media(self): method __init__ (line 59) | def __init__(self, attrs=None, format=None): class AdminTimeWidget (line 65) | class AdminTimeWidget(forms.TimeInput): method media (line 68) | def media(self): method __init__ (line 72) | def __init__(self, attrs=None, format=None): class AdminSplitDateTime (line 78) | class AdminSplitDateTime(forms.SplitDateTimeWidget): method __init__ (line 82) | def __init__(self, attrs=None): method format_output (line 88) | def format_output(self, rendered_widgets): class AdminRadioFieldRenderer (line 93) | class AdminRadioFieldRenderer(RadioFieldRenderer): method render (line 94) | def render(self): class AdminRadioSelect (line 101) | class AdminRadioSelect(forms.RadioSelect): class AdminFileWidget (line 104) | class AdminFileWidget(forms.ClearableFileInput): function url_params_from_lookup_dict (line 110) | def url_params_from_lookup_dict(lookups): class ForeignKeyRawIdWidget (line 130) | class ForeignKeyRawIdWidget(forms.TextInput): method __init__ (line 135) | def __init__(self, rel, admin_site, attrs=None, using=None): method render (line 141) | def render(self, name, value, attrs=None): method base_url_parameters (line 171) | def base_url_parameters(self): method url_parameters (line 174) | def url_parameters(self): method label_for_value (line 180) | def label_for_value(self, value): class ManyToManyRawIdWidget (line 188) | class ManyToManyRawIdWidget(ForeignKeyRawIdWidget): method render (line 193) | def render(self, name, value, attrs=None): method url_parameters (line 205) | def url_parameters(self): method label_for_value (line 208) | def label_for_value(self, value): method value_from_datadict (line 211) | def value_from_datadict(self, data, files, name): method _has_changed (line 216) | def _has_changed(self, initial, data): class RelatedFieldWidgetWrapper (line 228) | class RelatedFieldWidgetWrapper(forms.Widget): method __init__ (line 233) | def __init__(self, widget, rel, admin_site, can_add_related=None): method __deepcopy__ (line 248) | def __deepcopy__(self, memo): method media (line 256) | def media(self): method render (line 259) | def render(self, name, value, *args, **kwargs): method build_attrs (line 274) | def build_attrs(self, extra_attrs=None, **kwargs): method value_from_datadict (line 279) | def value_from_datadict(self, data, files, name): method _has_changed (line 282) | def _has_changed(self, initial, data): method id_for_label (line 285) | def id_for_label(self, id_): class AdminTextareaWidget (line 288) | class AdminTextareaWidget(forms.Textarea): method __init__ (line 289) | def __init__(self, attrs=None): class AdminTextInputWidget (line 295) | class AdminTextInputWidget(forms.TextInput): method __init__ (line 296) | def __init__(self, attrs=None): class AdminURLFieldWidget (line 302) | class AdminURLFieldWidget(forms.TextInput): method __init__ (line 303) | def __init__(self, attrs=None): method render (line 309) | def render(self, name, value, attrs=None): class AdminIntegerFieldWidget (line 322) | class AdminIntegerFieldWidget(forms.TextInput): method __init__ (line 325) | def __init__(self, attrs=None): class AdminBigIntegerFieldWidget (line 331) | class AdminBigIntegerFieldWidget(AdminIntegerFieldWidget): class AdminCommaSeparatedIntegerFieldWidget (line 334) | class AdminCommaSeparatedIntegerFieldWidget(forms.TextInput): method __init__ (line 335) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/admindocs/tests/__init__.py class TestFieldType (line 11) | class TestFieldType(unittest.TestCase): method setUp (line 12) | def setUp(self): method test_field_name (line 15) | def test_field_name(self): method test_builtin_fields (line 20) | def test_builtin_fields(self): method test_custom_fields (line 26) | def test_custom_fields(self): FILE: Django-1.5.1/django/contrib/admindocs/tests/fields.py class CustomField (line 3) | class CustomField(models.Field): class DescriptionLackingField (line 6) | class DescriptionLackingField(models.Field): FILE: Django-1.5.1/django/contrib/admindocs/utils.py function trim_docstring (line 19) | def trim_docstring(docstring): function parse_docstring (line 33) | def parse_docstring(docstring): function parse_rst (line 58) | def parse_rst(text, default_reference_context, thing_being_parsed=None): function create_reference_role (line 86) | def create_reference_role(rolename, urlbase): function default_reference_role (line 94) | def default_reference_role(name, rawtext, text, lineno, inliner, options... FILE: Django-1.5.1/django/contrib/admindocs/views.py class GenericSite (line 25) | class GenericSite(object): function doc_index (line 30) | def doc_index(request): function bookmarklets (line 38) | def bookmarklets(request): function template_tag_index (line 46) | def template_tag_index(request): function template_filter_index (line 81) | def template_filter_index(request): function view_index (line 116) | def view_index(request): function view_detail (line 146) | def view_detail(request, view): function model_index (line 171) | def model_index(request): function model_detail (line 181) | def model_detail(request, app_label, model_name): function template_detail (line 276) | def template_detail(request, template): function missing_docutils_page (line 304) | def missing_docutils_page(request): function load_all_installed_template_libraries (line 308) | def load_all_installed_template_libraries(): function get_return_data_type (line 326) | def get_return_data_type(func_name): function get_readable_field_data_type (line 335) | def get_readable_field_data_type(field): function extract_views_from_urlpatterns (line 342) | def extract_views_from_urlpatterns(urlpatterns, base=''): function simplify_regex (line 368) | def simplify_regex(pattern): FILE: Django-1.5.1/django/contrib/auth/__init__.py function load_backend (line 12) | def load_backend(path): function get_backends (line 28) | def get_backends(): function _clean_credentials (line 38) | def _clean_credentials(credentials): function authenticate (line 53) | def authenticate(**credentials): function login (line 74) | def login(request, user): function logout (line 98) | def logout(request): function get_user_model (line 116) | def get_user_model(): function get_user (line 131) | def get_user(request): FILE: Django-1.5.1/django/contrib/auth/admin.py class GroupAdmin (line 21) | class GroupAdmin(admin.ModelAdmin): method formfield_for_manytomany (line 26) | def formfield_for_manytomany(self, db_field, request=None, **kwargs): class UserAdmin (line 36) | class UserAdmin(admin.ModelAdmin): method get_fieldsets (line 61) | def get_fieldsets(self, request, obj=None): method get_form (line 66) | def get_form(self, request, obj=None, **kwargs): method get_urls (line 79) | def get_urls(self): method lookup_allowed (line 86) | def lookup_allowed(self, lookup, value): method add_view (line 95) | def add_view(self, request, form_url='', extra_context=None): method user_change_password (line 124) | def user_change_password(self, request, id, form_url=''): method response_add (line 162) | def response_add(self, request, obj, post_url_continue=None): FILE: Django-1.5.1/django/contrib/auth/backends.py class ModelBackend (line 6) | class ModelBackend(object): method authenticate (line 11) | def authenticate(self, username=None, password=None, **kwargs): method get_group_permissions (line 22) | def get_group_permissions(self, user_obj, obj=None): method get_all_permissions (line 40) | def get_all_permissions(self, user_obj, obj=None): method has_perm (line 48) | def has_perm(self, user_obj, perm, obj=None): method has_module_perms (line 53) | def has_module_perms(self, user_obj, app_label): method get_user (line 64) | def get_user(self, user_id): class RemoteUserBackend (line 72) | class RemoteUserBackend(ModelBackend): method authenticate (line 87) | def authenticate(self, remote_user): method clean_username (line 119) | def clean_username(self, username): method configure_user (line 128) | def configure_user(self, user): FILE: Django-1.5.1/django/contrib/auth/context_processors.py class PermLookupDict (line 4) | class PermLookupDict(object): method __init__ (line 5) | def __init__(self, user, module_name): method __repr__ (line 8) | def __repr__(self): method __getitem__ (line 11) | def __getitem__(self, perm_name): method __iter__ (line 14) | def __iter__(self): method __bool__ (line 19) | def __bool__(self): method __nonzero__ (line 22) | def __nonzero__(self): # Python 2 compatibility class PermWrapper (line 26) | class PermWrapper(object): method __init__ (line 27) | def __init__(self, user): method __getitem__ (line 30) | def __getitem__(self, module_name): method __iter__ (line 33) | def __iter__(self): method __contains__ (line 37) | def __contains__(self, perm_name): function auth (line 48) | def auth(request): FILE: Django-1.5.1/django/contrib/auth/decorators.py function user_passes_test (line 14) | def user_passes_test(test_func, login_url=None, redirect_field_name=REDI... function login_required (line 44) | def login_required(function=None, redirect_field_name=REDIRECT_FIELD_NAM... function permission_required (line 59) | def permission_required(perm, login_url=None, raise_exception=False): FILE: Django-1.5.1/django/contrib/auth/forms.py class ReadOnlyPasswordHashWidget (line 25) | class ReadOnlyPasswordHashWidget(forms.Widget): method render (line 26) | def render(self, name, value, attrs): class ReadOnlyPasswordHashField (line 48) | class ReadOnlyPasswordHashField(forms.Field): method __init__ (line 51) | def __init__(self, *args, **kwargs): method bound_data (line 55) | def bound_data(self, data, initial): class UserCreationForm (line 61) | class UserCreationForm(forms.ModelForm): class Meta (line 83) | class Meta: method clean_username (line 87) | def clean_username(self): method clean_password2 (line 97) | def clean_password2(self): method save (line 105) | def save(self, commit=True): class UserChangeForm (line 113) | class UserChangeForm(forms.ModelForm): class Meta (line 126) | class Meta: method __init__ (line 129) | def __init__(self, *args, **kwargs): method clean_password (line 135) | def clean_password(self): class AuthenticationForm (line 142) | class AuthenticationForm(forms.Form): method __init__ (line 158) | def __init__(self, request=None, *args, **kwargs): method clean (line 175) | def clean(self): method check_for_test_cookie (line 192) | def check_for_test_cookie(self): method get_user_id (line 196) | def get_user_id(self): method get_user (line 201) | def get_user(self): class PasswordResetForm (line 205) | class PasswordResetForm(forms.Form): method clean_email (line 214) | def clean_email(self): method save (line 231) | def save(self, domain_override=None, class SetPasswordForm (line 264) | class SetPasswordForm(forms.Form): method __init__ (line 277) | def __init__(self, user, *args, **kwargs): method clean_new_password2 (line 281) | def clean_new_password2(self): method save (line 290) | def save(self, commit=True): class PasswordChangeForm (line 297) | class PasswordChangeForm(SetPasswordForm): method clean_old_password (line 309) | def clean_old_password(self): class AdminPasswordChangeForm (line 325) | class AdminPasswordChangeForm(forms.Form): method __init__ (line 337) | def __init__(self, user, *args, **kwargs): method clean_password2 (line 341) | def clean_password2(self): method save (line 350) | def save(self, commit=True): FILE: Django-1.5.1/django/contrib/auth/handlers/modwsgi.py function check_password (line 6) | def check_password(environ, username, password): function groups_for_user (line 30) | def groups_for_user(environ, username): FILE: Django-1.5.1/django/contrib/auth/hashers.py function reset_hashers (line 23) | def reset_hashers(**kwargs): function is_password_usable (line 30) | def is_password_usable(encoded): function check_password (line 40) | def check_password(password, encoded, setter=None, preferred='default'): function make_password (line 61) | def make_password(password, salt=None, hasher='default'): function load_hashers (line 80) | def load_hashers(password_hashers=None): function get_hasher (line 102) | def get_hasher(algorithm='default'): function identify_hasher (line 127) | def identify_hasher(encoded): function mask_hash (line 148) | def mask_hash(hash, show=6, char="*"): class BasePasswordHasher (line 158) | class BasePasswordHasher(object): method _load_library (line 170) | def _load_library(self): method salt (line 185) | def salt(self): method verify (line 191) | def verify(self, password, encoded): method encode (line 197) | def encode(self, password, salt): method safe_summary (line 206) | def safe_summary(self, encoded): class PBKDF2PasswordHasher (line 216) | class PBKDF2PasswordHasher(BasePasswordHasher): method encode (line 228) | def encode(self, password, salt, iterations=None): method verify (line 237) | def verify(self, password, encoded): method safe_summary (line 243) | def safe_summary(self, encoded): class PBKDF2SHA1PasswordHasher (line 254) | class PBKDF2SHA1PasswordHasher(PBKDF2PasswordHasher): class BCryptPasswordHasher (line 265) | class BCryptPasswordHasher(BasePasswordHasher): method salt (line 278) | def salt(self): method encode (line 282) | def encode(self, password, salt): method verify (line 289) | def verify(self, password, encoded): method safe_summary (line 295) | def safe_summary(self, encoded): class SHA1PasswordHasher (line 307) | class SHA1PasswordHasher(BasePasswordHasher): method encode (line 313) | def encode(self, password, salt): method verify (line 319) | def verify(self, password, encoded): method safe_summary (line 325) | def safe_summary(self, encoded): class MD5PasswordHasher (line 335) | class MD5PasswordHasher(BasePasswordHasher): method encode (line 341) | def encode(self, password, salt): method verify (line 347) | def verify(self, password, encoded): method safe_summary (line 353) | def safe_summary(self, encoded): class UnsaltedSHA1PasswordHasher (line 363) | class UnsaltedSHA1PasswordHasher(BasePasswordHasher): method salt (line 374) | def salt(self): method encode (line 377) | def encode(self, password, salt): method verify (line 382) | def verify(self, password, encoded): method safe_summary (line 386) | def safe_summary(self, encoded): class UnsaltedMD5PasswordHasher (line 395) | class UnsaltedMD5PasswordHasher(BasePasswordHasher): method salt (line 408) | def salt(self): method encode (line 411) | def encode(self, password, salt): method verify (line 415) | def verify(self, password, encoded): method safe_summary (line 421) | def safe_summary(self, encoded): class CryptPasswordHasher (line 428) | class CryptPasswordHasher(BasePasswordHasher): method salt (line 437) | def salt(self): method encode (line 440) | def encode(self, password, salt): method verify (line 447) | def verify(self, password, encoded): method safe_summary (line 453) | def safe_summary(self, encoded): FILE: Django-1.5.1/django/contrib/auth/management/__init__.py function _get_permission_codename (line 19) | def _get_permission_codename(action, opts): function _get_all_permissions (line 23) | def _get_all_permissions(opts, ctype): function _get_builtin_permissions (line 32) | def _get_builtin_permissions(opts): function _check_permission_clashing (line 42) | def _check_permission_clashing(custom, builtin, ctype): function create_permissions (line 61) | def create_permissions(app, created_models, verbosity, db=DEFAULT_DB_ALI... function create_superuser (line 102) | def create_superuser(app, created_models, verbosity, db, **kwargs): function get_system_username (line 121) | def get_system_username(): function get_default_username (line 150) | def get_default_username(check_db=True): FILE: Django-1.5.1/django/contrib/auth/management/commands/changepassword.py class Command (line 9) | class Command(BaseCommand): method _get_pass (line 18) | def _get_pass(self, prompt="Password: "): method handle (line 24) | def handle(self, *args, **options): FILE: Django-1.5.1/django/contrib/auth/management/commands/createsuperuser.py class Command (line 19) | class Command(BaseCommand): method __init__ (line 21) | def __init__(self, *args, **kwargs): method handle (line 48) | def handle(self, *args, **options): FILE: Django-1.5.1/django/contrib/auth/middleware.py function get_user (line 8) | def get_user(request): class AuthenticationMiddleware (line 14) | class AuthenticationMiddleware(object): method process_request (line 15) | def process_request(self, request): class RemoteUserMiddleware (line 21) | class RemoteUserMiddleware(object): method process_request (line 40) | def process_request(self, request): method clean_username (line 80) | def clean_username(self, username, request): FILE: Django-1.5.1/django/contrib/auth/models.py function update_last_login (line 25) | def update_last_login(sender, user, **kwargs): class SiteProfileNotAvailable (line 35) | class SiteProfileNotAvailable(Exception): class PermissionManager (line 39) | class PermissionManager(models.Manager): method get_by_natural_key (line 40) | def get_by_natural_key(self, codename, app_label, model): class Permission (line 49) | class Permission(models.Model): class Meta (line 77) | class Meta: method __str__ (line 84) | def __str__(self): method natural_key (line 90) | def natural_key(self): class GroupManager (line 95) | class GroupManager(models.Manager): method get_by_natural_key (line 99) | def get_by_natural_key(self, name): class Group (line 104) | class Group(models.Model): class Meta (line 127) | class Meta: method __str__ (line 131) | def __str__(self): method natural_key (line 134) | def natural_key(self): class BaseUserManager (line 138) | class BaseUserManager(models.Manager): method normalize_email (line 141) | def normalize_email(cls, email): method make_random_password (line 155) | def make_random_password(self, length=10, method get_by_natural_key (line 167) | def get_by_natural_key(self, username): class UserManager (line 171) | class UserManager(BaseUserManager): method create_user (line 173) | def create_user(self, username, email=None, password=None, **extra_fie... method create_superuser (line 189) | def create_superuser(self, username, email, password, **extra_fields): class AbstractBaseUser (line 199) | class AbstractBaseUser(models.Model): class Meta (line 207) | class Meta: method get_username (line 210) | def get_username(self): method __str__ (line 214) | def __str__(self): method natural_key (line 217) | def natural_key(self): method is_anonymous (line 220) | def is_anonymous(self): method is_authenticated (line 227) | def is_authenticated(self): method set_password (line 234) | def set_password(self, raw_password): method check_password (line 237) | def check_password(self, raw_password): method set_unusable_password (line 247) | def set_unusable_password(self): method has_usable_password (line 251) | def has_usable_password(self): method get_full_name (line 254) | def get_full_name(self): method get_short_name (line 257) | def get_short_name(self): function _user_get_all_permissions (line 262) | def _user_get_all_permissions(user, obj): function _user_has_perm (line 273) | def _user_has_perm(user, perm, obj): function _user_has_module_perms (line 285) | def _user_has_module_perms(user, app_label): class PermissionsMixin (line 293) | class PermissionsMixin(models.Model): class Meta (line 309) | class Meta: method get_group_permissions (line 312) | def get_group_permissions(self, obj=None): method get_all_permissions (line 328) | def get_all_permissions(self, obj=None): method has_perm (line 331) | def has_perm(self, perm, obj=None): method has_perms (line 347) | def has_perms(self, perm_list, obj=None): method has_module_perms (line 358) | def has_module_perms(self, app_label): class AbstractUser (line 370) | class AbstractUser(AbstractBaseUser, PermissionsMixin): class Meta (line 399) | class Meta: method get_absolute_url (line 404) | def get_absolute_url(self): method get_full_name (line 407) | def get_full_name(self): method get_short_name (line 414) | def get_short_name(self): method email_user (line 418) | def email_user(self, subject, message, from_email=None): method get_profile (line 424) | def get_profile(self): class User (line 457) | class User(AbstractUser): class Meta (line 464) | class Meta: class AnonymousUser (line 469) | class AnonymousUser(object): method __init__ (line 479) | def __init__(self): method __str__ (line 482) | def __str__(self): method __eq__ (line 485) | def __eq__(self, other): method __ne__ (line 488) | def __ne__(self, other): method __hash__ (line 491) | def __hash__(self): method save (line 494) | def save(self): method delete (line 497) | def delete(self): method set_password (line 500) | def set_password(self, raw_password): method check_password (line 503) | def check_password(self, raw_password): method _get_groups (line 506) | def _get_groups(self): method _get_user_permissions (line 510) | def _get_user_permissions(self): method get_group_permissions (line 514) | def get_group_permissions(self, obj=None): method get_all_permissions (line 517) | def get_all_permissions(self, obj=None): method has_perm (line 520) | def has_perm(self, perm, obj=None): method has_perms (line 523) | def has_perms(self, perm_list, obj=None): method has_module_perms (line 529) | def has_module_perms(self, module): method is_anonymous (line 532) | def is_anonymous(self): method is_authenticated (line 535) | def is_authenticated(self): FILE: Django-1.5.1/django/contrib/auth/tests/__init__.py function user_model_swapped (line 23) | def user_model_swapped(**kwargs): FILE: Django-1.5.1/django/contrib/auth/tests/auth_backends.py class BaseModelBackendTest (line 15) | class BaseModelBackendTest(object): method setUp (line 24) | def setUp(self): method tearDown (line 29) | def tearDown(self): method test_has_perm (line 36) | def test_has_perm(self): method test_custom_perms (line 55) | def test_custom_perms(self): method test_has_no_object_perm (line 94) | def test_has_no_object_perm(self): method test_get_all_superuser_permissions (line 107) | def test_get_all_superuser_permissions(self): class ModelBackendTest (line 114) | class ModelBackendTest(BaseModelBackendTest, TestCase): method create_users (line 120) | def create_users(self): class ExtensionUserModelBackendTest (line 134) | class ExtensionUserModelBackendTest(BaseModelBackendTest, TestCase): method create_users (line 153) | def create_users(self): class CustomPermissionsUserModelBackendTest (line 169) | class CustomPermissionsUserModelBackendTest(BaseModelBackendTest, TestCa... method create_users (line 180) | def create_users(self): class CustomUserModelBackendAuthenticateTest (line 194) | class CustomUserModelBackendAuthenticateTest(TestCase): method test_authenticate (line 200) | def test_authenticate(self): class TestObj (line 211) | class TestObj(object): class SimpleRowlevelBackend (line 215) | class SimpleRowlevelBackend(object): method has_perm (line 216) | def has_perm(self, user, perm, obj=None): method has_module_perms (line 229) | def has_module_perms(self, user, app_label): method get_all_permissions (line 234) | def get_all_permissions(self, user, obj=None): method get_group_permissions (line 248) | def get_group_permissions(self, user, obj=None): class RowlevelBackendTest (line 262) | class RowlevelBackendTest(TestCase): method setUp (line 268) | def setUp(self): method tearDown (line 275) | def tearDown(self): method test_has_perm (line 282) | def test_has_perm(self): method test_get_all_permissions (line 291) | def test_get_all_permissions(self): method test_get_group_permissions (line 296) | def test_get_group_permissions(self): class AnonymousUserBackendTest (line 302) | class AnonymousUserBackendTest(TestCase): method setUp (line 309) | def setUp(self): method tearDown (line 314) | def tearDown(self): method test_has_perm (line 317) | def test_has_perm(self): method test_has_perms (line 321) | def test_has_perms(self): method test_has_module_perms (line 325) | def test_has_module_perms(self): method test_get_all_permissions (line 329) | def test_get_all_permissions(self): class NoBackendsTest (line 335) | class NoBackendsTest(TestCase): method setUp (line 339) | def setUp(self): method test_raises_exception (line 342) | def test_raises_exception(self): class InActiveUserBackendTest (line 347) | class InActiveUserBackendTest(TestCase): method setUp (line 353) | def setUp(self): method tearDown (line 360) | def tearDown(self): method test_has_perm (line 363) | def test_has_perm(self): method test_has_module_perms (line 367) | def test_has_module_perms(self): FILE: Django-1.5.1/django/contrib/auth/tests/basic.py function mock_inputs (line 19) | def mock_inputs(inputs): class BasicTestCase (line 60) | class BasicTestCase(TestCase): method test_user (line 61) | def test_user(self): method test_user_no_email (line 88) | def test_user_no_email(self): method test_anonymous_user (line 99) | def test_anonymous_user(self): method test_superuser (line 110) | def test_superuser(self): method test_createsuperuser_management_command (line 117) | def test_createsuperuser_management_command(self): method test_createsuperuser_nolocale (line 161) | def test_createsuperuser_nolocale(self): method test_createsuperuser_non_ascii_verbose_name (line 195) | def test_createsuperuser_non_ascii_verbose_name(self): method test_get_user_model (line 213) | def test_get_user_model(self): method test_swappable_user (line 218) | def test_swappable_user(self): method test_swappable_user_bad_setting (line 225) | def test_swappable_user_bad_setting(self): method test_swappable_user_nonexistent_model (line 231) | def test_swappable_user_nonexistent_model(self): FILE: Django-1.5.1/django/contrib/auth/tests/context_processors.py class MockUser (line 15) | class MockUser(object): method has_module_perms (line 16) | def has_module_perms(self, perm): method has_perm (line 21) | def has_perm(self, perm): class PermWrapperTests (line 27) | class PermWrapperTests(TestCase): class EQLimiterObject (line 31) | class EQLimiterObject(object): method __init__ (line 35) | def __init__(self): method __eq__ (line 38) | def __eq__(self, other): method test_permwrapper_in (line 44) | def test_permwrapper_in(self): method test_permlookupdict_in (line 55) | def test_permlookupdict_in(self): class AuthContextProcessorTests (line 72) | class AuthContextProcessorTests(TestCase): method test_session_not_accessed (line 83) | def test_session_not_accessed(self): method test_session_is_accessed (line 95) | def test_session_is_accessed(self): method test_perms_attrs (line 103) | def test_perms_attrs(self): method test_perm_in_perms_attrs (line 115) | def test_perm_in_perms_attrs(self): method test_message_attrs (line 127) | def test_message_attrs(self): method test_user_attrs (line 132) | def test_user_attrs(self): FILE: Django-1.5.1/django/contrib/auth/tests/custom_user.py class CustomUserManager (line 15) | class CustomUserManager(BaseUserManager): method create_user (line 16) | def create_user(self, email, date_of_birth, password=None): method create_superuser (line 32) | def create_superuser(self, email, password, date_of_birth): class CustomUser (line 39) | class CustomUser(AbstractBaseUser): class Meta (line 50) | class Meta: method get_full_name (line 53) | def get_full_name(self): method get_short_name (line 56) | def get_short_name(self): method __unicode__ (line 59) | def __unicode__(self): method get_group_permissions (line 63) | def get_group_permissions(self, obj=None): method get_all_permissions (line 66) | def get_all_permissions(self, obj=None): method has_perm (line 69) | def has_perm(self, perm, obj=None): method has_perms (line 72) | def has_perms(self, perm_list, obj=None): method has_module_perms (line 75) | def has_module_perms(self, app_label): method is_staff (line 80) | def is_staff(self): class ExtensionUser (line 88) | class ExtensionUser(AbstractUser): class Meta (line 95) | class Meta: class CustomPermissionsUserManager (line 103) | class CustomPermissionsUserManager(CustomUserManager): method create_superuser (line 104) | def create_superuser(self, email, password, date_of_birth): class CustomPermissionsUser (line 111) | class CustomPermissionsUser(AbstractBaseUser, PermissionsMixin): class Meta (line 120) | class Meta: method get_full_name (line 123) | def get_full_name(self): method get_short_name (line 126) | def get_short_name(self): method __unicode__ (line 129) | def __unicode__(self): class IsActiveTestUser1 (line 133) | class IsActiveTestUser1(AbstractBaseUser): class Meta (line 143) | class Meta: class CustomUserNonUniqueUsername (line 149) | class CustomUserNonUniqueUsername(AbstractBaseUser): class Meta (line 155) | class Meta: class CustomUserBadRequiredFields (line 159) | class CustomUserBadRequiredFields(AbstractBaseUser): class Meta (line 167) | class Meta: FILE: Django-1.5.1/django/contrib/auth/tests/decorators.py class LoginRequiredTestCase (line 7) | class LoginRequiredTestCase(AuthViewsTestCase): method testCallable (line 13) | def testCallable(self): method testView (line 22) | def testView(self): method testLoginRequired (line 30) | def testLoginRequired(self, view_url='/login_required/', login_url='/l... method testLoginRequiredNextUrl (line 42) | def testLoginRequiredNextUrl(self): FILE: Django-1.5.1/django/contrib/auth/tests/forms.py class UserCreationFormTest (line 21) | class UserCreationFormTest(TestCase): method test_user_already_exists (line 25) | def test_user_already_exists(self): method test_invalid_data (line 36) | def test_invalid_data(self): method test_password_verification (line 47) | def test_password_verification(self): method test_both_passwords (line 59) | def test_both_passwords(self): method test_success (line 74) | def test_success(self): class AuthenticationFormTest (line 89) | class AuthenticationFormTest(TestCase): method test_invalid_username (line 93) | def test_invalid_username(self): method test_inactive_user (line 107) | def test_inactive_user(self): method test_inactive_user_i18n (line 118) | def test_inactive_user_i18n(self): method test_success (line 131) | def test_success(self): method test_username_field_label (line 141) | def test_username_field_label(self): class SetPasswordFormTest (line 152) | class SetPasswordFormTest(TestCase): method test_password_verification (line 156) | def test_password_verification(self): method test_success (line 168) | def test_success(self): class PasswordChangeFormTest (line 180) | class PasswordChangeFormTest(TestCase): method test_incorrect_password (line 184) | def test_incorrect_password(self): method test_password_verification (line 196) | def test_password_verification(self): method test_success (line 209) | def test_success(self): method test_field_order (line 220) | def test_field_order(self): class UserChangeFormTest (line 229) | class UserChangeFormTest(TestCase): method test_username_validity (line 233) | def test_username_validity(self): method test_bug_14242 (line 241) | def test_bug_14242(self): method test_unsuable_password (line 256) | def test_unsuable_password(self): method test_bug_17944_empty_password (line 263) | def test_bug_17944_empty_password(self): method test_bug_17944_unmanageable_password (line 268) | def test_bug_17944_unmanageable_password(self): method test_bug_17944_unknown_password_algorithm (line 274) | def test_bug_17944_unknown_password_algorithm(self): method test_bug_19133 (line 280) | def test_bug_19133(self): method test_bug_19349_bound_password_field (line 297) | def test_bug_19349_bound_password_field(self): class PasswordResetFormTest (line 308) | class PasswordResetFormTest(TestCase): method create_dummy_user (line 312) | def create_dummy_user(self): method test_invalid_email (line 321) | def test_invalid_email(self): method test_nonexistant_email (line 328) | def test_nonexistant_email(self): method test_cleaned_data (line 336) | def test_cleaned_data(self): method test_custom_email_subject (line 344) | def test_custom_email_subject(self): method test_bug_5605 (line 357) | def test_bug_5605(self): method test_inactive_user (line 365) | def test_inactive_user(self): method test_unusable_password (line 374) | def test_unusable_password(self): class ReadOnlyPasswordHashWidgetTest (line 387) | class ReadOnlyPasswordHashWidgetTest(TestCase): method test_bug_19349_render_with_none_value (line 389) | def test_bug_19349_render_with_none_value(self): FILE: Django-1.5.1/django/contrib/auth/tests/handlers.py class ModWsgiHandlerTestCase (line 11) | class ModWsgiHandlerTestCase(TransactionTestCase): method test_check_password (line 16) | def test_check_password(self): method test_check_password_custom_user (line 37) | def test_check_password_custom_user(self): method test_groups_for_user (line 57) | def test_groups_for_user(self): FILE: Django-1.5.1/django/contrib/auth/tests/hashers.py class TestUtilsHashPass (line 23) | class TestUtilsHashPass(unittest.TestCase): method setUp (line 25) | def setUp(self): method test_simple (line 28) | def test_simple(self): method test_pkbdf2 (line 35) | def test_pkbdf2(self): method test_sha1 (line 44) | def test_sha1(self): method test_md5 (line 53) | def test_md5(self): method test_unsalted_md5 (line 62) | def test_unsalted_md5(self): method test_unsalted_sha1 (line 75) | def test_unsalted_sha1(self): method test_crypt (line 87) | def test_crypt(self): method test_bcrypt (line 96) | def test_bcrypt(self): method test_unusable (line 104) | def test_unusable(self): method test_bad_algorithm (line 114) | def test_bad_algorithm(self): method test_bad_encoded (line 120) | def test_bad_encoded(self): method test_low_level_pkbdf2 (line 124) | def test_low_level_pkbdf2(self): method test_low_level_pbkdf2_sha1 (line 131) | def test_low_level_pbkdf2_sha1(self): method test_upgrade (line 138) | def test_upgrade(self): method test_no_upgrade (line 148) | def test_no_upgrade(self): method test_no_upgrade_on_incorrect_pass (line 156) | def test_no_upgrade_on_incorrect_pass(self): FILE: Django-1.5.1/django/contrib/auth/tests/management.py class GetDefaultUsernameTestCase (line 21) | class GetDefaultUsernameTestCase(TestCase): method setUp (line 23) | def setUp(self): method tearDown (line 26) | def tearDown(self): method test_actual_implementation (line 29) | def test_actual_implementation(self): method test_simple (line 32) | def test_simple(self): method test_existing (line 36) | def test_existing(self): method test_i18n (line 43) | def test_i18n(self): class ChangepasswordManagementCommandTestCase (line 50) | class ChangepasswordManagementCommandTestCase(TestCase): method setUp (line 52) | def setUp(self): method tearDown (line 57) | def tearDown(self): method test_that_changepassword_command_changes_joes_password (line 61) | def test_that_changepassword_command_changes_joes_password(self): method test_that_max_tries_exits_1 (line 73) | def test_that_max_tries_exits_1(self): class CreatesuperuserManagementCommandTestCase (line 86) | class CreatesuperuserManagementCommandTestCase(TestCase): method test_createsuperuser (line 88) | def test_createsuperuser(self): method test_verbosity_zero (line 106) | def test_verbosity_zero(self): method test_email_in_username (line 122) | def test_email_in_username(self): method test_swappable_user (line 135) | def test_swappable_user(self): method test_swappable_user_missing_required_field (line 157) | def test_swappable_user_missing_required_field(self): class CustomUserModelValidationTestCase (line 175) | class CustomUserModelValidationTestCase(TestCase): method test_username_not_in_required_fields (line 177) | def test_username_not_in_required_fields(self): method test_username_non_unique (line 184) | def test_username_non_unique(self): class PermissionDuplicationTestCase (line 191) | class PermissionDuplicationTestCase(TestCase): method setUp (line 193) | def setUp(self): method tearDown (line 196) | def tearDown(self): method test_duplicated_permissions (line 199) | def test_duplicated_permissions(self): FILE: Django-1.5.1/django/contrib/auth/tests/models.py class ProfileTestCase (line 13) | class ProfileTestCase(TestCase): method test_site_profile_not_available (line 15) | def test_site_profile_not_available(self): class NaturalKeysTestCase (line 39) | class NaturalKeysTestCase(TestCase): method test_user_natural_key (line 42) | def test_user_natural_key(self): method test_group_natural_key (line 47) | def test_group_natural_key(self): class LoadDataWithoutNaturalKeysTestCase (line 54) | class LoadDataWithoutNaturalKeysTestCase(TestCase): method test_user_is_created_and_added_to_group (line 57) | def test_user_is_created_and_added_to_group(self): class LoadDataWithNaturalKeysTestCase (line 65) | class LoadDataWithNaturalKeysTestCase(TestCase): method test_user_is_created_and_added_to_group (line 68) | def test_user_is_created_and_added_to_group(self): class UserManagerTestCase (line 75) | class UserManagerTestCase(TestCase): method test_create_user (line 77) | def test_create_user(self): method test_create_user_email_domain_normalize_rfc3696 (line 84) | def test_create_user_email_domain_normalize_rfc3696(self): method test_create_user_email_domain_normalize (line 90) | def test_create_user_email_domain_normalize(self): method test_create_user_email_domain_normalize_with_whitespace (line 94) | def test_create_user_email_domain_normalize_with_whitespace(self): method test_empty_username (line 98) | def test_empty_username(self): class IsActiveTestCase (line 104) | class IsActiveTestCase(TestCase): method test_builtin_user_isactive (line 110) | def test_builtin_user_isactive(self): method test_is_active_field_default (line 121) | def test_is_active_field_default(self): FILE: Django-1.5.1/django/contrib/auth/tests/remote_user.py class RemoteUserTest (line 13) | class RemoteUserTest(TestCase): method setUp (line 23) | def setUp(self): method test_no_remote_user (line 29) | def test_no_remote_user(self): method test_unknown_user (line 48) | def test_unknown_user(self): method test_known_user (line 63) | def test_known_user(self): method test_last_login (line 79) | def test_last_login(self): method test_header_disappears (line 101) | def test_header_disappears(self): method tearDown (line 121) | def tearDown(self): class RemoteUserNoCreateBackend (line 127) | class RemoteUserNoCreateBackend(RemoteUserBackend): class RemoteUserNoCreateTest (line 133) | class RemoteUserNoCreateTest(RemoteUserTest): method test_unknown_user (line 142) | def test_unknown_user(self): class CustomRemoteUserBackend (line 149) | class CustomRemoteUserBackend(RemoteUserBackend): method clean_username (line 154) | def clean_username(self, username): method configure_user (line 160) | def configure_user(self, user): class RemoteUserCustomTest (line 170) | class RemoteUserCustomTest(RemoteUserTest): method test_known_user (line 183) | def test_known_user(self): method test_unknown_user (line 192) | def test_unknown_user(self): FILE: Django-1.5.1/django/contrib/auth/tests/signals.py class SignalTestCase (line 11) | class SignalTestCase(TestCase): method listener_login (line 15) | def listener_login(self, user, **kwargs): method listener_logout (line 18) | def listener_logout(self, user, **kwargs): method listener_login_failed (line 21) | def listener_login_failed(self, sender, credentials, **kwargs): method setUp (line 24) | def setUp(self): method tearDown (line 33) | def tearDown(self): method test_login (line 39) | def test_login(self): method test_logout_anonymous (line 56) | def test_logout_anonymous(self): method test_logout (line 63) | def test_logout(self): method test_update_last_login (line 69) | def test_update_last_login(self): FILE: Django-1.5.1/django/contrib/auth/tests/tokens.py class TokenGeneratorTest (line 13) | class TokenGeneratorTest(TestCase): method test_make_token (line 15) | def test_make_token(self): method test_10265 (line 24) | def test_10265(self): method test_timeout (line 37) | def test_timeout(self): method test_date_length (line 59) | def test_date_length(self): FILE: Django-1.5.1/django/contrib/auth/tests/urls.py function remote_user_auth_view (line 13) | def remote_user_auth_view(request): function auth_processor_no_attr_access (line 19) | def auth_processor_no_attr_access(request): function auth_processor_attr_access (line 26) | def auth_processor_attr_access(request): function auth_processor_user (line 32) | def auth_processor_user(request): function auth_processor_perms (line 36) | def auth_processor_perms(request): function auth_processor_perm_in_perms (line 40) | def auth_processor_perm_in_perms(request): function auth_processor_messages (line 44) | def auth_processor_messages(request): function userpage (line 49) | def userpage(request): FILE: Django-1.5.1/django/contrib/auth/tests/utils.py function skipIfCustomUser (line 5) | def skipIfCustomUser(test_func): FILE: Django-1.5.1/django/contrib/auth/tests/views.py class AuthViewsTestCase (line 36) | class AuthViewsTestCase(TestCase): method login (line 43) | def login(self, password='password'): method assertContainsEscaped (line 52) | def assertContainsEscaped(self, response, text, **kwargs): class AuthViewNamedURLTests (line 57) | class AuthViewNamedURLTests(AuthViewsTestCase): method test_named_urls (line 60) | def test_named_urls(self): class PasswordResetTest (line 83) | class PasswordResetTest(AuthViewsTestCase): method test_email_not_found (line 85) | def test_email_not_found(self): method test_email_found (line 93) | def test_email_found(self): method test_email_found_custom_from (line 101) | def test_email_found_custom_from(self): method test_admin_reset (line 109) | def test_admin_reset(self): method test_poisoned_http_host (line 122) | def test_poisoned_http_host(self): method test_poisoned_http_host_admin_site (line 140) | def test_poisoned_http_host_admin_site(self): method _test_confirm_start (line 149) | def _test_confirm_start(self): method _read_signup_email (line 156) | def _read_signup_email(self, email): method test_confirm_valid (line 161) | def test_confirm_valid(self): method test_confirm_invalid (line 167) | def test_confirm_invalid(self): method test_confirm_invalid_user (line 176) | def test_confirm_invalid_user(self): method test_confirm_overflow_user (line 181) | def test_confirm_overflow_user(self): method test_confirm_invalid_post (line 186) | def test_confirm_invalid_post(self): method test_confirm_complete (line 200) | def test_confirm_complete(self): method test_confirm_different_passwords (line 214) | def test_confirm_different_passwords(self): class CustomUserPasswordResetTest (line 222) | class CustomUserPasswordResetTest(AuthViewsTestCase): method _test_confirm_start (line 225) | def _test_confirm_start(self): method _read_signup_email (line 232) | def _read_signup_email(self, email): method test_confirm_valid_custom_user (line 237) | def test_confirm_valid_custom_user(self): class ChangePasswordTest (line 245) | class ChangePasswordTest(AuthViewsTestCase): method fail_login (line 247) | def fail_login(self, password='password'): method logout (line 256) | def logout(self): method test_password_change_fails_with_invalid_old_password (line 259) | def test_password_change_fails_with_invalid_old_password(self): method test_password_change_fails_with_mismatched_passwords (line 268) | def test_password_change_fails_with_mismatched_passwords(self): method test_password_change_succeeds (line 277) | def test_password_change_succeeds(self): method test_password_change_done_succeeds (line 289) | def test_password_change_done_succeeds(self): method test_password_change_done_fails (line 299) | def test_password_change_done_fails(self): class LoginTest (line 307) | class LoginTest(AuthViewsTestCase): method test_current_site_in_context_after_login (line 309) | def test_current_site_in_context_after_login(self): method test_security_check (line 321) | def test_security_check(self, password='password'): class LoginURLSettings (line 366) | class LoginURLSettings(AuthViewsTestCase): method setUp (line 368) | def setUp(self): method tearDown (line 372) | def tearDown(self): method get_login_required_url (line 376) | def get_login_required_url(self, login_url): method test_standard_login_url (line 382) | def test_standard_login_url(self): method test_remote_login_url (line 390) | def test_remote_login_url(self): method test_https_login_url (line 398) | def test_https_login_url(self): method test_login_url_with_querystring (line 406) | def test_login_url_with_querystring(self): method test_remote_login_url_with_next_querystring (line 414) | def test_remote_login_url_with_next_querystring(self): class LogoutTest (line 425) | class LogoutTest(AuthViewsTestCase): method confirm_logged_out (line 427) | def confirm_logged_out(self): method test_logout_default (line 430) | def test_logout_default(self): method test_14377 (line 437) | def test_14377(self): method test_logout_with_overridden_redirect_url (line 443) | def test_logout_with_overridden_redirect_url(self): method test_logout_with_next_page_specified (line 456) | def test_logout_with_next_page_specified(self): method test_logout_with_redirect_argument (line 464) | def test_logout_with_redirect_argument(self): method test_logout_with_custom_redirect_argument (line 472) | def test_logout_with_custom_redirect_argument(self): method test_security_check (line 480) | def test_security_check(self, password='password'): class ChangelistTests (line 521) | class ChangelistTests(AuthViewsTestCase): method test_changelist_disallows_password_lookups (line 526) | def test_changelist_disallows_password_lookups(self): FILE: Django-1.5.1/django/contrib/auth/tokens.py class PasswordResetTokenGenerator (line 8) | class PasswordResetTokenGenerator(object): method make_token (line 13) | def make_token(self, user): method check_token (line 20) | def check_token(self, user, token): method _make_token_with_timestamp (line 45) | def _make_token_with_timestamp(self, user, timestamp): method _num_days (line 66) | def _num_days(self, dt): method _today (line 69) | def _today(self): FILE: Django-1.5.1/django/contrib/auth/views.py function login (line 28) | def login(request, template_name='registration/login.html', function logout (line 71) | def logout(request, next_page=None, function logout_then_login (line 102) | def logout_then_login(request, login_url=None, current_app=None, extra_c... function redirect_to_login (line 112) | def redirect_to_login(next, login_url=None, function password_reset (line 136) | def password_reset(request, is_admin_site=False, function password_reset_done (line 174) | def password_reset_done(request, function password_reset_confirm (line 187) | def password_reset_confirm(request, uidb36=None, token=None, function password_reset_complete (line 229) | def password_reset_complete(request, function password_change (line 244) | def password_change(request, function password_change_done (line 268) | def password_change_done(request, FILE: Django-1.5.1/django/contrib/comments/__init__.py function get_comment_app (line 10) | def get_comment_app(): function get_comment_app_name (line 29) | def get_comment_app_name(): function get_model (line 36) | def get_model(): function get_form (line 45) | def get_form(): function get_form_target (line 54) | def get_form_target(): function get_flag_url (line 63) | def get_flag_url(comment): function get_delete_url (line 73) | def get_delete_url(comment): function get_approve_url (line 83) | def get_approve_url(comment): FILE: Django-1.5.1/django/contrib/comments/admin.py class UsernameSearch (line 11) | class UsernameSearch(object): method __str__ (line 16) | def __str__(self): class CommentsAdmin (line 20) | class CommentsAdmin(admin.ModelAdmin): method get_actions (line 41) | def get_actions(self, request): method flag_comments (line 53) | def flag_comments(self, request, queryset): method approve_comments (line 58) | def approve_comments(self, request, queryset): method remove_comments (line 63) | def remove_comments(self, request, queryset): method _bulk_flag (line 68) | def _bulk_flag(self, request, queryset, action, done_message): FILE: Django-1.5.1/django/contrib/comments/feeds.py class LatestCommentFeed (line 6) | class LatestCommentFeed(Feed): method __call__ (line 9) | def __call__(self, request, *args, **kwargs): method title (line 13) | def title(self): method link (line 16) | def link(self): method description (line 19) | def description(self): method items (line 22) | def items(self): method item_pubdate (line 30) | def item_pubdate(self, item): FILE: Django-1.5.1/django/contrib/comments/forms.py class CommentSecurityForm (line 15) | class CommentSecurityForm(forms.Form): method __init__ (line 24) | def __init__(self, target_object, data=None, initial=None): method security_errors (line 31) | def security_errors(self): method clean_security_hash (line 39) | def clean_security_hash(self): method clean_timestamp (line 52) | def clean_timestamp(self): method generate_security_data (line 59) | def generate_security_data(self): method initial_security_hash (line 70) | def initial_security_hash(self, timestamp): method generate_security_hash (line 83) | def generate_security_hash(self, content_type, object_pk, timestamp): class CommentDetailsForm (line 92) | class CommentDetailsForm(CommentSecurityForm): method get_comment_object (line 102) | def get_comment_object(self): method get_comment_model (line 120) | def get_comment_model(self): method get_comment_create_data (line 128) | def get_comment_create_data(self): method check_for_duplicate_comment (line 147) | def check_for_duplicate_comment(self, new): method clean_comment (line 167) | def clean_comment(self): class CommentForm (line 184) | class CommentForm(CommentDetailsForm): method clean_honeypot (line 189) | def clean_honeypot(self): FILE: Django-1.5.1/django/contrib/comments/managers.py class CommentManager (line 5) | class CommentManager(models.Manager): method in_moderation (line 7) | def in_moderation(self): method for_model (line 13) | def for_model(self, model): FILE: Django-1.5.1/django/contrib/comments/models.py class BaseCommentAbstractModel (line 15) | class BaseCommentAbstractModel(models.Model): class Meta (line 31) | class Meta: method get_content_object_url (line 34) | def get_content_object_url(self): class Comment (line 45) | class Comment(BaseCommentAbstractModel): class Meta (line 75) | class Meta: method __str__ (line 82) | def __str__(self): method save (line 85) | def save(self, *args, **kwargs): method _get_userinfo (line 90) | def _get_userinfo(self): method _get_name (line 119) | def _get_name(self): method _set_name (line 122) | def _set_name(self, val): method _get_email (line 129) | def _get_email(self): method _set_email (line 132) | def _set_email(self, val): method _get_url (line 139) | def _get_url(self): method _set_url (line 142) | def _set_url(self, val): method get_absolute_url (line 146) | def get_absolute_url(self, anchor_pattern="#c%(id)s"): method get_as_text (line 149) | def get_as_text(self): class CommentFlag (line 164) | class CommentFlag(models.Model): class Meta (line 187) | class Meta: method __str__ (line 193) | def __str__(self): method save (line 197) | def save(self, *args, **kwargs): FILE: Django-1.5.1/django/contrib/comments/moderation.py class AlreadyModerated (line 68) | class AlreadyModerated(Exception): class NotModerated (line 76) | class NotModerated(Exception): class CommentModerator (line 84) | class CommentModerator(object): method __init__ (line 174) | def __init__(self, model): method _get_delta (line 177) | def _get_delta(self, now, then): method allow (line 197) | def allow(self, comment, content_object, request): method moderate (line 215) | def moderate(self, comment, content_object, request): method email (line 231) | def email(self, comment, content_object, request): class Moderator (line 248) | class Moderator(object): method __init__ (line 279) | def __init__(self): method connect (line 283) | def connect(self): method register (line 292) | def register(self, model_or_iterable, moderation_class): method unregister (line 308) | def unregister(self, model_or_iterable): method pre_save_moderation (line 324) | def pre_save_moderation(self, sender, comment, request, **kwargs): method post_save_moderation (line 343) | def post_save_moderation(self, sender, comment, request, **kwargs): FILE: Django-1.5.1/django/contrib/comments/templatetags/comments.py class BaseCommentNode (line 10) | class BaseCommentNode(template.Node): method handle_token (line 18) | def handle_token(cls, parser, token): method lookup_content_type (line 47) | def lookup_content_type(token, tagname): method __init__ (line 56) | def __init__(self, ctype=None, object_pk_expr=None, object_expr=None, ... method render (line 66) | def render(self, context): method get_query_set (line 71) | def get_query_set(self, context): method get_target_ctype_pk (line 94) | def get_target_ctype_pk(self, context): method get_context_value_from_queryset (line 104) | def get_context_value_from_queryset(self, context, qs): class CommentListNode (line 108) | class CommentListNode(BaseCommentNode): method get_context_value_from_queryset (line 110) | def get_context_value_from_queryset(self, context, qs): class CommentCountNode (line 113) | class CommentCountNode(BaseCommentNode): method get_context_value_from_queryset (line 115) | def get_context_value_from_queryset(self, context, qs): class CommentFormNode (line 118) | class CommentFormNode(BaseCommentNode): method get_form (line 121) | def get_form(self, context): method get_object (line 128) | def get_object(self, context): method render (line 139) | def render(self, context): class RenderCommentFormNode (line 143) | class RenderCommentFormNode(CommentFormNode): method handle_token (line 147) | def handle_token(cls, parser, token): method render (line 164) | def render(self, context): class RenderCommentListNode (line 179) | class RenderCommentListNode(CommentListNode): method handle_token (line 183) | def handle_token(cls, parser, token): method render (line 200) | def render(self, context): function get_comment_count (line 223) | def get_comment_count(parser, token): function get_comment_list (line 244) | def get_comment_list(parser, token): function render_comment_list (line 266) | def render_comment_list(parser, token): function get_comment_form (line 284) | def get_comment_form(parser, token): function render_comment_form (line 296) | def render_comment_form(parser, token): function comment_form_target (line 309) | def comment_form_target(): function get_comment_permalink (line 320) | def get_comment_permalink(comment, anchor_pattern=None): FILE: Django-1.5.1/django/contrib/comments/views/comments.py class CommentPostBadRequest (line 18) | class CommentPostBadRequest(http.HttpResponseBadRequest): method __init__ (line 24) | def __init__(self, why): function post_comment (line 32) | def post_comment(request, next=None, using=None): FILE: Django-1.5.1/django/contrib/comments/views/moderation.py function flag (line 15) | def flag(request, comment_id, next=None): function delete (line 41) | def delete(request, comment_id, next=None): function approve (line 69) | def approve(request, comment_id, next=None): function perform_flag (line 99) | def perform_flag(request, comment): function perform_delete (line 116) | def perform_delete(request, comment): function perform_approve (line 133) | def perform_approve(request, comment): FILE: Django-1.5.1/django/contrib/comments/views/utils.py function next_redirect (line 18) | def next_redirect(request, fallback, **get_kwargs): function confirmation_view (line 44) | def confirmation_view(template, doc="Display a confirmation view."): FILE: Django-1.5.1/django/contrib/contenttypes/generic.py class GenericForeignKey (line 21) | class GenericForeignKey(object): method __init__ (line 27) | def __init__(self, ct_field="content_type", fk_field="object_id"): method contribute_to_class (line 31) | def contribute_to_class(self, cls, name): method instance_pre_init (line 43) | def instance_pre_init(self, signal, sender, args, kwargs, **_kwargs): method get_content_type (line 53) | def get_content_type(self, obj=None, id=None, using=None): method get_prefetch_query_set (line 65) | def get_prefetch_query_set(self, instances): method is_cached (line 105) | def is_cached(self, instance): method __get__ (line 108) | def __get__(self, instance, instance_type=None): method __set__ (line 132) | def __set__(self, instance, value): class GenericRelation (line 146) | class GenericRelation(RelatedField, Field): method __init__ (line 149) | def __init__(self, to, **kwargs): method get_choices_default (line 166) | def get_choices_default(self): method value_to_string (line 169) | def value_to_string(self, obj): method m2m_db_table (line 173) | def m2m_db_table(self): method m2m_column_name (line 176) | def m2m_column_name(self): method m2m_reverse_name (line 179) | def m2m_reverse_name(self): method m2m_target_field_name (line 182) | def m2m_target_field_name(self): method m2m_reverse_target_field_name (line 185) | def m2m_reverse_target_field_name(self): method contribute_to_class (line 188) | def contribute_to_class(self, cls, name): method contribute_to_related_class (line 197) | def contribute_to_related_class(self, cls, related): method set_attributes_from_rel (line 200) | def set_attributes_from_rel(self): method get_internal_type (line 203) | def get_internal_type(self): method db_type (line 206) | def db_type(self, connection): method extra_filters (line 211) | def extra_filters(self, pieces, pos, negate): method bulk_related_objects (line 224) | def bulk_related_objects(self, objs, using=DEFAULT_DB_ALIAS): class ReverseGenericRelatedObjectsDescriptor (line 237) | class ReverseGenericRelatedObjectsDescriptor(object): method __init__ (line 246) | def __init__(self, field): method __get__ (line 249) | def __get__(self, instance, instance_type=None): method __set__ (line 279) | def __set__(self, instance, value): function create_generic_related_manager (line 288) | def create_generic_related_manager(superclass): class GenericRel (line 370) | class GenericRel(ManyToManyRel): method __init__ (line 371) | def __init__(self, to, related_name=None, limit_choices_to=None, symme... class BaseGenericInlineFormSet (line 379) | class BaseGenericInlineFormSet(BaseModelFormSet): method __init__ (line 384) | def __init__(self, data=None, files=None, instance=None, save_as_new=N... method get_default_prefix (line 409) | def get_default_prefix(cls): method save_new (line 415) | def save_new(self, form, commit=True): function generic_inlineformset_factory (line 425) | def generic_inlineformset_factory(model, form=ModelForm, class GenericInlineModelAdmin (line 460) | class GenericInlineModelAdmin(InlineModelAdmin): method get_formset (line 465) | def get_formset(self, request, obj=None, **kwargs): class GenericStackedInline (line 497) | class GenericStackedInline(GenericInlineModelAdmin): class GenericTabularInline (line 500) | class GenericTabularInline(GenericInlineModelAdmin): FILE: Django-1.5.1/django/contrib/contenttypes/management.py function update_contenttypes (line 9) | def update_contenttypes(app, created_models, verbosity=2, db=DEFAULT_DB_... function update_all_contenttypes (line 82) | def update_all_contenttypes(verbosity=2, **kwargs): FILE: Django-1.5.1/django/contrib/contenttypes/models.py class ContentTypeManager (line 6) | class ContentTypeManager(models.Manager): method get_by_natural_key (line 12) | def get_by_natural_key(self, app_label, model): method _get_opts (line 20) | def _get_opts(self, model, for_concrete_model): method _get_from_cache (line 27) | def _get_from_cache(self, opts): method get_for_model (line 31) | def get_for_model(self, model, for_concrete_model=True): method get_for_models (line 53) | def get_for_models(self, *models, **kwargs): method get_for_id (line 96) | def get_for_id(self, id): method clear_cache (line 110) | def clear_cache(self): method _add_to_cache (line 119) | def _add_to_cache(self, using, ct): class ContentType (line 127) | class ContentType(models.Model): class Meta (line 133) | class Meta: method __str__ (line 140) | def __str__(self): method model_class (line 154) | def model_class(self): method get_object_for_this_type (line 160) | def get_object_for_this_type(self, **kwargs): method get_all_objects_for_this_type (line 169) | def get_all_objects_for_this_type(self, **kwargs): method natural_key (line 175) | def natural_key(self): FILE: Django-1.5.1/django/contrib/contenttypes/tests.py class ConcreteModel (line 15) | class ConcreteModel(models.Model): class ProxyModel (line 18) | class ProxyModel(ConcreteModel): class Meta (line 19) | class Meta: class FooWithoutUrl (line 23) | class FooWithoutUrl(models.Model): method __str__ (line 29) | def __str__(self): class FooWithUrl (line 33) | class FooWithUrl(FooWithoutUrl): method get_absolute_url (line 39) | def get_absolute_url(self): class FooWithBrokenAbsoluteUrl (line 42) | class FooWithBrokenAbsoluteUrl(FooWithoutUrl): method get_absolute_url (line 47) | def get_absolute_url(self): class ContentTypesTests (line 50) | class ContentTypesTests(TestCase): method setUp (line 52) | def setUp(self): method tearDown (line 56) | def tearDown(self): method test_lookup_cache (line 60) | def test_lookup_cache(self): method test_get_for_models_empty_cache (line 96) | def test_get_for_models_empty_cache(self): method test_get_for_models_partial_cache (line 105) | def test_get_for_models_partial_cache(self): method test_get_for_models_full_cache (line 115) | def test_get_for_models_full_cache(self): method test_get_for_concrete_model (line 126) | def test_get_for_concrete_model(self): method test_get_for_concrete_models (line 164) | def test_get_for_concrete_models(self): method test_shortcut_view (line 208) | def test_shortcut_view(self): method test_shortcut_view_without_get_absolute_url (line 233) | def test_shortcut_view_without_get_absolute_url(self): method test_shortcut_view_with_broken_get_absolute_url (line 249) | def test_shortcut_view_with_broken_get_absolute_url(self): method test_missing_model (line 265) | def test_missing_model(self): FILE: Django-1.5.1/django/contrib/contenttypes/views.py function shortcut (line 9) | def shortcut(request, content_type_id, object_id): FILE: Django-1.5.1/django/contrib/databrowse/datastructures.py class EasyModel (line 17) | class EasyModel(object): method __init__ (line 18) | def __init__(self, site, model): method __repr__ (line 25) | def __repr__(self): method model_databrowse (line 28) | def model_databrowse(self): method url (line 32) | def url(self): method objects (line 35) | def objects(self, **kwargs): method get_query_set (line 38) | def get_query_set(self): method object_by_pk (line 43) | def object_by_pk(self, pk): method sample_objects (line 46) | def sample_objects(self): method field (line 50) | def field(self, name): method fields (line 57) | def fields(self): class EasyField (line 60) | class EasyField(object): method __init__ (line 61) | def __init__(self, easy_model, field): method __repr__ (line 64) | def __repr__(self): method choices (line 67) | def choices(self): method url (line 71) | def url(self): class EasyChoice (line 77) | class EasyChoice(object): method __init__ (line 78) | def __init__(self, easy_model, field, value, label): method __repr__ (line 82) | def __repr__(self): method url (line 85) | def url(self): class EasyInstance (line 89) | class EasyInstance(object): method __init__ (line 90) | def __init__(self, easy_model, instance): method __repr__ (line 93) | def __repr__(self): method __str__ (line 96) | def __str__(self): method pk (line 102) | def pk(self): method url (line 105) | def url(self): method fields (line 108) | def fields(self): method related_objects (line 116) | def related_objects(self): class EasyInstanceField (line 132) | class EasyInstanceField(object): method __init__ (line 133) | def __init__(self, easy_model, instance, field): method __repr__ (line 137) | def __repr__(self): method values (line 140) | def values(self): method urls (line 171) | def urls(self): class EasyQuerySet (line 202) | class EasyQuerySet(QuerySet): method iterator (line 207) | def iterator(self, *args, **kwargs): method _clone (line 211) | def _clone(self, *args, **kwargs): FILE: Django-1.5.1/django/contrib/databrowse/plugins/calendars.py class DateViewMixin (line 15) | class DateViewMixin(object): method get_context_data (line 22) | def get_context_data(self, **kwargs): class DayView (line 32) | class DayView(DateViewMixin, dates.DayArchiveView): class MonthView (line 36) | class MonthView(DateViewMixin, dates.MonthArchiveView): class YearView (line 40) | class YearView(DateViewMixin, dates.YearArchiveView): class IndexView (line 44) | class IndexView(DateViewMixin, dates.ArchiveIndexView): class CalendarPlugin (line 48) | class CalendarPlugin(DatabrowsePlugin): method __init__ (line 49) | def __init__(self, field_names=None): method field_dict (line 52) | def field_dict(self, model): method model_index_html (line 63) | def model_index_html(self, request, model, site): method urls (line 71) | def urls(self, plugin_name, easy_instance_field): method model_view (line 81) | def model_view(self, request, model_databrowse, url): method homepage_view (line 97) | def homepage_view(self, request): method calendar_view (line 107) | def calendar_view(self, request, field, year=None, month=None, day=None): FILE: Django-1.5.1/django/contrib/databrowse/plugins/fieldchoices.py class FieldChoicePlugin (line 14) | class FieldChoicePlugin(DatabrowsePlugin): method __init__ (line 15) | def __init__(self, field_filter=None): method field_dict (line 21) | def field_dict(self, model): method model_index_html (line 32) | def model_index_html(self, request, model, site): method urls (line 40) | def urls(self, plugin_name, easy_instance_field): method model_view (line 47) | def model_view(self, request, model_databrowse, url): method homepage_view (line 64) | def homepage_view(self, request): method field_view (line 70) | def field_view(self, request, field, value=None): FILE: Django-1.5.1/django/contrib/databrowse/plugins/objects.py class ObjectDetailPlugin (line 11) | class ObjectDetailPlugin(DatabrowsePlugin): method model_view (line 12) | def model_view(self, request, model_databrowse, url): FILE: Django-1.5.1/django/contrib/databrowse/sites.py class AlreadyRegistered (line 9) | class AlreadyRegistered(Exception): class NotRegistered (line 12) | class NotRegistered(Exception): class DatabrowsePlugin (line 15) | class DatabrowsePlugin(object): method urls (line 16) | def urls(self, plugin_name, easy_instance_field): method model_index_html (line 26) | def model_index_html(self, request, model, site): method model_view (line 32) | def model_view(self, request, model_databrowse, url): class ModelDatabrowse (line 38) | class ModelDatabrowse(object): method __init__ (line 41) | def __init__(self, model, site): method root (line 45) | def root(self, request, url): method main_view (line 64) | def main_view(self, request): class DatabrowseSite (line 73) | class DatabrowseSite(object): method __init__ (line 74) | def __init__(self): method register (line 78) | def register(self, *model_list, **options): method unregister (line 95) | def unregister(self, *model_list): method root (line 106) | def root(self, request, url): method index (line 122) | def index(self, request): method model_page (line 126) | def model_page(self, request, app_label, model_name, rest_of_url=None): class DefaultModelDatabrowse (line 146) | class DefaultModelDatabrowse(ModelDatabrowse): FILE: Django-1.5.1/django/contrib/databrowse/tests.py class SomeModel (line 8) | class SomeModel(models.Model): method __str__ (line 11) | def __str__(self): class SomeOtherModel (line 16) | class SomeOtherModel(models.Model): method __str__ (line 19) | def __str__(self): class YetAnotherModel (line 24) | class YetAnotherModel(models.Model): method __str__ (line 27) | def __str__(self): class DatabrowseTests (line 31) | class DatabrowseTests(TestCase): method test_databrowse_register_unregister (line 33) | def test_databrowse_register_unregister(self): FILE: Django-1.5.1/django/contrib/databrowse/views.py function choice_list (line 8) | def choice_list(request, app_label, module_name, field_name, models): function choice_detail (line 12) | def choice_detail(request, app_label, module_name, field_name, field_val... FILE: Django-1.5.1/django/contrib/flatpages/admin.py class FlatPageAdmin (line 6) | class FlatPageAdmin(admin.ModelAdmin): FILE: Django-1.5.1/django/contrib/flatpages/forms.py class FlatpageForm (line 6) | class FlatpageForm(forms.ModelForm): class Meta (line 13) | class Meta: method clean_url (line 16) | def clean_url(self): method clean (line 26) | def clean(self): FILE: Django-1.5.1/django/contrib/flatpages/middleware.py class FlatpageFallbackMiddleware (line 5) | class FlatpageFallbackMiddleware(object): method process_response (line 6) | def process_response(self, request, response): FILE: Django-1.5.1/django/contrib/flatpages/models.py class FlatPage (line 10) | class FlatPage(models.Model): class Meta (line 20) | class Meta: method __str__ (line 26) | def __str__(self): method get_absolute_url (line 29) | def get_absolute_url(self): FILE: Django-1.5.1/django/contrib/flatpages/templatetags/flatpages.py class FlatpageNode (line 10) | class FlatpageNode(template.Node): method __init__ (line 11) | def __init__(self, context_name, starts_with=None, user=None): method render (line 22) | def render(self, context): function get_flatpages (line 47) | def get_flatpages(parser, token): FILE: Django-1.5.1/django/contrib/flatpages/tests/csrf.py class FlatpageCSRFTests (line 24) | class FlatpageCSRFTests(TestCase): method setUp (line 28) | def setUp(self): method test_view_flatpage (line 31) | def test_view_flatpage(self): method test_view_non_existent_flatpage (line 37) | def test_view_non_existent_flatpage(self): method test_view_authenticated_flatpage (line 43) | def test_view_authenticated_flatpage(self): method test_fallback_flatpage (line 53) | def test_fallback_flatpage(self): method test_fallback_non_existent_flatpage (line 59) | def test_fallback_non_existent_flatpage(self): method test_post_view_flatpage (line 64) | def test_post_view_flatpage(self): method test_post_fallback_flatpage (line 69) | def test_post_fallback_flatpage(self): method test_post_unknown_page (line 74) | def test_post_unknown_page(self): FILE: Django-1.5.1/django/contrib/flatpages/tests/forms.py class FlatpageAdminFormTests (line 11) | class FlatpageAdminFormTests(TestCase): method setUp (line 14) | def setUp(self): method test_flatpage_admin_form_url_validation (line 21) | def test_flatpage_admin_form_url_validation(self): method test_flatpage_requires_leading_slash (line 33) | def test_flatpage_requires_leading_slash(self): method test_flatpage_requires_trailing_slash_with_append_slash (line 41) | def test_flatpage_requires_trailing_slash_with_append_slash(self): method test_flatpage_doesnt_requires_trailing_slash_without_append_slash (line 49) | def test_flatpage_doesnt_requires_trailing_slash_without_append_slash(... method test_flatpage_admin_form_url_uniqueness_validation (line 53) | def test_flatpage_admin_form_url_uniqueness_validation(self): method test_flatpage_admin_form_edit (line 67) | def test_flatpage_admin_form_edit(self): method test_flatpage_nosites (line 87) | def test_flatpage_nosites(self): FILE: Django-1.5.1/django/contrib/flatpages/tests/middleware.py class FlatpageMiddlewareTests (line 25) | class FlatpageMiddlewareTests(TestCase): method test_view_flatpage (line 29) | def test_view_flatpage(self): method test_view_non_existent_flatpage (line 35) | def test_view_non_existent_flatpage(self): method test_view_authenticated_flatpage (line 41) | def test_view_authenticated_flatpage(self): method test_fallback_flatpage (line 51) | def test_fallback_flatpage(self): method test_fallback_non_existent_flatpage (line 57) | def test_fallback_non_existent_flatpage(self): method test_fallback_authenticated_flatpage (line 63) | def test_fallback_authenticated_flatpage(self): method test_fallback_flatpage_special_chars (line 73) | def test_fallback_flatpage_special_chars(self): class FlatpageMiddlewareAppendSlashTests (line 105) | class FlatpageMiddlewareAppendSlashTests(TestCase): method test_redirect_view_flatpage (line 109) | def test_redirect_view_flatpage(self): method test_redirect_view_non_existent_flatpage (line 114) | def test_redirect_view_non_existent_flatpage(self): method test_redirect_fallback_flatpage (line 119) | def test_redirect_fallback_flatpage(self): method test_redirect_fallback_non_existent_flatpage (line 124) | def test_redirect_fallback_non_existent_flatpage(self): method test_redirect_fallback_flatpage_special_chars (line 129) | def test_redirect_fallback_flatpage_special_chars(self): method test_redirect_fallback_flatpage_root (line 143) | def test_redirect_fallback_flatpage_root(self): FILE: Django-1.5.1/django/contrib/flatpages/tests/templatetags.py class FlatpageTemplateTagTests (line 24) | class FlatpageTemplateTagTests(TestCase): method test_get_flatpages_tag (line 28) | def test_get_flatpages_tag(self): method test_get_flatpages_tag_for_anon_user (line 39) | def test_get_flatpages_tag_for_anon_user(self): method test_get_flatpages_tag_for_user (line 53) | def test_get_flatpages_tag_for_user(self): method test_get_flatpages_with_prefix (line 67) | def test_get_flatpages_with_prefix(self): method test_get_flatpages_with_prefix_for_anon_user (line 78) | def test_get_flatpages_with_prefix_for_anon_user(self): method test_get_flatpages_with_prefix_for_user (line 92) | def test_get_flatpages_with_prefix_for_user(self): method test_get_flatpages_with_variable_prefix (line 106) | def test_get_flatpages_with_variable_prefix(self): method test_parsing_errors (line 119) | def test_parsing_errors(self): FILE: Django-1.5.1/django/contrib/flatpages/tests/views.py class FlatpageViewTests (line 25) | class FlatpageViewTests(TestCase): method test_view_flatpage (line 29) | def test_view_flatpage(self): method test_view_non_existent_flatpage (line 35) | def test_view_non_existent_flatpage(self): method test_view_authenticated_flatpage (line 41) | def test_view_authenticated_flatpage(self): method test_fallback_flatpage (line 51) | def test_fallback_flatpage(self): method test_fallback_non_existent_flatpage (line 56) | def test_fallback_non_existent_flatpage(self): method test_view_flatpage_special_chars (line 61) | def test_view_flatpage_special_chars(self): class FlatpageViewAppendSlashTests (line 93) | class FlatpageViewAppendSlashTests(TestCase): method test_redirect_view_flatpage (line 97) | def test_redirect_view_flatpage(self): method test_redirect_view_non_existent_flatpage (line 102) | def test_redirect_view_non_existent_flatpage(self): method test_redirect_fallback_flatpage (line 107) | def test_redirect_fallback_flatpage(self): method test_redirect_fallback_non_existent_flatpage (line 112) | def test_redirect_fallback_non_existent_flatpage(self): method test_redirect_view_flatpage_special_chars (line 117) | def test_redirect_view_flatpage_special_chars(self): FILE: Django-1.5.1/django/contrib/flatpages/views.py function flatpage (line 21) | def flatpage(request, url): function render_flatpage (line 49) | def render_flatpage(request, f): FILE: Django-1.5.1/django/contrib/formtools/preview.py class FormPreview (line 13) | class FormPreview(object): method __init__ (line 19) | def __init__(self, form): method __call__ (line 23) | def __call__(self, request, *args, **kwargs): method unused_name (line 32) | def unused_name(self, name): method preview_get (line 48) | def preview_get(self, request): method preview_post (line 55) | def preview_post(self, request): method _check_security_hash (line 67) | def _check_security_hash(self, token, request, form): method post_post (line 71) | def post_post(self, request): method get_auto_id (line 86) | def get_auto_id(self): method get_initial (line 93) | def get_initial(self, request): method get_context (line 100) | def get_context(self, request, form): method parse_params (line 105) | def parse_params(self, *args, **kwargs): method process_preview (line 121) | def process_preview(self, request, form, context): method security_hash (line 128) | def security_hash(self, request, form): method failed_hash (line 137) | def failed_hash(self, request): method done (line 143) | def done(self, request, cleaned_data): FILE: Django-1.5.1/django/contrib/formtools/tests/__init__.py class TestFormPreview (line 26) | class TestFormPreview(preview.FormPreview): method get_context (line 27) | def get_context(self, request, form): method get_initial (line 32) | def get_initial(self, request): method done (line 35) | def done(self, request, cleaned_data): class PreviewTests (line 43) | class PreviewTests(TestCase): method setUp (line 46) | def setUp(self): method test_unused_name (line 54) | def test_unused_name(self): method test_form_get (line 60) | def test_form_get(self): method test_form_preview (line 76) | def test_form_preview(self): method test_form_submit (line 93) | def test_form_submit(self): method test_bool_submit (line 113) | def test_bool_submit(self): method test_form_submit_good_hash (line 133) | def test_form_submit_good_hash(self): method test_form_submit_bad_hash (line 149) | def test_form_submit_bad_hash(self): class FormHmacTests (line 166) | class FormHmacTests(unittest.TestCase): method test_textfield_hash (line 168) | def test_textfield_hash(self): method test_empty_permitted (line 180) | def test_empty_permitted(self): class TestWizardClass (line 196) | class TestWizardClass(FormWizard): method get_template (line 198) | def get_template(self, step): method done (line 201) | def done(self, request, cleaned_data): class DummyRequest (line 205) | class DummyRequest(http.HttpRequest): method __init__ (line 207) | def __init__(self, POST=None): class WizardTests (line 221) | class WizardTests(TestCase): method setUp (line 237) | def setUp(self): method tearDown (line 243) | def tearDown(self): method test_step_starts_at_zero (line 247) | def test_step_starts_at_zero(self): method test_step_increments (line 254) | def test_step_increments(self): method test_bad_hash (line 261) | def test_bad_hash(self): method test_good_hash (line 271) | def test_good_hash(self): method test_11726 (line 286) | def test_11726(self): method test_14498 (line 327) | def test_14498(self): method test_14576 (line 353) | def test_14576(self): method test_15075 (line 380) | def test_15075(self): method grab_field_data (line 409) | def grab_field_data(self, response): method check_wizard_step (line 422) | def check_wizard_step(self, response, step_no): method test_9473 (line 438) | def test_9473(self): FILE: Django-1.5.1/django/contrib/formtools/tests/forms.py class Page1 (line 5) | class Page1(forms.Form): class Page2 (line 9) | class Page2(forms.Form): class Page3 (line 13) | class Page3(forms.Form): class ContactWizard (line 16) | class ContactWizard(FormWizard): method done (line 17) | def done(self, request, form_list): class TestForm (line 20) | class TestForm(forms.Form): class HashTestForm (line 26) | class HashTestForm(forms.Form): class HashTestBlankForm (line 30) | class HashTestBlankForm(forms.Form): class WizardPageOneForm (line 34) | class WizardPageOneForm(forms.Form): class WizardPageTwoForm (line 37) | class WizardPageTwoForm(forms.Form): class WizardPageTwoAlternativeForm (line 40) | class WizardPageTwoAlternativeForm(forms.Form): class WizardPageThreeForm (line 43) | class WizardPageThreeForm(forms.Form): FILE: Django-1.5.1/django/contrib/formtools/tests/wizard/cookiestorage.py class TestCookieStorage (line 14) | class TestCookieStorage(TestStorage, TestCase): method get_storage (line 15) | def get_storage(self): method test_manipulated_cookie (line 18) | def test_manipulated_cookie(self): method test_reset_cookie (line 32) | def test_reset_cookie(self): FILE: Django-1.5.1/django/contrib/formtools/tests/wizard/forms.py class DummyRequest (line 17) | class DummyRequest(http.HttpRequest): method __init__ (line 18) | def __init__(self, POST=None): function get_request (line 27) | def get_request(*args, **kwargs): class Step1 (line 34) | class Step1(forms.Form): class Step2 (line 38) | class Step2(forms.Form): class Step3 (line 42) | class Step3(forms.Form): class CustomKwargsStep1 (line 46) | class CustomKwargsStep1(Step1): method __init__ (line 48) | def __init__(self, test=None, *args, **kwargs): class TestModel (line 53) | class TestModel(models.Model): class Meta (line 56) | class Meta: class TestModelForm (line 60) | class TestModelForm(forms.ModelForm): class Meta (line 61) | class Meta: class TestWizard (line 68) | class TestWizard(WizardView): method dispatch (line 71) | def dispatch(self, request, *args, **kwargs): method get_form_kwargs (line 75) | def get_form_kwargs(self, step, *args, **kwargs): class FormTests (line 81) | class FormTests(TestCase): method test_form_init (line 82) | def test_form_init(self): method test_first_step (line 94) | def test_first_step(self): method test_persistence (line 106) | def test_persistence(self): method test_form_condition (line 120) | def test_form_condition(self): method test_form_kwargs (line 135) | def test_form_kwargs(self): method test_form_prefix (line 146) | def test_form_prefix(self): method test_form_initial (line 155) | def test_form_initial(self): method test_form_instance (line 165) | def test_form_instance(self): method test_formset_instance (line 179) | def test_formset_instance(self): method test_done (line 194) | def test_done(self): method test_revalidation (line 202) | def test_revalidation(self): class SessionFormTests (line 211) | class SessionFormTests(TestCase): method test_init (line 212) | def test_init(self): class CookieFormTests (line 218) | class CookieFormTests(TestCase): method test_init (line 219) | def test_init(self): FILE: Django-1.5.1/django/contrib/formtools/tests/wizard/loadstorage.py class TestLoadStorage (line 9) | class TestLoadStorage(TestCase): method test_load_storage (line 10) | def test_load_storage(self): method test_missing_module (line 15) | def test_missing_module(self): method test_missing_class (line 19) | def test_missing_class(self): FILE: Django-1.5.1/django/contrib/formtools/tests/wizard/namedwizardtests/forms.py class Page1 (line 17) | class Page1(forms.Form): class Page2 (line 22) | class Page2(forms.Form): class Page3 (line 27) | class Page3(forms.Form): class ContactWizard (line 32) | class ContactWizard(NamedUrlWizardView): method done (line 35) | def done(self, form_list, **kwargs): class SessionContactWizard (line 47) | class SessionContactWizard(ContactWizard): class CookieContactWizard (line 50) | class CookieContactWizard(ContactWizard): FILE: Django-1.5.1/django/contrib/formtools/tests/wizard/namedwizardtests/tests.py class NamedWizardTests (line 15) | class NamedWizardTests(object): method setUp (line 18) | def setUp(self): method test_initial_call (line 22) | def test_initial_call(self): method test_initial_call_with_params (line 37) | def test_initial_call_with_params(self): method test_form_post_error (line 49) | def test_form_post_error(self): method test_form_post_success (line 60) | def test_form_post_success(self): method test_form_stepback (line 73) | def test_form_stepback(self): method test_form_jump (line 97) | def test_form_jump(self): method test_form_finish (line 109) | def test_form_finish(self): method test_cleaned_data (line 164) | def test_cleaned_data(self): method test_manipulated_data (line 222) | def test_manipulated_data(self): method test_form_reset (line 263) | def test_form_reset(self): class NamedSessionWizardTests (line 281) | class NamedSessionWizardTests(NamedWizardTests, TestCase): class NamedCookieWizardTests (line 313) | class NamedCookieWizardTests(NamedWizardTests, TestCase): class NamedFormTests (line 344) | class NamedFormTests(object): method test_revalidation (line 347) | def test_revalidation(self): class TestNamedUrlSessionWizardView (line 359) | class TestNamedUrlSessionWizardView(NamedUrlSessionWizardView): method dispatch (line 361) | def dispatch(self, request, *args, **kwargs): class TestNamedUrlCookieWizardView (line 366) | class TestNamedUrlCookieWizardView(NamedUrlCookieWizardView): method dispatch (line 368) | def dispatch(self, request, *args, **kwargs): class NamedSessionFormTests (line 374) | class NamedSessionFormTests(NamedFormTests, TestCase): class NamedCookieFormTests (line 380) | class NamedCookieFormTests(NamedFormTests, TestCase): FILE: Django-1.5.1/django/contrib/formtools/tests/wizard/namedwizardtests/urls.py function get_named_session_wizard (line 5) | def get_named_session_wizard(): function get_named_cookie_wizard (line 12) | def get_named_cookie_wizard(): FILE: Django-1.5.1/django/contrib/formtools/tests/wizard/sessionstorage.py class TestSessionStorage (line 9) | class TestSessionStorage(TestStorage, TestCase): method get_storage (line 10) | def get_storage(self): FILE: Django-1.5.1/django/contrib/formtools/tests/wizard/storage.py function get_request (line 10) | def get_request(): class TestStorage (line 17) | class TestStorage(object): method setUp (line 18) | def setUp(self): method test_current_step (line 21) | def test_current_step(self): method test_step_data (line 38) | def test_step_data(self): method test_extra_context (line 59) | def test_extra_context(self): method test_extra_context_key_persistence (line 79) | def test_extra_context_key_persistence(self): FILE: Django-1.5.1/django/contrib/formtools/tests/wizard/wizardtests/forms.py class Page1 (line 19) | class Page1(forms.Form): class Page2 (line 24) | class Page2(forms.Form): class Page3 (line 29) | class Page3(forms.Form): class ContactWizard (line 34) | class ContactWizard(WizardView): method done (line 37) | def done(self, form_list, **kwargs): method get_context_data (line 49) | def get_context_data(self, form, **kwargs): class UserForm (line 55) | class UserForm(forms.ModelForm): class Meta (line 56) | class Meta: class SessionContactWizard (line 62) | class SessionContactWizard(ContactWizard): class CookieContactWizard (line 65) | class CookieContactWizard(ContactWizard): FILE: Django-1.5.1/django/contrib/formtools/tests/wizard/wizardtests/tests.py class UserForm (line 15) | class UserForm(forms.ModelForm): class Meta (line 16) | class Meta: class WizardTests (line 23) | class WizardTests(object): method setUp (line 26) | def setUp(self): method test_initial_call (line 30) | def test_initial_call(self): method test_form_post_error (line 42) | def test_form_post_error(self): method test_form_post_success (line 50) | def test_form_post_success(self): method test_form_stepback (line 59) | def test_form_stepback(self): method test_template_context (line 73) | def test_template_context(self): method test_form_finish (line 88) | def test_form_finish(self): method test_cleaned_data (line 122) | def test_cleaned_data(self): method test_manipulated_data (line 153) | def test_manipulated_data(self): method test_form_refresh (line 175) | def test_form_refresh(self): class SessionWizardTests (line 208) | class SessionWizardTests(WizardTests, TestCase): class CookieWizardTests (line 240) | class CookieWizardTests(WizardTests, TestCase): class WizardTestKwargs (line 272) | class WizardTestKwargs(TestCase): method setUp (line 303) | def setUp(self): method test_template (line 307) | def test_template(self): class WizardTestGenericViewInterface (line 315) | class WizardTestGenericViewInterface(TestCase): method test_get_context_data_inheritance (line 316) | def test_get_context_data_inheritance(self): method test_get_context_data_with_mixin (line 335) | def test_get_context_data_with_mixin(self): class WizardFormKwargsOverrideTests (line 364) | class WizardFormKwargsOverrideTests(TestCase): method setUp (line 365) | def setUp(self): method test_instance_is_maintained (line 374) | def test_instance_is_maintained(self): method test_queryset_is_maintained (line 391) | def test_queryset_is_maintained(self): FILE: Django-1.5.1/django/contrib/formtools/utils.py function form_hmac (line 10) | def form_hmac(form): FILE: Django-1.5.1/django/contrib/formtools/wizard/forms.py class ManagementForm (line 3) | class ManagementForm(forms.Form): FILE: Django-1.5.1/django/contrib/formtools/wizard/legacy.py class FormWizard (line 17) | class FormWizard(object): method __init__ (line 23) | def __init__(self, form_list, initial=None): method __repr__ (line 44) | def __repr__(self): method get_form (line 47) | def get_form(self, step, data=None): method num_steps (line 54) | def num_steps(self): method _check_security_hash (line 61) | def _check_security_hash(self, token, request, form): method __call__ (line 66) | def __call__(self, request, *args, **kwargs): method render (line 129) | def render(self, form, request, step, context=None): method prefix_for_step (line 145) | def prefix_for_step(self, step): method render_hash_failure (line 149) | def render_hash_failure(self, request, step): method render_revalidation_failure (line 161) | def render_revalidation_failure(self, request, step, form): method security_hash (line 170) | def security_hash(self, request, form): method get_current_or_first_step (line 179) | def get_current_or_first_step(self, request, *args, **kwargs): method parse_params (line 195) | def parse_params(self, request, *args, **kwargs): method get_template (line 204) | def get_template(self, step): method render_template (line 213) | def render_template(self, request, form, previous_fields, step, contex... method process_step (line 245) | def process_step(self, request, form, step): method done (line 262) | def done(self, request, form_list): FILE: Django-1.5.1/django/contrib/formtools/wizard/storage/__init__.py function get_storage (line 8) | def get_storage(path, *args, **kwargs): FILE: Django-1.5.1/django/contrib/formtools/wizard/storage/base.py class BaseStorage (line 9) | class BaseStorage(object): method __init__ (line 15) | def __init__(self, prefix, request=None, file_storage=None): method init_data (line 20) | def init_data(self): method reset (line 28) | def reset(self): method _get_current_step (line 31) | def _get_current_step(self): method _set_current_step (line 34) | def _set_current_step(self, step): method _get_extra_data (line 39) | def _get_extra_data(self): method _set_extra_data (line 42) | def _set_extra_data(self, extra_data): method get_step_data (line 47) | def get_step_data(self, step): method set_step_data (line 55) | def set_step_data(self, step, cleaned_data): method current_step_data (line 65) | def current_step_data(self): method get_step_files (line 68) | def get_step_files(self, step): method set_step_files (line 84) | def set_step_files(self, step, files): method current_step_files (line 105) | def current_step_files(self): method update_response (line 108) | def update_response(self, response): FILE: Django-1.5.1/django/contrib/formtools/wizard/storage/cookie.py class CookieStorage (line 9) | class CookieStorage(storage.BaseStorage): method __init__ (line 12) | def __init__(self, *args, **kwargs): method load_data (line 18) | def load_data(self): method update_response (line 29) | def update_response(self, response): FILE: Django-1.5.1/django/contrib/formtools/wizard/storage/exceptions.py class MissingStorageModule (line 3) | class MissingStorageModule(ImproperlyConfigured): class MissingStorageClass (line 6) | class MissingStorageClass(ImproperlyConfigured): class NoFileStorageConfigured (line 9) | class NoFileStorageConfigured(ImproperlyConfigured): FILE: Django-1.5.1/django/contrib/formtools/wizard/storage/session.py class SessionStorage (line 4) | class SessionStorage(storage.BaseStorage): method __init__ (line 6) | def __init__(self, *args, **kwargs): method _get_data (line 11) | def _get_data(self): method _set_data (line 15) | def _set_data(self, value): FILE: Django-1.5.1/django/contrib/formtools/wizard/views.py function normalize_name (line 17) | def normalize_name(name): class StepsHelper (line 30) | class StepsHelper(object): method __init__ (line 32) | def __init__(self, wizard): method __dir__ (line 35) | def __dir__(self): method __len__ (line 38) | def __len__(self): method __repr__ (line 41) | def __repr__(self): method all (line 45) | def all(self): method count (line 50) | def count(self): method current (line 55) | def current(self): method first (line 63) | def first(self): method last (line 68) | def last(self): method next (line 73) | def next(self): method prev (line 78) | def prev(self): method index (line 83) | def index(self): method step0 (line 88) | def step0(self): method step1 (line 92) | def step1(self): class WizardView (line 96) | class WizardView(TemplateView): method __repr__ (line 109) | def __repr__(self): method as_view (line 113) | def as_view(cls, *args, **kwargs): method get_initkwargs (line 123) | def get_initkwargs(cls, form_list, initial_dict=None, method get_prefix (line 185) | def get_prefix(self, *args, **kwargs): method get_form_list (line 189) | def get_form_list(self): method dispatch (line 212) | def dispatch(self, request, *args, **kwargs): method get (line 233) | def get(self, request, *args, **kwargs): method post (line 247) | def post(self, *args, **kwargs): method render_next_step (line 296) | def render_next_step(self, form, **kwargs): method render_done (line 312) | def render_done(self, form, **kwargs): method get_form_prefix (line 336) | def get_form_prefix(self, step=None, form=None): method get_form_initial (line 349) | def get_form_initial(self, step): method get_form_instance (line 357) | def get_form_instance(self, step): method get_form_kwargs (line 365) | def get_form_kwargs(self, step=None): method get_form (line 372) | def get_form(self, step=None, data=None, files=None): method process_step (line 401) | def process_step(self, form): method process_step_files (line 408) | def process_step_files(self, form): method render_revalidation_failure (line 415) | def render_revalidation_failure(self, step, form, **kwargs): method get_form_step_data (line 424) | def get_form_step_data(self, form): method get_form_step_files (line 431) | def get_form_step_files(self, form): method get_all_cleaned_data (line 438) | def get_all_cleaned_data(self): method get_cleaned_data_for_step (line 460) | def get_cleaned_data_for_step(self, step): method get_next_step (line 474) | def get_next_step(self, step=None): method get_prev_step (line 488) | def get_prev_step(self, step=None): method get_step_index (line 502) | def get_step_index(self, step=None): method get_context_data (line 511) | def get_context_data(self, form, **kwargs): method render (line 544) | def render(self, form=None, **kwargs): method done (line 552) | def done(self, form_list, **kwargs): class SessionWizardView (line 561) | class SessionWizardView(WizardView): class CookieWizardView (line 568) | class CookieWizardView(WizardView): class NamedUrlWizardView (line 575) | class NamedUrlWizardView(WizardView): method get_initkwargs (line 583) | def get_initkwargs(cls, *args, **kwargs): method get_step_url (line 600) | def get_step_url(self, step): method get (line 603) | def get(self, *args, **kwargs): method post (line 648) | def post(self, *args, **kwargs): method get_context_data (line 659) | def get_context_data(self, form, **kwargs): method render_next_step (line 668) | def render_next_step(self, form, **kwargs): method render_revalidation_failure (line 677) | def render_revalidation_failure(self, failed_step, form, **kwargs): method render_done (line 685) | def render_done(self, form, **kwargs): class NamedUrlSessionWizardView (line 695) | class NamedUrlSessionWizardView(NamedUrlWizardView): class NamedUrlCookieWizardView (line 702) | class NamedUrlCookieWizardView(NamedUrlWizardView): FILE: Django-1.5.1/django/contrib/gis/admin/options.py class GeoModelAdmin (line 6) | class GeoModelAdmin(ModelAdmin): method media (line 44) | def media(self): method formfield_for_dbfield (line 51) | def formfield_for_dbfield(self, db_field, **kwargs): method get_map_widget (line 64) | def get_map_widget(self, db_field): class OSMGeoAdmin (line 130) | class OSMGeoAdmin(GeoModelAdmin): FILE: Django-1.5.1/django/contrib/gis/admin/widgets.py class OpenLayersWidget (line 18) | class OpenLayersWidget(Textarea): method render (line 22) | def render(self, name, value, attrs=None): method map_options (line 83) | def map_options(self): method _has_changed (line 121) | def _has_changed(self, initial, data): FILE: Django-1.5.1/django/contrib/gis/db/backends/adapter.py class WKTAdapter (line 1) | class WKTAdapter(object): method __init__ (line 6) | def __init__(self, geom): method __eq__ (line 10) | def __eq__(self, other): method __str__ (line 15) | def __str__(self): method prepare_database_save (line 18) | def prepare_database_save(self, unused): FILE: Django-1.5.1/django/contrib/gis/db/backends/base.py class BaseSpatialOperations (line 10) | class BaseSpatialOperations(object): method convert_extent (line 83) | def convert_extent(self, box): method convert_extent3d (line 86) | def convert_extent3d(self, box): method convert_geom (line 89) | def convert_geom(self, geom_val, geom_field): method geo_quote_name (line 93) | def geo_quote_name(self, name): method geo_db_type (line 97) | def geo_db_type(self, f): method get_distance (line 104) | def get_distance(self, f, value, lookup_type): method get_geom_placeholder (line 111) | def get_geom_placeholder(self, f, value): method get_expression_column (line 120) | def get_expression_column(self, evaluator): method spatial_aggregate_sql (line 131) | def spatial_aggregate_sql(self, agg): method spatial_lookup_sql (line 134) | def spatial_lookup_sql(self, lvalue, lookup_type, value, field): method geometry_columns (line 138) | def geometry_columns(self): method spatial_ref_sys (line 141) | def spatial_ref_sys(self): class SpatialRefSysMixin (line 145) | class SpatialRefSysMixin(object): method srs (line 163) | def srs(self): method ellipsoid (line 193) | def ellipsoid(self): method name (line 206) | def name(self): method spheroid (line 211) | def spheroid(self): method datum (line 216) | def datum(self): method projected (line 221) | def projected(self): method local (line 229) | def local(self): method geographic (line 237) | def geographic(self): method linear_name (line 245) | def linear_name(self): method linear_units (line 256) | def linear_units(self): method angular_name (line 267) | def angular_name(self): method angular_units (line 278) | def angular_units(self): method units (line 289) | def units(self): method get_units (line 299) | def get_units(cls, wkt): method get_spheroid (line 312) | def get_spheroid(cls, wkt, string=True): method __str__ (line 339) | def __str__(self): FILE: Django-1.5.1/django/contrib/gis/db/backends/mysql/base.py class DatabaseWrapper (line 7) | class DatabaseWrapper(MySQLDatabaseWrapper): method __init__ (line 9) | def __init__(self, *args, **kwargs): FILE: Django-1.5.1/django/contrib/gis/db/backends/mysql/compiler.py class GeoSQLCompiler (line 6) | class GeoSQLCompiler(BaseGeoSQLCompiler, SQLCompiler): method resolve_columns (line 7) | def resolve_columns(self, row, fields=()): class SQLInsertCompiler (line 19) | class SQLInsertCompiler(compiler.SQLInsertCompiler, GeoSQLCompiler): class SQLDeleteCompiler (line 22) | class SQLDeleteCompiler(compiler.SQLDeleteCompiler, GeoSQLCompiler): class SQLUpdateCompiler (line 25) | class SQLUpdateCompiler(compiler.SQLUpdateCompiler, GeoSQLCompiler): class SQLAggregateCompiler (line 28) | class SQLAggregateCompiler(compiler.SQLAggregateCompiler, GeoSQLCompiler): class SQLDateCompiler (line 31) | class SQLDateCompiler(compiler.SQLDateCompiler, GeoSQLCompiler): FILE: Django-1.5.1/django/contrib/gis/db/backends/mysql/creation.py class MySQLCreation (line 3) | class MySQLCreation(DatabaseCreation): method sql_indexes_for_field (line 5) | def sql_indexes_for_field(self, model, f, style): FILE: Django-1.5.1/django/contrib/gis/db/backends/mysql/introspection.py class MySQLIntrospection (line 6) | class MySQLIntrospection(DatabaseIntrospection): method get_geometry_type (line 12) | def get_geometry_type(self, table_name, geo_col): FILE: Django-1.5.1/django/contrib/gis/db/backends/mysql/operations.py class MySQLOperations (line 8) | class MySQLOperations(DatabaseOperations, BaseSpatialOperations): method geo_db_type (line 37) | def geo_db_type(self, f): method get_geom_placeholder (line 40) | def get_geom_placeholder(self, value, srid): method spatial_lookup_sql (line 52) | def spatial_lookup_sql(self, lvalue, lookup_type, value, field, qn): FILE: Django-1.5.1/django/contrib/gis/db/backends/oracle/adapter.py class OracleSpatialAdapter (line 4) | class OracleSpatialAdapter(WKTAdapter): FILE: Django-1.5.1/django/contrib/gis/db/backends/oracle/base.py class DatabaseWrapper (line 7) | class DatabaseWrapper(OracleDatabaseWrapper): method __init__ (line 8) | def __init__(self, *args, **kwargs): FILE: Django-1.5.1/django/contrib/gis/db/backends/oracle/compiler.py class GeoSQLCompiler (line 6) | class GeoSQLCompiler(BaseGeoSQLCompiler, SQLCompiler): class SQLInsertCompiler (line 9) | class SQLInsertCompiler(compiler.SQLInsertCompiler, GeoSQLCompiler): class SQLDeleteCompiler (line 12) | class SQLDeleteCompiler(compiler.SQLDeleteCompiler, GeoSQLCompiler): class SQLUpdateCompiler (line 15) | class SQLUpdateCompiler(compiler.SQLUpdateCompiler, GeoSQLCompiler): class SQLAggregateCompiler (line 18) | class SQLAggregateCompiler(compiler.SQLAggregateCompiler, GeoSQLCompiler): class SQLDateCompiler (line 21) | class SQLDateCompiler(compiler.SQLDateCompiler, GeoSQLCompiler): FILE: Django-1.5.1/django/contrib/gis/db/backends/oracle/creation.py class OracleCreation (line 4) | class OracleCreation(DatabaseCreation): method sql_indexes_for_field (line 6) | def sql_indexes_for_field(self, model, f, style): FILE: Django-1.5.1/django/contrib/gis/db/backends/oracle/introspection.py class OracleIntrospection (line 4) | class OracleIntrospection(DatabaseIntrospection): method get_geometry_type (line 11) | def get_geometry_type(self, table_name, geo_col): FILE: Django-1.5.1/django/contrib/gis/db/backends/oracle/models.py class GeometryColumns (line 15) | class GeometryColumns(models.Model): class Meta (line 21) | class Meta: method table_name_col (line 26) | def table_name_col(cls): method geom_col_name (line 34) | def geom_col_name(cls): method __str__ (line 41) | def __str__(self): class SpatialRefSys (line 44) | class SpatialRefSys(models.Model, SpatialRefSysMixin): class Meta (line 56) | class Meta: method wkt (line 61) | def wkt(self): method wkt_col (line 65) | def wkt_col(cls): FILE: Django-1.5.1/django/contrib/gis/db/backends/oracle/operations.py class SDOOperation (line 21) | class SDOOperation(SpatialFunction): method __init__ (line 25) | def __init__(self, func, **kwargs): class SDODistance (line 30) | class SDODistance(SpatialFunction): method __init__ (line 35) | def __init__(self, op, tolerance=0.05): class SDODWithin (line 40) | class SDODWithin(SpatialFunction): method __init__ (line 43) | def __init__(self): class SDOGeomRelate (line 46) | class SDOGeomRelate(SpatialFunction): method __init__ (line 51) | def __init__(self, mask, tolerance=0.05): class SDORelate (line 57) | class SDORelate(SpatialFunction): method __init__ (line 63) | def __init__(self, mask): class OracleOperations (line 71) | class OracleOperations(DatabaseOperations, BaseSpatialOperations): method convert_extent (line 136) | def convert_extent(self, clob): method convert_geom (line 158) | def convert_geom(self, clob, geo_field): method geo_db_type (line 164) | def geo_db_type(self, f): method get_distance (line 172) | def get_distance(self, f, value, lookup_type): method get_geom_placeholder (line 197) | def get_geom_placeholder(self, f, value): method spatial_lookup_sql (line 223) | def spatial_lookup_sql(self, lvalue, lookup_type, value, field, qn): method spatial_aggregate_sql (line 269) | def spatial_aggregate_sql(self, agg): method geometry_columns (line 284) | def geometry_columns(self): method spatial_ref_sys (line 288) | def spatial_ref_sys(self): method modify_insert_params (line 292) | def modify_insert_params(self, placeholders, params): FILE: Django-1.5.1/django/contrib/gis/db/backends/postgis/adapter.py class PostGISAdapter (line 9) | class PostGISAdapter(object): method __init__ (line 10) | def __init__(self, geom): method __conform__ (line 18) | def __conform__(self, proto): method __eq__ (line 25) | def __eq__(self, other): method __str__ (line 30) | def __str__(self): method prepare (line 33) | def prepare(self, conn): method getquoted (line 40) | def getquoted(self): method prepare_database_save (line 45) | def prepare_database_save(self, unused): FILE: Django-1.5.1/django/contrib/gis/db/backends/postgis/base.py class DatabaseWrapper (line 7) | class DatabaseWrapper(Psycopg2DatabaseWrapper): method __init__ (line 8) | def __init__(self, *args, **kwargs): FILE: Django-1.5.1/django/contrib/gis/db/backends/postgis/creation.py class PostGISCreation (line 7) | class PostGISCreation(DatabaseCreation): method template_postgis (line 13) | def template_postgis(self): method sql_indexes_for_field (line 21) | def sql_indexes_for_field(self, model, f, style): method sql_table_creation_suffix (line 80) | def sql_table_creation_suffix(self): method _create_test_db (line 86) | def _create_test_db(self, verbosity, autoclobber): FILE: Django-1.5.1/django/contrib/gis/db/backends/postgis/introspection.py class GeoIntrospectionError (line 4) | class GeoIntrospectionError(Exception): class PostGISIntrospection (line 7) | class PostGISIntrospection(DatabaseIntrospection): method get_postgis_types (line 12) | def get_postgis_types(self): method get_field_type (line 40) | def get_field_type(self, data_type, description): method get_geometry_type (line 51) | def get_geometry_type(self, table_name, geo_col): FILE: Django-1.5.1/django/contrib/gis/db/backends/postgis/models.py class GeometryColumns (line 9) | class GeometryColumns(models.Model): class Meta (line 22) | class Meta: method table_name_col (line 27) | def table_name_col(cls): method geom_col_name (line 35) | def geom_col_name(cls): method __str__ (line 42) | def __str__(self): class SpatialRefSys (line 47) | class SpatialRefSys(models.Model, SpatialRefSysMixin): class Meta (line 58) | class Meta: method wkt (line 63) | def wkt(self): method wkt_col (line 67) | def wkt_col(cls): FILE: Django-1.5.1/django/contrib/gis/db/backends/postgis/operations.py class PostGISOperator (line 16) | class PostGISOperator(SpatialOperation): method __init__ (line 18) | def __init__(self, operator): class PostGISFunction (line 21) | class PostGISFunction(SpatialFunction): method __init__ (line 23) | def __init__(self, prefix, function, **kwargs): class PostGISFunctionParam (line 26) | class PostGISFunctionParam(PostGISFunction): class PostGISDistance (line 30) | class PostGISDistance(PostGISFunction): method __init__ (line 35) | def __init__(self, prefix, operator): class PostGISSpheroidDistance (line 39) | class PostGISSpheroidDistance(PostGISFunction): method __init__ (line 43) | def __init__(self, prefix, operator): class PostGISSphereDistance (line 48) | class PostGISSphereDistance(PostGISDistance): class PostGISRelate (line 52) | class PostGISRelate(PostGISFunctionParam): method __init__ (line 55) | def __init__(self, prefix, pattern): class PostGISOperations (line 61) | class PostGISOperations(DatabaseOperations, BaseSpatialOperations): method __init__ (line 72) | def __init__(self, connection): method check_aggregate_support (line 273) | def check_aggregate_support(self, aggregate): method convert_extent (line 281) | def convert_extent(self, box): method convert_extent3d (line 292) | def convert_extent3d(self, box3d): method convert_geom (line 303) | def convert_geom(self, hex, geo_field): method geo_db_type (line 312) | def geo_db_type(self, f): method get_distance (line 339) | def get_distance(self, f, dist_val, lookup_type): method get_geom_placeholder (line 381) | def get_geom_placeholder(self, f, value): method _get_postgis_func (line 401) | def _get_postgis_func(self, func): method postgis_geos_version (line 418) | def postgis_geos_version(self): method postgis_lib_version (line 422) | def postgis_lib_version(self): method postgis_proj_version (line 426) | def postgis_proj_version(self): method postgis_version (line 430) | def postgis_version(self): method postgis_full_version (line 434) | def postgis_full_version(self): method postgis_version_tuple (line 438) | def postgis_version_tuple(self): method proj_version_tuple (line 456) | def proj_version_tuple(self): method num_params (line 469) | def num_params(self, lookup_type, num_param): method spatial_lookup_sql (line 482) | def spatial_lookup_sql(self, lvalue, lookup_type, value, field, qn): method spatial_aggregate_sql (line 567) | def spatial_aggregate_sql(self, agg): method geometry_columns (line 582) | def geometry_columns(self): method spatial_ref_sys (line 586) | def spatial_ref_sys(self): FILE: Django-1.5.1/django/contrib/gis/db/backends/spatialite/adapter.py class SpatiaLiteAdapter (line 4) | class SpatiaLiteAdapter(WKTAdapter): method __conform__ (line 6) | def __conform__(self, protocol): FILE: Django-1.5.1/django/contrib/gis/db/backends/spatialite/base.py class DatabaseWrapper (line 14) | class DatabaseWrapper(SQLiteDatabaseWrapper): method __init__ (line 15) | def __init__(self, *args, **kwargs): method _cursor (line 39) | def _cursor(self): FILE: Django-1.5.1/django/contrib/gis/db/backends/spatialite/client.py class SpatiaLiteClient (line 3) | class SpatiaLiteClient(DatabaseClient): FILE: Django-1.5.1/django/contrib/gis/db/backends/spatialite/creation.py class SpatiaLiteCreation (line 8) | class SpatiaLiteCreation(DatabaseCreation): method create_test_db (line 10) | def create_test_db(self, verbosity=1, autoclobber=False): method sql_indexes_for_field (line 70) | def sql_indexes_for_field(self, model, f, style): method load_spatialite_sql (line 99) | def load_spatialite_sql(self): method spatialite_init_file (line 125) | def spatialite_init_file(self): FILE: Django-1.5.1/django/contrib/gis/db/backends/spatialite/introspection.py class GeoFlexibleFieldLookupDict (line 5) | class GeoFlexibleFieldLookupDict(FlexibleFieldLookupDict): class SpatiaLiteIntrospection (line 21) | class SpatiaLiteIntrospection(DatabaseIntrospection): method get_geometry_type (line 24) | def get_geometry_type(self, table_name, geo_col): FILE: Django-1.5.1/django/contrib/gis/db/backends/spatialite/models.py class GeometryColumns (line 9) | class GeometryColumns(models.Model): class Meta (line 20) | class Meta: method table_name_col (line 25) | def table_name_col(cls): method geom_col_name (line 33) | def geom_col_name(cls): method __str__ (line 40) | def __str__(self): class SpatialRefSys (line 45) | class SpatialRefSys(models.Model, SpatialRefSysMixin): method wkt (line 56) | def wkt(self): class Meta (line 60) | class Meta: FILE: Django-1.5.1/django/contrib/gis/db/backends/spatialite/operations.py class SpatiaLiteOperator (line 14) | class SpatiaLiteOperator(SpatialOperation): method __init__ (line 16) | def __init__(self, operator): class SpatiaLiteFunction (line 19) | class SpatiaLiteFunction(SpatialFunction): method __init__ (line 21) | def __init__(self, function, **kwargs): class SpatiaLiteFunctionParam (line 24) | class SpatiaLiteFunctionParam(SpatiaLiteFunction): class SpatiaLiteDistance (line 28) | class SpatiaLiteDistance(SpatiaLiteFunction): method __init__ (line 33) | def __init__(self, operator): class SpatiaLiteRelate (line 37) | class SpatiaLiteRelate(SpatiaLiteFunctionParam): method __init__ (line 40) | def __init__(self, pattern): function get_dist_ops (line 47) | def get_dist_ops(operator): class SpatiaLiteOperations (line 51) | class SpatiaLiteOperations(DatabaseOperations, BaseSpatialOperations): method __init__ (line 113) | def __init__(self, connection): method confirm_spatial_components_versions (line 121) | def confirm_spatial_components_versions(self): method check_aggregate_support (line 152) | def check_aggregate_support(self, aggregate): method convert_geom (line 160) | def convert_geom(self, wkt, geo_field): method geo_db_type (line 169) | def geo_db_type(self, f): method get_distance (line 176) | def get_distance(self, f, value, lookup_type): method get_geom_placeholder (line 198) | def get_geom_placeholder(self, f, value): method _get_spatialite_func (line 221) | def _get_spatialite_func(self, func): method geos_version (line 238) | def geos_version(self): method proj4_version (line 242) | def proj4_version(self): method spatialite_version (line 246) | def spatialite_version(self): method spatialite_version_tuple (line 250) | def spatialite_version_tuple(self): method spatial_aggregate_sql (line 282) | def spatial_aggregate_sql(self, agg): method spatial_lookup_sql (line 296) | def spatial_lookup_sql(self, lvalue, lookup_type, value, field, qn): method geometry_columns (line 352) | def geometry_columns(self): method spatial_ref_sys (line 356) | def spatial_ref_sys(self): FILE: Django-1.5.1/django/contrib/gis/db/backends/util.py class SpatialOperation (line 6) | class SpatialOperation(object): method __init__ (line 12) | def __init__(self, function='', operator='', result='', **kwargs): method as_sql (line 18) | def as_sql(self, geo_col, geometry='%s'): method params (line 21) | def params(self, geo_col, geometry): class SpatialFunction (line 31) | class SpatialFunction(SpatialOperation): method __init__ (line 37) | def __init__(self, func, result='', operator='', **kwargs): FILE: Django-1.5.1/django/contrib/gis/db/models/aggregates.py class Collect (line 4) | class Collect(Aggregate): class Extent (line 7) | class Extent(Aggregate): class Extent3D (line 10) | class Extent3D(Aggregate): class MakeLine (line 13) | class MakeLine(Aggregate): class Union (line 16) | class Union(Aggregate): FILE: Django-1.5.1/django/contrib/gis/db/models/fields.py function get_srid_info (line 14) | def get_srid_info(srid, connection): class GeometryField (line 42) | class GeometryField(Field): method __init__ (line 53) | def __init__(self, verbose_name=None, srid=4326, spatial_index=True, d... method _get_srid_info (line 107) | def _get_srid_info(self, connection): method spheroid (line 111) | def spheroid(self, connection): method units (line 116) | def units(self, connection): method units_name (line 121) | def units_name(self, connection): method geodetic (line 127) | def geodetic(self, connection): method get_distance (line 134) | def get_distance(self, value, lookup_type, connection): method get_prep_value (line 142) | def get_prep_value(self, value): method get_srid (line 181) | def get_srid(self, geom): method contribute_to_class (line 194) | def contribute_to_class(self, cls, name): method db_type (line 200) | def db_type(self, connection): method formfield (line 203) | def formfield(self, **kwargs): method get_db_prep_lookup (line 212) | def get_db_prep_lookup(self, lookup_type, value, connection, prepared=... method get_prep_lookup (line 248) | def get_prep_lookup(self, lookup_type, value): method get_db_prep_save (line 254) | def get_db_prep_save(self, value, connection): method get_placeholder (line 261) | def get_placeholder(self, value, connection): class PointField (line 269) | class PointField(GeometryField): class LineStringField (line 273) | class LineStringField(GeometryField): class PolygonField (line 277) | class PolygonField(GeometryField): class MultiPointField (line 281) | class MultiPointField(GeometryField): class MultiLineStringField (line 285) | class MultiLineStringField(GeometryField): class MultiPolygonField (line 289) | class MultiPolygonField(GeometryField): class GeometryCollectionField (line 293) | class GeometryCollectionField(GeometryField): FILE: Django-1.5.1/django/contrib/gis/db/models/manager.py class GeoManager (line 4) | class GeoManager(Manager): method get_query_set (line 12) | def get_query_set(self): method area (line 15) | def area(self, *args, **kwargs): method centroid (line 18) | def centroid(self, *args, **kwargs): method collect (line 21) | def collect(self, *args, **kwargs): method difference (line 24) | def difference(self, *args, **kwargs): method distance (line 27) | def distance(self, *args, **kwargs): method envelope (line 30) | def envelope(self, *args, **kwargs): method extent (line 33) | def extent(self, *args, **kwargs): method extent3d (line 36) | def extent3d(self, *args, **kwargs): method force_rhr (line 39) | def force_rhr(self, *args, **kwargs): method geohash (line 42) | def geohash(self, *args, **kwargs): method geojson (line 45) | def geojson(self, *args, **kwargs): method gml (line 48) | def gml(self, *args, **kwargs): method intersection (line 51) | def intersection(self, *args, **kwargs): method kml (line 54) | def kml(self, *args, **kwargs): method length (line 57) | def length(self, *args, **kwargs): method make_line (line 60) | def make_line(self, *args, **kwargs): method mem_size (line 63) | def mem_size(self, *args, **kwargs): method num_geom (line 66) | def num_geom(self, *args, **kwargs): method num_points (line 69) | def num_points(self, *args, **kwargs): method perimeter (line 72) | def perimeter(self, *args, **kwargs): method point_on_surface (line 75) | def point_on_surface(self, *args, **kwargs): method reverse_geom (line 78) | def reverse_geom(self, *args, **kwargs): method scale (line 81) | def scale(self, *args, **kwargs): method snap_to_grid (line 84) | def snap_to_grid(self, *args, **kwargs): method svg (line 87) | def svg(self, *args, **kwargs): method sym_difference (line 90) | def sym_difference(self, *args, **kwargs): method transform (line 93) | def transform(self, *args, **kwargs): method translate (line 96) | def translate(self, *args, **kwargs): method union (line 99) | def union(self, *args, **kwargs): method unionagg (line 102) | def unionagg(self, *args, **kwargs): FILE: Django-1.5.1/django/contrib/gis/db/models/proxy.py class GeometryProxy (line 11) | class GeometryProxy(object): method __init__ (line 12) | def __init__(self, klass, field): method __get__ (line 20) | def __get__(self, obj, type=None): method __set__ (line 44) | def __set__(self, obj, value): FILE: Django-1.5.1/django/contrib/gis/db/models/query.py class GeoQuerySet (line 14) | class GeoQuerySet(QuerySet): method __init__ (line 18) | def __init__(self, model=None, query=None, using=None): method values (line 22) | def values(self, *fields): method values_list (line 25) | def values_list(self, *fields, **kwargs): method area (line 36) | def area(self, tolerance=0.05, **kwargs): method centroid (line 66) | def centroid(self, **kwargs): method collect (line 73) | def collect(self, **kwargs): method difference (line 81) | def difference(self, geom, **kwargs): method distance (line 88) | def distance(self, geom, **kwargs): method envelope (line 106) | def envelope(self, **kwargs): method extent (line 114) | def extent(self, **kwargs): method extent3d (line 121) | def extent3d(self, **kwargs): method force_rhr (line 129) | def force_rhr(self, **kwargs): method geojson (line 138) | def geojson(self, precision=8, crs=False, bbox=False, **kwargs): method geohash (line 173) | def geohash(self, precision=20, **kwargs): method gml (line 187) | def gml(self, precision=8, version=2, **kwargs): method intersection (line 205) | def intersection(self, geom, **kwargs): method kml (line 213) | def kml(self, **kwargs): method length (line 224) | def length(self, **kwargs): method make_line (line 231) | def make_line(self, **kwargs): method mem_size (line 239) | def mem_size(self, **kwargs): method num_geom (line 246) | def num_geom(self, **kwargs): method num_points (line 255) | def num_points(self, **kwargs): method perimeter (line 263) | def perimeter(self, **kwargs): method point_on_surface (line 270) | def point_on_surface(self, **kwargs): method reverse_geom (line 278) | def reverse_geom(self, **kwargs): method scale (line 289) | def scale(self, x, y, z=0.0, **kwargs): method snap_to_grid (line 308) | def snap_to_grid(self, *args, **kwargs): method svg (line 344) | def svg(self, relative=False, precision=8, **kwargs): method sym_difference (line 367) | def sym_difference(self, geom, **kwargs): method translate (line 374) | def translate(self, x, y, z=0.0, **kwargs): method transform (line 393) | def transform(self, srid=4326, **kwargs): method union (line 421) | def union(self, geom, **kwargs): method unionagg (line 428) | def unionagg(self, **kwargs): method _spatial_setup (line 437) | def _spatial_setup(self, att, desc=None, field_name=None, geo_field_ty... method _spatial_aggregate (line 469) | def _spatial_aggregate(self, aggregate, field_name=None, method _spatial_attribute (line 497) | def _spatial_attribute(self, att, settings, field_name=None, model_att... method _distance_attribute (line 576) | def _distance_attribute(self, func, geom=None, tolerance=0.05, spheroi... method _geom_attribute (line 721) | def _geom_attribute(self, func, tolerance=0.05, **kwargs): method _geomset_attribute (line 732) | def _geomset_attribute(self, func, geom, tolerance=0.05, **kwargs): method _geocol_select (line 749) | def _geocol_select(self, geo_field, field_name): class GeoValuesQuerySet (line 773) | class GeoValuesQuerySet(ValuesQuerySet): method __init__ (line 774) | def __init__(self, *args, **kwargs): class GeoValuesListQuerySet (line 781) | class GeoValuesListQuerySet(GeoValuesQuerySet, ValuesListQuerySet): FILE: Django-1.5.1/django/contrib/gis/db/models/sql/aggregates.py class GeoAggregate (line 4) | class GeoAggregate(Aggregate): method __init__ (line 14) | def __init__(self, col, source=None, is_summary=False, tolerance=0.05,... method as_sql (line 24) | def as_sql(self, qn, connection): class Collect (line 47) | class Collect(GeoAggregate): class Extent (line 50) | class Extent(GeoAggregate): class Extent3D (line 53) | class Extent3D(GeoAggregate): class MakeLine (line 56) | class MakeLine(GeoAggregate): class Union (line 59) | class Union(GeoAggregate): FILE: Django-1.5.1/django/contrib/gis/db/models/sql/compiler.py class GeoSQLCompiler (line 15) | class GeoSQLCompiler(compiler.SQLCompiler): method get_columns (line 17) | def get_columns(self, with_aliases=False): method get_default_columns (line 103) | def get_default_columns(self, with_aliases=False, col_aliases=None, method resolve_columns (line 171) | def resolve_columns(self, row, fields=()): method get_extra_select_format (line 204) | def get_extra_select_format(self, alias): method get_field_select (line 210) | def get_field_select(self, field, alias=None, column=None): method get_select_format (line 226) | def get_select_format(self, fld): method _field_column (line 253) | def _field_column(self, field, table_alias=None, column=None): class SQLInsertCompiler (line 266) | class SQLInsertCompiler(compiler.SQLInsertCompiler, GeoSQLCompiler): class SQLDeleteCompiler (line 269) | class SQLDeleteCompiler(compiler.SQLDeleteCompiler, GeoSQLCompiler): class SQLUpdateCompiler (line 272) | class SQLUpdateCompiler(compiler.SQLUpdateCompiler, GeoSQLCompiler): class SQLAggregateCompiler (line 275) | class SQLAggregateCompiler(compiler.SQLAggregateCompiler, GeoSQLCompiler): class SQLDateCompiler (line 278) | class SQLDateCompiler(compiler.SQLDateCompiler, GeoSQLCompiler): method results_iter (line 284) | def results_iter(self): FILE: Django-1.5.1/django/contrib/gis/db/models/sql/conversion.py class BaseField (line 6) | class BaseField(object): method get_internal_type (line 8) | def get_internal_type(self): class AreaField (line 12) | class AreaField(BaseField): method __init__ (line 14) | def __init__(self, area_att): class DistanceField (line 17) | class DistanceField(BaseField): method __init__ (line 19) | def __init__(self, distance_att): class GeomField (line 22) | class GeomField(BaseField): FILE: Django-1.5.1/django/contrib/gis/db/models/sql/query.py class GeoQuery (line 24) | class GeoQuery(sql.Query): method __init__ (line 35) | def __init__(self, model, where=GeoWhereNode): method clone (line 44) | def clone(self, *args, **kwargs): method convert_values (line 53) | def convert_values(self, value, field, connection): method get_aggregation (line 79) | def get_aggregation(self, using): method resolve_aggregate (line 89) | def resolve_aggregate(self, value, aggregate, connection): method _geo_field (line 106) | def _geo_field(self, field_name=None): FILE: Django-1.5.1/django/contrib/gis/db/models/sql/where.py class GeoConstraint (line 7) | class GeoConstraint(Constraint): method __init__ (line 12) | def __init__(self, init_constraint): method process (line 17) | def process(self, lookup_type, value, connection): class GeoWhereNode (line 30) | class GeoWhereNode(WhereNode): method add (line 35) | def add(self, data, connector): method make_atom (line 43) | def make_atom(self, child, qn, connection): method _check_geo_field (line 53) | def _check_geo_field(cls, opts, lookup): FILE: Django-1.5.1/django/contrib/gis/feeds.py class GeoFeedMixin (line 6) | class GeoFeedMixin(object): method georss_coords (line 12) | def georss_coords(self, coords): method add_georss_point (line 20) | def add_georss_point(self, handler, coords, w3c_geo=False): method add_georss_element (line 33) | def add_georss_element(self, handler, item, w3c_geo=False): class GeoRSSFeed (line 81) | class GeoRSSFeed(Rss201rev2Feed, GeoFeedMixin): method rss_attributes (line 82) | def rss_attributes(self): method add_item_elements (line 87) | def add_item_elements(self, handler, item): method add_root_elements (line 91) | def add_root_elements(self, handler): class GeoAtom1Feed (line 95) | class GeoAtom1Feed(Atom1Feed, GeoFeedMixin): method root_attributes (line 96) | def root_attributes(self): method add_item_elements (line 101) | def add_item_elements(self, handler, item): method add_root_elements (line 105) | def add_root_elements(self, handler): class W3CGeoFeed (line 109) | class W3CGeoFeed(Rss201rev2Feed, GeoFeedMixin): method rss_attributes (line 110) | def rss_attributes(self): method add_item_elements (line 115) | def add_item_elements(self, handler, item): method add_root_elements (line 119) | def add_root_elements(self, handler): class Feed (line 124) | class Feed(BaseFeed): method feed_extra_kwargs (line 133) | def feed_extra_kwargs(self, obj): method item_extra_kwargs (line 136) | def item_extra_kwargs(self, item): FILE: Django-1.5.1/django/contrib/gis/forms/fields.py class GeometryField (line 10) | class GeometryField(forms.Field): method __init__ (line 26) | def __init__(self, **kwargs): method to_python (line 34) | def to_python(self, value): method clean (line 43) | def clean(self, value): FILE: Django-1.5.1/django/contrib/gis/gdal/base.py class GDALBase (line 6) | class GDALBase(object): method _get_ptr (line 18) | def _get_ptr(self): method _set_ptr (line 25) | def _set_ptr(self, ptr): FILE: Django-1.5.1/django/contrib/gis/gdal/datasource.py class DataSource (line 56) | class DataSource(GDALBase): method __init__ (line 60) | def __init__(self, ds_input, ds_driver=False, write=False, encoding='u... method __del__ (line 96) | def __del__(self): method __iter__ (line 100) | def __iter__(self): method __getitem__ (line 105) | def __getitem__(self, index): method __len__ (line 118) | def __len__(self): method __str__ (line 122) | def __str__(self): method layer_count (line 127) | def layer_count(self): method name (line 132) | def name(self): FILE: Django-1.5.1/django/contrib/gis/gdal/driver.py class Driver (line 14) | class Driver(GDALBase): method __init__ (line 25) | def __init__(self, dr_input): method __str__ (line 54) | def __str__(self): method _register (line 58) | def _register(self): method driver_count (line 66) | def driver_count(self): FILE: Django-1.5.1/django/contrib/gis/gdal/envelope.py class OGREnvelope (line 19) | class OGREnvelope(Structure): class Envelope (line 27) | class Envelope(object): method __init__ (line 34) | def __init__(self, *args): method __eq__ (line 65) | def __eq__(self, other): method __str__ (line 79) | def __str__(self): method _from_sequence (line 83) | def _from_sequence(self, seq): method expand_to_include (line 91) | def expand_to_include(self, *args): method min_x (line 134) | def min_x(self): method min_y (line 139) | def min_y(self): method max_x (line 144) | def max_x(self): method max_y (line 149) | def max_y(self): method ur (line 154) | def ur(self): method ll (line 159) | def ll(self): method tuple (line 164) | def tuple(self): method wkt (line 169) | def wkt(self): FILE: Django-1.5.1/django/contrib/gis/gdal/error.py class GDALException (line 7) | class GDALException(Exception): pass class OGRException (line 8) | class OGRException(Exception): pass class SRSException (line 9) | class SRSException(Exception): pass class OGRIndexError (line 10) | class OGRIndexError(OGRException, KeyError): function check_err (line 33) | def check_err(code): FILE: Django-1.5.1/django/contrib/gis/gdal/feature.py class Feature (line 18) | class Feature(GDALBase): method __init__ (line 25) | def __init__(self, feat, layer): method __del__ (line 34) | def __del__(self): method __getitem__ (line 38) | def __getitem__(self, index): method __iter__ (line 53) | def __iter__(self): method __len__ (line 58) | def __len__(self): method __str__ (line 62) | def __str__(self): method __eq__ (line 66) | def __eq__(self, other): method encoding (line 72) | def encoding(self): method fid (line 76) | def fid(self): method layer_name (line 81) | def layer_name(self): method num_fields (line 87) | def num_fields(self): method fields (line 92) | def fields(self): method geom (line 98) | def geom(self): method geom_type (line 105) | def geom_type(self): method get (line 110) | def get(self, field): method index (line 119) | def index(self, field_name): FILE: Django-1.5.1/django/contrib/gis/gdal/field.py class Field (line 13) | class Field(GDALBase): method __init__ (line 20) | def __init__(self, feat, index): method __str__ (line 43) | def __str__(self): method as_double (line 48) | def as_double(self): method as_int (line 52) | def as_int(self): method as_string (line 56) | def as_string(self): method as_datetime (line 61) | def as_datetime(self): method name (line 74) | def name(self): method precision (line 80) | def precision(self): method type (line 85) | def type(self): method type_name (line 90) | def type_name(self): method value (line 95) | def value(self): method width (line 101) | def width(self): class OFTInteger (line 106) | class OFTInteger(Field): method value (line 110) | def value(self): method type (line 120) | def type(self): class OFTReal (line 128) | class OFTReal(Field): method value (line 130) | def value(self): class OFTString (line 135) | class OFTString(Field): pass class OFTWideString (line 136) | class OFTWideString(Field): pass class OFTBinary (line 137) | class OFTBinary(Field): pass class OFTDate (line 140) | class OFTDate(Field): method value (line 142) | def value(self): class OFTDateTime (line 150) | class OFTDateTime(Field): method value (line 152) | def value(self): class OFTTime (line 164) | class OFTTime(Field): method value (line 166) | def value(self): class OFTIntegerList (line 175) | class OFTIntegerList(Field): pass class OFTRealList (line 176) | class OFTRealList(Field): pass class OFTStringList (line 177) | class OFTStringList(Field): pass class OFTWideStringList (line 178) | class OFTWideStringList(Field): pass FILE: Django-1.5.1/django/contrib/gis/gdal/geometries.py class OGRGeometry (line 71) | class OGRGeometry(GDALBase): method __init__ (line 74) | def __init__(self, geom_input, srs=None): method __del__ (line 130) | def __del__(self): method __getstate__ (line 135) | def __getstate__(self): method __setstate__ (line 143) | def __setstate__(self, state): method from_bbox (line 151) | def from_bbox(cls, bbox): method __or__ (line 159) | def __or__(self, other): method __and__ (line 164) | def __and__(self, other): method __sub__ (line 169) | def __sub__(self, other): method __xor__ (line 174) | def __xor__(self, other): method __eq__ (line 178) | def __eq__(self, other): method __ne__ (line 185) | def __ne__(self, other): method __str__ (line 189) | def __str__(self): method dimension (line 195) | def dimension(self): method _get_coord_dim (line 199) | def _get_coord_dim(self): method _set_coord_dim (line 211) | def _set_coord_dim(self, dim): method geom_count (line 220) | def geom_count(self): method point_count (line 225) | def point_count(self): method num_points (line 230) | def num_points(self): method num_coords (line 235) | def num_coords(self): method geom_type (line 240) | def geom_type(self): method geom_name (line 245) | def geom_name(self): method area (line 250) | def area(self): method envelope (line 255) | def envelope(self): method extent (line 261) | def extent(self): method _get_srs (line 268) | def _get_srs(self): method _set_srs (line 276) | def _set_srs(self, srs): method _get_srid (line 294) | def _get_srid(self): method _set_srid (line 299) | def _set_srid(self, srid): method geos (line 309) | def geos(self): method gml (line 315) | def gml(self): method hex (line 320) | def hex(self): method json (line 325) | def json(self): method kml (line 333) | def kml(self): method wkb_size (line 338) | def wkb_size(self): method wkb (line 343) | def wkb(self): method wkt (line 357) | def wkt(self): method ewkt (line 362) | def ewkt(self): method clone (line 371) | def clone(self): method close_rings (line 375) | def close_rings(self): method transform (line 384) | def transform(self, coord_trans, clone=False): method transform_to (line 433) | def transform_to(self, srs): method _topology (line 438) | def _topology(self, func, other): method intersects (line 448) | def intersects(self, other): method equals (line 452) | def equals(self, other): method disjoint (line 456) | def disjoint(self, other): method touches (line 460) | def touches(self, other): method crosses (line 464) | def crosses(self, other): method within (line 468) | def within(self, other): method contains (line 472) | def contains(self, other): method overlaps (line 476) | def overlaps(self, other): method _geomgen (line 481) | def _geomgen(self, gen_func, other=None): method boundary (line 489) | def boundary(self): method convex_hull (line 494) | def convex_hull(self): method difference (line 501) | def difference(self, other): method intersection (line 508) | def intersection(self, other): method sym_difference (line 515) | def sym_difference(self, other): method union (line 522) | def union(self, other): class Point (line 530) | class Point(OGRGeometry): method x (line 533) | def x(self): method y (line 538) | def y(self): method z (line 543) | def z(self): method tuple (line 549) | def tuple(self): class LineString (line 557) | class LineString(OGRGeometry): method __getitem__ (line 559) | def __getitem__(self, index): method __iter__ (line 574) | def __iter__(self): method __len__ (line 579) | def __len__(self): method tuple (line 584) | def tuple(self): method _listarr (line 589) | def _listarr(self, func): method x (line 597) | def x(self): method y (line 602) | def y(self): method z (line 607) | def z(self): class LinearRing (line 613) | class LinearRing(LineString): pass class Polygon (line 615) | class Polygon(OGRGeometry): method __len__ (line 617) | def __len__(self): method __iter__ (line 621) | def __iter__(self): method __getitem__ (line 626) | def __getitem__(self, index): method shell (line 635) | def shell(self): method tuple (line 641) | def tuple(self): method point_count (line 647) | def point_count(self): method centroid (line 653) | def centroid(self): class GeometryCollection (line 661) | class GeometryCollection(OGRGeometry): method __getitem__ (line 664) | def __getitem__(self, index): method __iter__ (line 671) | def __iter__(self): method __len__ (line 676) | def __len__(self): method add (line 680) | def add(self, geom): method point_count (line 694) | def point_count(self): method tuple (line 700) | def tuple(self): class MultiPoint (line 706) | class MultiPoint(GeometryCollection): pass class MultiLineString (line 707) | class MultiLineString(GeometryCollection): pass class MultiPolygon (line 708) | class MultiPolygon(GeometryCollection): pass FILE: Django-1.5.1/django/contrib/gis/gdal/geomtype.py class OGRGeomType (line 6) | class OGRGeomType(object): method __init__ (line 33) | def __init__(self, type_input): method __str__ (line 53) | def __str__(self): method __eq__ (line 57) | def __eq__(self, other): method __ne__ (line 71) | def __ne__(self, other): method name (line 75) | def name(self): method django (line 80) | def django(self): FILE: Django-1.5.1/django/contrib/gis/gdal/layer.py class Layer (line 25) | class Layer(GDALBase): method __init__ (line 29) | def __init__(self, layer_ptr, ds): method __getitem__ (line 44) | def __getitem__(self, index): method __iter__ (line 59) | def __iter__(self): method __len__ (line 66) | def __len__(self): method __str__ (line 70) | def __str__(self): method _make_feature (line 74) | def _make_feature(self, feat_id): method extent (line 97) | def extent(self): method name (line 104) | def name(self): method num_feat (line 110) | def num_feat(self, force=1): method num_fields (line 115) | def num_fields(self): method geom_type (line 120) | def geom_type(self): method srs (line 125) | def srs(self): method fields (line 134) | def fields(self): method field_types (line 144) | def field_types(self): method field_widths (line 155) | def field_widths(self): method field_precisions (line 161) | def field_precisions(self): method _get_spatial_filter (line 166) | def _get_spatial_filter(self): method _set_spatial_filter (line 172) | def _set_spatial_filter(self, filter): method get_fields (line 190) | def get_fields(self, field_name): method get_geoms (line 199) | def get_geoms(self, geos=False): method test_capability (line 210) | def test_capability(self, capability): FILE: Django-1.5.1/django/contrib/gis/gdal/libgdal.py function std_call (line 57) | def std_call(func): function gdal_version (line 74) | def gdal_version(): function gdal_full_version (line 78) | def gdal_full_version(): function gdal_version_info (line 83) | def gdal_version_info(): function err_handler (line 98) | def err_handler(error_class, error_number, message): function function (line 102) | def function(name, args, restype): FILE: Django-1.5.1/django/contrib/gis/gdal/prototypes/errcheck.py function arg_byref (line 12) | def arg_byref(args, offset=-1): function ptr_byref (line 16) | def ptr_byref(args, offset=-1): function check_bool (line 20) | def check_bool(result, func, cargs): function check_const_string (line 26) | def check_const_string(result, func, cargs, offset=None): function check_string (line 37) | def check_string(result, func, cargs, offset=-1, str_result=False): function check_envelope (line 65) | def check_envelope(result, func, cargs, offset=-1): function check_geom (line 71) | def check_geom(result, func, cargs): function check_geom_offset (line 81) | def check_geom_offset(result, func, cargs, offset=-1): function check_srs (line 88) | def check_srs(result, func, cargs): function check_arg_errcode (line 96) | def check_arg_errcode(result, func, cargs): function check_errcode (line 104) | def check_errcode(result, func, cargs): function check_pointer (line 111) | def check_pointer(result, func, cargs): function check_str_arg (line 120) | def check_str_arg(result, func, cargs): FILE: Django-1.5.1/django/contrib/gis/gdal/prototypes/generation.py class gdal_char_p (line 11) | class gdal_char_p(c_char_p): function double_output (line 14) | def double_output(func, argtypes, errcheck=False, strarg=False): function geom_output (line 22) | def geom_output(func, argtypes, offset=None): function int_output (line 43) | def int_output(func, argtypes): function srs_output (line 49) | def srs_output(func, argtypes): function const_string_output (line 60) | def const_string_output(func, argtypes, offset=None, decoding=None): function string_output (line 76) | def string_output(func, argtypes, offset=-1, str_result=False, decoding=... function void_output (line 104) | def void_output(func, argtypes, errcheck=True): function voidptr_output (line 120) | def voidptr_output(func, argtypes): FILE: Django-1.5.1/django/contrib/gis/gdal/prototypes/geom.py function env_func (line 9) | def env_func(f, argtypes): function pnt_func (line 16) | def pnt_func(f): function topology_func (line 20) | def topology_func(f): FILE: Django-1.5.1/django/contrib/gis/gdal/prototypes/srs.py function srs_double (line 7) | def srs_double(f): function units_func (line 14) | def units_func(f): FILE: Django-1.5.1/django/contrib/gis/gdal/srs.py class SpatialReference (line 41) | class SpatialReference(GDALBase): method __init__ (line 49) | def __init__(self, srs_input=''): method __del__ (line 98) | def __del__(self): method __getitem__ (line 102) | def __getitem__(self, target): method __str__ (line 130) | def __str__(self): method attr_value (line 135) | def attr_value(self, target, index=0): method auth_name (line 144) | def auth_name(self, target): method auth_code (line 148) | def auth_code(self, target): method clone (line 152) | def clone(self): method from_esri (line 156) | def from_esri(self): method identify_epsg (line 160) | def identify_epsg(self): method to_esri (line 167) | def to_esri(self): method validate (line 171) | def validate(self): method name (line 177) | def name(self): method srid (line 185) | def srid(self): method linear_name (line 194) | def linear_name(self): method linear_units (line 200) | def linear_units(self): method angular_name (line 206) | def angular_name(self): method angular_units (line 212) | def angular_units(self): method units (line 218) | def units(self): method ellipsoid (line 235) | def ellipsoid(self): method semi_major (line 243) | def semi_major(self): method semi_minor (line 248) | def semi_minor(self): method inverse_flattening (line 253) | def inverse_flattening(self): method geographic (line 259) | def geographic(self): method local (line 267) | def local(self): method projected (line 272) | def projected(self): method import_epsg (line 280) | def import_epsg(self, epsg): method import_proj (line 284) | def import_proj(self, proj): method import_user_input (line 288) | def import_user_input(self, user_input): method import_wkt (line 292) | def import_wkt(self, wkt): method import_xml (line 296) | def import_xml(self, xml): method wkt (line 302) | def wkt(self): method pretty_wkt (line 307) | def pretty_wkt(self, simplify=0): method proj (line 312) | def proj(self): method proj4 (line 317) | def proj4(self): method xml (line 322) | def xml(self, dialect=''): class CoordTransform (line 326) | class CoordTransform(GDALBase): method __init__ (line 329) | def __init__(self, source, target): method __del__ (line 337) | def __del__(self): method __str__ (line 341) | def __str__(self): FILE: Django-1.5.1/django/contrib/gis/gdal/tests/__init__.py function suite (line 19) | def suite(): function run (line 26) | def run(verbosity=1): FILE: Django-1.5.1/django/contrib/gis/gdal/tests/test_driver.py class DriverTest (line 15) | class DriverTest(unittest.TestCase): method test01_valid_driver (line 17) | def test01_valid_driver(self): method test02_invalid_driver (line 23) | def test02_invalid_driver(self): method test03_aliases (line 28) | def test03_aliases(self): function suite (line 34) | def suite(): function run (line 39) | def run(verbosity=2): FILE: Django-1.5.1/django/contrib/gis/gdal/tests/test_ds.py class DataSourceTest (line 30) | class DataSourceTest(unittest.TestCase): method test01_valid_shp (line 32) | def test01_valid_shp(self): method test02_invalid_shp (line 56) | def test02_invalid_shp(self): method test03a_layers (line 61) | def test03a_layers(self): method test03b_layer_slice (line 112) | def test03b_layer_slice(self): method test03c_layer_references (line 127) | def test03c_layer_references(self): method test04_features (line 149) | def test04_features(self): method test05_geometries (line 173) | def test05_geometries(self): method test06_spatial_filter (line 195) | def test06_spatial_filter(self): method test07_integer_overflow (line 230) | def test07_integer_overflow(self): function suite (line 240) | def suite(): function run (line 245) | def run(verbosity=2): FILE: Django-1.5.1/django/contrib/gis/gdal/tests/test_envelope.py class TestPoint (line 5) | class TestPoint(object): method __init__ (line 6) | def __init__(self, x, y): class EnvelopeTest (line 10) | class EnvelopeTest(unittest.TestCase): method setUp (line 12) | def setUp(self): method test01_init (line 15) | def test01_init(self): method test02_properties (line 33) | def test02_properties(self): method test03_equivalence (line 46) | def test03_equivalence(self): method test04_expand_to_include_pt_2_params (line 53) | def test04_expand_to_include_pt_2_params(self): method test05_expand_to_include_pt_2_tuple (line 60) | def test05_expand_to_include_pt_2_tuple(self): method test06_expand_to_include_extent_4_params (line 67) | def test06_expand_to_include_extent_4_params(self): method test06_expand_to_include_extent_4_tuple (line 72) | def test06_expand_to_include_extent_4_tuple(self): method test07_expand_to_include_envelope (line 77) | def test07_expand_to_include_envelope(self): method test08_expand_to_include_point (line 82) | def test08_expand_to_include_point(self): function suite (line 89) | def suite(): function run (line 94) | def run(verbosity=2): FILE: Django-1.5.1/django/contrib/gis/gdal/tests/test_geom.py class OGRGeomTest (line 14) | class OGRGeomTest(unittest.TestCase, TestDataMixin): method test00a_geomtype (line 17) | def test00a_geomtype(self): method test00b_geomtype_25d (line 56) | def test00b_geomtype_25d(self): method test01a_wkt (line 63) | def test01a_wkt(self): method test01a_ewkt (line 69) | def test01a_ewkt(self): method test01b_gml (line 80) | def test01b_gml(self): method test01c_hex (line 91) | def test01c_hex(self): method test01d_wkb (line 100) | def test01d_wkb(self): method test01e_json (line 110) | def test01e_json(self): method test02_points (line 120) | def test02_points(self): method test03_multipoints (line 133) | def test03_multipoints(self): method test04_linestring (line 149) | def test04_linestring(self): method test05_multilinestring (line 169) | def test05_multilinestring(self): method test06_linearring (line 186) | def test06_linearring(self): method test07a_polygons (line 198) | def test07a_polygons(self): method test07b_closepolygons (line 233) | def test07b_closepolygons(self): method test08_multipolygons (line 245) | def test08_multipolygons(self): method test09a_srs (line 261) | def test09a_srs(self): method test09b_srs_transform (line 312) | def test09b_srs_transform(self): method test09c_transform_dim (line 336) | def test09c_transform_dim(self): method test10_difference (line 348) | def test10_difference(self): method test11_intersection (line 360) | def test11_intersection(self): method test12_symdifference (line 373) | def test12_symdifference(self): method test13_union (line 385) | def test13_union(self): method test14_add (line 397) | def test14_add(self): method test15_extent (line 418) | def test15_extent(self): method test16_25D (line 431) | def test16_25D(self): method test17_pickle (line 442) | def test17_pickle(self): method test18_ogrgeometry_transform_workaround (line 450) | def test18_ogrgeometry_transform_workaround(self): method test19_equivalence_regression (line 475) | def test19_equivalence_regression(self): function suite (line 480) | def suite(): function run (line 485) | def run(verbosity=2): FILE: Django-1.5.1/django/contrib/gis/gdal/tests/test_srs.py class TestSRS (line 5) | class TestSRS: method __init__ (line 6) | def __init__(self, wkt, **kwargs): class SpatialRefTest (line 49) | class SpatialRefTest(unittest.TestCase): method test01_wkt (line 51) | def test01_wkt(self): method test02_bad_wkt (line 56) | def test02_bad_wkt(self): method test03_get_wkt (line 67) | def test03_get_wkt(self): method test04_proj (line 73) | def test04_proj(self): method test05_epsg (line 81) | def test05_epsg(self): method test07_boolean_props (line 93) | def test07_boolean_props(self): method test08_angular_linear (line 100) | def test08_angular_linear(self): method test09_authority (line 109) | def test09_authority(self): method test10_attributes (line 118) | def test10_attributes(self): method test11_wellknown (line 127) | def test11_wellknown(self): method test12_coordtransform (line 141) | def test12_coordtransform(self): method test13_attr_value (line 148) | def test13_attr_value(self): function suite (line 159) | def suite(): function run (line 164) | def run(verbosity=2): FILE: Django-1.5.1/django/contrib/gis/geoip/base.py class GeoIPException (line 20) | class GeoIPException(Exception): pass class GeoIP (line 22) | class GeoIP(object): method __init__ (line 57) | def __init__(self, path=None, cache=0, country=None, city=None): method __del__ (line 126) | def __del__(self): method _check_query (line 131) | def _check_query(self, query, country=False, city=False, city_or_count... method city (line 151) | def city(self, query): method country_code (line 165) | def country_code(self, query): method country_name (line 176) | def country_name(self, query): method country (line 187) | def country(self, query): method coords (line 199) | def coords(self, query, ordering=('longitude', 'latitude')): method lon_lat (line 204) | def lon_lat(self, query): method lat_lon (line 208) | def lat_lon(self, query): method geos (line 212) | def geos(self, query): method country_info (line 223) | def country_info(self): method city_info (line 232) | def city_info(self): method info (line 241) | def info(self): method open (line 250) | def open(cls, full_path, cache): method _rec_by_arg (line 253) | def _rec_by_arg(self, arg): FILE: Django-1.5.1/django/contrib/gis/geoip/prototypes.py class GeoIPRecord (line 6) | class GeoIPRecord(Structure): class GeoIPTag (line 29) | class GeoIPTag(Structure): pass function check_record (line 50) | def check_record(result, func, cargs): function record_output (line 69) | def record_output(func): class geoip_char_p (line 86) | class geoip_char_p(c_char_p): function check_string (line 89) | def check_string(result, func, cargs): function string_output (line 102) | def string_output(func): FILE: Django-1.5.1/django/contrib/gis/geoip/tests.py class GeoIPTest (line 16) | class GeoIPTest(unittest.TestCase): method test01_init (line 18) | def test01_init(self): method test02_bad_query (line 47) | def test02_bad_query(self): method test03_country (line 58) | def test03_country(self): method test04_city (line 73) | def test04_city(self): method test05_unicode_response (line 103) | def test05_unicode_response(self): method test06_unicode_query (line 109) | def test06_unicode_query(self): function suite (line 116) | def suite(): function run (line 121) | def run(verbosity=1): FILE: Django-1.5.1/django/contrib/gis/geometry/test_data.py function tuplize (line 20) | def tuplize(seq): function strconvert (line 27) | def strconvert(d): function get_ds_file (line 32) | def get_ds_file(name, ext): class TestObj (line 39) | class TestObj(object): method __init__ (line 43) | def __init__(self, **kwargs): class TestDS (line 48) | class TestDS(TestObj): method __init__ (line 52) | def __init__(self, name, **kwargs): class TestGeom (line 59) | class TestGeom(TestObj): method __init__ (line 64) | def __init__(self, **kwargs): class TestGeomSet (line 84) | class TestGeomSet(object): method __init__ (line 88) | def __init__(self, **kwargs): class TestDataMixin (line 93) | class TestDataMixin(object): method geometries (line 99) | def geometries(self): FILE: Django-1.5.1/django/contrib/gis/geos/base.py class GDALInfo (line 11) | class GDALInfo(object): class GEOSBase (line 21) | class GEOSBase(object): method _get_ptr (line 33) | def _get_ptr(self): method _set_ptr (line 40) | def _set_ptr(self, ptr): FILE: Django-1.5.1/django/contrib/gis/geos/collections.py class GeometryCollection (line 15) | class GeometryCollection(GEOSGeometry): method __init__ (line 18) | def __init__(self, *args, **kwargs): method __iter__ (line 43) | def __iter__(self): method __len__ (line 48) | def __len__(self): method _create_collection (line 53) | def _create_collection(self, length, items): method _get_single_internal (line 63) | def _get_single_internal(self, index): method _get_single_external (line 66) | def _get_single_external(self, index): method _set_list (line 71) | def _set_list(self, length, items): method kml (line 83) | def kml(self): method tuple (line 88) | def tuple(self): class MultiPoint (line 94) | class MultiPoint(GeometryCollection): class MultiLineString (line 98) | class MultiLineString(GeometryCollection): method merged (line 103) | def merged(self): class MultiPolygon (line 110) | class MultiPolygon(GeometryCollection): method cascaded_union (line 115) | def cascaded_union(self): FILE: Django-1.5.1/django/contrib/gis/geos/coordseq.py class GEOSCoordSeq (line 13) | class GEOSCoordSeq(GEOSBase): method __init__ (line 19) | def __init__(self, ptr, z=False): method __iter__ (line 26) | def __iter__(self): method __len__ (line 31) | def __len__(self): method __str__ (line 35) | def __str__(self): method __getitem__ (line 39) | def __getitem__(self, index): method __setitem__ (line 46) | def __setitem__(self, index, value): method _checkindex (line 70) | def _checkindex(self, index): method _checkdim (line 76) | def _checkdim(self, dim): method getOrdinate (line 82) | def getOrdinate(self, dimension, index): method setOrdinate (line 88) | def setOrdinate(self, dimension, index, value): method getX (line 94) | def getX(self, index): method setX (line 98) | def setX(self, index, value): method getY (line 102) | def getY(self, index): method setY (line 106) | def setY(self, index, value): method getZ (line 110) | def getZ(self, index): method setZ (line 114) | def setZ(self, index, value): method size (line 120) | def size(self): method dims (line 125) | def dims(self): method hasz (line 130) | def hasz(self): method clone (line 138) | def clone(self): method kml (line 143) | def kml(self): method tuple (line 153) | def tuple(self): FILE: Django-1.5.1/django/contrib/gis/geos/error.py class GEOSException (line 6) | class GEOSException(Exception): class GEOSIndexError (line 10) | class GEOSIndexError(GEOSException, KeyError): FILE: Django-1.5.1/django/contrib/gis/geos/factory.py function fromfile (line 7) | def fromfile(file_h): function fromstr (line 33) | def fromstr(string, **kwargs): FILE: Django-1.5.1/django/contrib/gis/geos/geometry.py class GEOSGeometry (line 37) | class GEOSGeometry(GEOSBase, ListMixin): method __init__ (line 47) | def __init__(self, geo_input, srid=None): method _post_init (line 99) | def _post_init(self, srid): method __del__ (line 111) | def __del__(self): method __copy__ (line 118) | def __copy__(self): method __deepcopy__ (line 125) | def __deepcopy__(self, memodict): method __str__ (line 133) | def __str__(self): method __repr__ (line 137) | def __repr__(self): method __getstate__ (line 142) | def __getstate__(self): method __setstate__ (line 147) | def __setstate__(self, state): method __eq__ (line 156) | def __eq__(self, other): method __ne__ (line 168) | def __ne__(self, other): method __or__ (line 176) | def __or__(self, other): method __and__ (line 181) | def __and__(self, other): method __sub__ (line 186) | def __sub__(self, other): method __xor__ (line 191) | def __xor__(self, other): method has_cs (line 197) | def has_cs(self): method _set_cs (line 205) | def _set_cs(self): method coord_seq (line 213) | def coord_seq(self): method geom_type (line 220) | def geom_type(self): method geom_typeid (line 225) | def geom_typeid(self): method num_geom (line 230) | def num_geom(self): method num_coords (line 235) | def num_coords(self): method num_points (line 240) | def num_points(self): method dims (line 245) | def dims(self): method normalize (line 249) | def normalize(self): method empty (line 255) | def empty(self): method hasz (line 263) | def hasz(self): method ring (line 268) | def ring(self): method simple (line 273) | def simple(self): method valid (line 278) | def valid(self): method valid_reason (line 283) | def valid_reason(self): method contains (line 292) | def contains(self, other): method crosses (line 296) | def crosses(self, other): method disjoint (line 304) | def disjoint(self, other): method equals (line 311) | def equals(self, other): method equals_exact (line 318) | def equals_exact(self, other, tolerance=0): method intersects (line 325) | def intersects(self, other): method overlaps (line 329) | def overlaps(self, other): method relate_pattern (line 336) | def relate_pattern(self, other, pattern): method touches (line 345) | def touches(self, other): method within (line 352) | def within(self, other): method get_srid (line 360) | def get_srid(self): method set_srid (line 366) | def set_srid(self, srid): method ewkt (line 373) | def ewkt(self): method wkt (line 383) | def wkt(self): method hex (line 388) | def hex(self): method hexewkb (line 399) | def hexewkb(self): method json (line 411) | def json(self): method wkb (line 422) | def wkb(self): method ewkb (line 431) | def ewkb(self): method kml (line 443) | def kml(self): method prepared (line 449) | def prepared(self): method ogr (line 461) | def ogr(self): method srs (line 472) | def srs(self): method crs (line 483) | def crs(self): method transform (line 487) | def transform(self, ct, clone=False): method _topology (line 529) | def _topology(self, gptr): method boundary (line 534) | def boundary(self): method buffer (line 538) | def buffer(self, width, quadsegs=8): method centroid (line 549) | def centroid(self): method convex_hull (line 558) | def convex_hull(self): method difference (line 565) | def difference(self, other): method envelope (line 573) | def envelope(self): method interpolate (line 577) | def interpolate(self, distance): method interpolate_normalized (line 584) | def interpolate_normalized(self, distance): method intersection (line 591) | def intersection(self, other): method point_on_surface (line 596) | def point_on_surface(self): method project (line 600) | def project(self, point): method project_normalized (line 609) | def project_normalized(self, point): method relate (line 618) | def relate(self, other): method simplify (line 622) | def simplify(self, tolerance=0.0, preserve_topology=False): method sym_difference (line 639) | def sym_difference(self, other): method union (line 646) | def union(self, other): method area (line 652) | def area(self): method distance (line 656) | def distance(self, other): method extent (line 667) | def extent(self): method length (line 682) | def length(self): method clone (line 689) | def clone(self): FILE: Django-1.5.1/django/contrib/gis/geos/io.py class WKBReader (line 10) | class WKBReader(_WKBReader): method read (line 11) | def read(self, wkb): class WKTReader (line 15) | class WKTReader(_WKTReader): method read (line 16) | def read(self, wkt): FILE: Django-1.5.1/django/contrib/gis/geos/libgeos.py function notice_h (line 64) | def notice_h(fmt, lst): function error_h (line 74) | def error_h(fmt, lst): class GEOSGeom_t (line 86) | class GEOSGeom_t(Structure): pass class GEOSPrepGeom_t (line 87) | class GEOSPrepGeom_t(Structure): pass class GEOSCoordSeq_t (line 88) | class GEOSCoordSeq_t(Structure): pass class GEOSContextHandle_t (line 89) | class GEOSContextHandle_t(Structure): pass function get_pointer_arr (line 99) | def get_pointer_arr(n): function geos_version_info (line 116) | def geos_version_info(): FILE: Django-1.5.1/django/contrib/gis/geos/linestring.py class LineString (line 9) | class LineString(GEOSGeometry): method __init__ (line 14) | def __init__(self, *args, **kwargs): method __iter__ (line 69) | def __iter__(self): method __len__ (line 74) | def __len__(self): method _get_single_external (line 78) | def _get_single_external(self, index): method _set_list (line 83) | def _set_list(self, length, items): method _set_single (line 101) | def _set_single(self, index, value): method _checkdim (line 105) | def _checkdim(self, dim): method tuple (line 110) | def tuple(self): method _listarr (line 115) | def _listarr(self, func): method array (line 125) | def array(self): method merged (line 130) | def merged(self): method x (line 135) | def x(self): method y (line 140) | def y(self): method z (line 145) | def z(self): class LinearRing (line 151) | class LinearRing(LineString): FILE: Django-1.5.1/django/contrib/gis/geos/mutable_list.py class ListMixin (line 16) | class ListMixin(object): method __init__ (line 67) | def __init__(self, *args, **kwargs): method __getitem__ (line 77) | def __getitem__(self, index): method __delitem__ (line 85) | def __delitem__(self, index): method __setitem__ (line 105) | def __setitem__(self, index, val): method __iter__ (line 114) | def __iter__(self): method __add__ (line 120) | def __add__(self, other): method __radd__ (line 124) | def __radd__(self, other): method __iadd__ (line 128) | def __iadd__(self, other): method __mul__ (line 133) | def __mul__(self, n): method __rmul__ (line 137) | def __rmul__(self, n): method __imul__ (line 141) | def __imul__(self, n): method __eq__ (line 151) | def __eq__(self, other): method __lt__ (line 163) | def __lt__(self, other): method count (line 179) | def count(self, val): method index (line 186) | def index(self, val): method append (line 193) | def append(self, val): method extend (line 197) | def extend(self, vals): method insert (line 201) | def insert(self, index, val): method pop (line 207) | def pop(self, index=-1): method remove (line 213) | def remove(self, val): method reverse (line 217) | def reverse(self): method sort (line 221) | def sort(self, cmp=None, key=None, reverse=False): method _rebuild (line 236) | def _rebuild(self, newLen, newItems): method _set_single_rebuild (line 244) | def _set_single_rebuild(self, index, value): method _checkindex (line 247) | def _checkindex(self, index, correct=True): method _check_allowed (line 255) | def _check_allowed(self, items): method _set_slice (line 260) | def _set_slice(self, index, values): method _assign_extended_slice_rebuild (line 280) | def _assign_extended_slice_rebuild(self, start, stop, step, valueList): method _assign_extended_slice (line 301) | def _assign_extended_slice(self, start, stop, step, valueList): method _assign_simple_slice (line 313) | def _assign_simple_slice(self, start, stop, valueList): FILE: Django-1.5.1/django/contrib/gis/geos/point.py class Point (line 8) | class Point(GEOSGeometry): method __init__ (line 12) | def __init__(self, x, y=None, z=None, srid=None): method _create_point (line 42) | def _create_point(self, ndim, coords): method _set_list (line 57) | def _set_list(self, length, items): method _set_single (line 67) | def _set_single(self, index, value): method __iter__ (line 70) | def __iter__(self): method __len__ (line 75) | def __len__(self): method _get_single_external (line 81) | def _get_single_external(self, index): method get_x (line 91) | def get_x(self): method set_x (line 95) | def set_x(self, value): method get_y (line 99) | def get_y(self): method set_y (line 103) | def set_y(self, value): method get_z (line 107) | def get_z(self): method set_z (line 114) | def set_z(self, value): method get_coords (line 127) | def get_coords(self): method set_coords (line 131) | def set_coords(self, tup): FILE: Django-1.5.1/django/contrib/gis/geos/polygon.py class Polygon (line 9) | class Polygon(GEOSGeometry): method __init__ (line 12) | def __init__(self, *args, **kwargs): method __iter__ (line 47) | def __iter__(self): method __len__ (line 52) | def __len__(self): method from_bbox (line 57) | def from_bbox(cls, bbox): method _create_polygon (line 67) | def _create_polygon(self, length, items): method _clone (line 92) | def _clone(self, g): method _construct_ring (line 98) | def _construct_ring(self, param, msg='Parameter must be a sequence of ... method _set_list (line 107) | def _set_list(self, length, items): method _get_single_internal (line 116) | def _get_single_internal(self, index): method _get_single_external (line 134) | def _get_single_external(self, index): method num_interior_rings (line 142) | def num_interior_rings(self): method _get_ext_ring (line 147) | def _get_ext_ring(self): method _set_ext_ring (line 151) | def _set_ext_ring(self, ring): method tuple (line 160) | def tuple(self): method kml (line 166) | def kml(self): FILE: Django-1.5.1/django/contrib/gis/geos/prepared.py class PreparedGeometry (line 5) | class PreparedGeometry(GEOSBase): method __init__ (line 13) | def __init__(self, geom): method __del__ (line 17) | def __del__(self): method contains (line 20) | def contains(self, other): method contains_properly (line 23) | def contains_properly(self, other): method covers (line 26) | def covers(self, other): method intersects (line 29) | def intersects(self, other): FILE: Django-1.5.1/django/contrib/gis/geos/prototypes/coordseq.py function check_cs_ptr (line 7) | def check_cs_ptr(result, func, cargs): function check_cs_op (line 13) | def check_cs_op(result, func, cargs): function check_cs_get (line 20) | def check_cs_get(result, func, cargs): function cs_int (line 27) | def cs_int(func): function cs_operation (line 34) | def cs_operation(func, ordinate=False, get=False): function cs_output (line 53) | def cs_output(func, argtypes): FILE: Django-1.5.1/django/contrib/gis/geos/prototypes/errcheck.py function last_arg_byref (line 29) | def last_arg_byref(args): function check_dbl (line 33) | def check_dbl(result, func, cargs): function check_geom (line 40) | def check_geom(result, func, cargs): function check_minus_one (line 46) | def check_minus_one(result, func, cargs): function check_predicate (line 53) | def check_predicate(result, func, cargs): function check_sized_string (line 61) | def check_sized_string(result, func, cargs): function check_string (line 77) | def check_string(result, func, cargs): function check_zero (line 90) | def check_zero(result, func, cargs): FILE: Django-1.5.1/django/contrib/gis/geos/prototypes/geom.py class geos_char_p (line 17) | class geos_char_p(c_char_p): function bin_constructor (line 21) | def bin_constructor(func): function bin_output (line 29) | def bin_output(func): function geom_output (line 36) | def geom_output(func, argtypes): function geom_index (line 43) | def geom_index(func): function int_from_geom (line 47) | def int_from_geom(func, zero=False): function string_from_geom (line 57) | def string_from_geom(func): FILE: Django-1.5.1/django/contrib/gis/geos/prototypes/io.py class WKTReader_st (line 14) | class WKTReader_st(Structure): pass class WKTWriter_st (line 15) | class WKTWriter_st(Structure): pass class WKBReader_st (line 16) | class WKBReader_st(Structure): pass class WKBWriter_st (line 17) | class WKBWriter_st(Structure): pass function wkb_read_func (line 55) | def wkb_read_func(func): function wkb_write_func (line 77) | def wkb_write_func(func): function wkb_writer_get (line 87) | def wkb_writer_get(func, restype=c_int): function wkb_writer_set (line 92) | def wkb_writer_set(func, argtype=c_int): class IOBase (line 104) | class IOBase(GEOSBase): method __init__ (line 106) | def __init__(self): method __del__ (line 110) | def __del__(self): class _WKTReader (line 119) | class _WKTReader(IOBase): method read (line 124) | def read(self, wkt): class _WKBReader (line 129) | class _WKBReader(IOBase): method read (line 134) | def read(self, wkb): class WKTWriter (line 145) | class WKTWriter(IOBase): method write (line 150) | def write(self, geom): class WKBWriter (line 154) | class WKBWriter(IOBase): method write (line 159) | def write(self, geom): method write_hex (line 163) | def write_hex(self, geom): method _get_byteorder (line 170) | def _get_byteorder(self): method _set_byteorder (line 173) | def _set_byteorder(self, order): method _get_outdim (line 180) | def _get_outdim(self): method _set_outdim (line 183) | def _set_outdim(self, new_dim): method _get_include_srid (line 190) | def _get_include_srid(self): method _set_include_srid (line 193) | def _set_include_srid(self, include): class ThreadLocalIO (line 204) | class ThreadLocalIO(threading.local): function wkt_r (line 215) | def wkt_r(): function wkt_w (line 220) | def wkt_w(): function wkb_r (line 225) | def wkb_r(): function wkb_w (line 230) | def wkb_w(dim=2): function ewkb_w (line 236) | def ewkb_w(dim=2): FILE: Django-1.5.1/django/contrib/gis/geos/prototypes/misc.py function dbl_from_geom (line 15) | def dbl_from_geom(func, num_geom=1): FILE: Django-1.5.1/django/contrib/gis/geos/prototypes/predicates.py function binary_predicate (line 11) | def binary_predicate(func, *args): function unary_predicate (line 20) | def unary_predicate(func): FILE: Django-1.5.1/django/contrib/gis/geos/prototypes/prepared.py function prepared_predicate (line 16) | def prepared_predicate(func): FILE: Django-1.5.1/django/contrib/gis/geos/prototypes/threadsafe.py class GEOSContextHandle (line 4) | class GEOSContextHandle(object): method __init__ (line 8) | def __init__(self): method __del__ (line 13) | def __del__(self): class GEOSContext (line 18) | class GEOSContext(threading.local): class GEOSFunc (line 23) | class GEOSFunc(object): method __init__ (line 28) | def __init__(self, func_name): method __call__ (line 42) | def __call__(self, *args): method __str__ (line 53) | def __str__(self): method _get_argtypes (line 57) | def _get_argtypes(self): method _set_argtypes (line 60) | def _set_argtypes(self, argtypes): method _get_restype (line 71) | def _get_restype(self): method _set_restype (line 74) | def _set_restype(self, restype): method _get_errcheck (line 80) | def _get_errcheck(self): method _set_errcheck (line 83) | def _set_errcheck(self, errcheck): FILE: Django-1.5.1/django/contrib/gis/geos/prototypes/topology.py function topology (line 16) | def topology(func, *args, **kwargs): FILE: Django-1.5.1/django/contrib/gis/geos/tests/__init__.py function suite (line 16) | def suite(): function run (line 23) | def run(verbosity=1): FILE: Django-1.5.1/django/contrib/gis/geos/tests/test_geos.py class GEOSTest (line 23) | class GEOSTest(unittest.TestCase, TestDataMixin): method null_srid (line 26) | def null_srid(self): method test_base (line 37) | def test_base(self): method test_wkt (line 79) | def test_wkt(self): method test_hex (line 85) | def test_hex(self): method test_hexewkb (line 91) | def test_hexewkb(self): method test_kml (line 140) | def test_kml(self): method test_errors (line 147) | def test_errors(self): method test_wkb (line 165) | def test_wkb(self): method test_create_hex (line 172) | def test_create_hex(self): method test_create_wkb (line 180) | def test_create_wkb(self): method test_ewkt (line 189) | def test_ewkt(self): method test_json (line 201) | def test_json(self): method test_fromfile (line 211) | def test_fromfile(self): method test_eq (line 227) | def test_eq(self): method test_points (line 242) | def test_points(self): method test_multipoints (line 297) | def test_multipoints(self): method test_linestring (line 316) | def test_linestring(self): method test_multilinestring (line 342) | def test_multilinestring(self): method test_linearring (line 366) | def test_linearring(self): method test_polygons_from_bbox (line 382) | def test_polygons_from_bbox(self): method test_polygons (line 395) | def test_polygons(self): method test_polygon_comparison (line 454) | def test_polygon_comparison(self): method test_multipolygons (line 469) | def test_multipolygons(self): method test_memory_hijinks (line 489) | def test_memory_hijinks(self): method test_coord_seq (line 512) | def test_coord_seq(self): method test_relate_pattern (line 539) | def test_relate_pattern(self): method test_intersection (line 549) | def test_intersection(self): method test_union (line 562) | def test_union(self): method test_difference (line 574) | def test_difference(self): method test_symdifference (line 586) | def test_symdifference(self): method test_buffer (line 598) | def test_buffer(self): method test_srid (line 626) | def test_srid(self): method test_mutable_geometries (line 664) | def test_mutable_geometries(self): method test_threed (line 728) | def test_threed(self): method test_distance (line 744) | def test_distance(self): method test_length (line 762) | def test_length(self): method test_emptyCollections (line 780) | def test_emptyCollections(self): method test_collections_of_collections (line 818) | def test_collections_of_collections(self): method test_gdal (line 838) | def test_gdal(self): method test_copy (line 855) | def test_copy(self): method test_transform (line 865) | def test_transform(self): method test_transform_3d (line 890) | def test_transform_3d(self): method test_transform_noop (line 898) | def test_transform_noop(self): method test_transform_nosrid (line 933) | def test_transform_nosrid(self): method test_transform_nogdal (line 948) | def test_transform_nogdal(self): method test_extent (line 962) | def test_extent(self): method test_pickle (line 978) | def test_pickle(self): method test_prepared (line 1003) | def test_prepared(self): method test_line_merge (line 1018) | def test_line_merge(self): method test_valid_reason (line 1030) | def test_valid_reason(self): method test_linearref (line 1045) | def test_linearref(self): method test_geos_version (line 1065) | def test_geos_version(self): function suite (line 1079) | def suite(): function run (line 1084) | def run(verbosity=2): FILE: Django-1.5.1/django/contrib/gis/geos/tests/test_geos_mutation.py function getItem (line 9) | def getItem(o,i): return o[i] function delItem (line 10) | def delItem(o,i): del o[i] function setItem (line 11) | def setItem(o,i,v): o[i] = v function api_get_distance (line 13) | def api_get_distance(x): return x.distance(Point(-200,-200)) function api_get_buffer (line 14) | def api_get_buffer(x): return x.buffer(10) function api_get_geom_typeid (line 15) | def api_get_geom_typeid(x): return x.geom_typeid function api_get_num_coords (line 16) | def api_get_num_coords(x): return x.num_coords function api_get_centroid (line 17) | def api_get_centroid(x): return x.centroid function api_get_empty (line 18) | def api_get_empty(x): return x.empty function api_get_valid (line 19) | def api_get_valid(x): return x.valid function api_get_simple (line 20) | def api_get_simple(x): return x.simple function api_get_ring (line 21) | def api_get_ring(x): return x.ring function api_get_boundary (line 22) | def api_get_boundary(x): return x.boundary function api_get_convex_hull (line 23) | def api_get_convex_hull(x): return x.convex_hull function api_get_extent (line 24) | def api_get_extent(x): return x.extent function api_get_area (line 25) | def api_get_area(x): return x.area function api_get_length (line 26) | def api_get_length(x): return x.length class GEOSMutationTest (line 32) | class GEOSMutationTest(unittest.TestCase): method test00_GEOSIndexException (line 38) | def test00_GEOSIndexException(self): method test01_PointMutations (line 45) | def test01_PointMutations(self): method test02_PointExceptions (line 58) | def test02_PointExceptions(self): method test03_PointApi (line 63) | def test03_PointApi(self): method test04_LineStringMutations (line 71) | def test04_LineStringMutations(self): method test05_Polygon (line 89) | def test05_Polygon(self): method test06_Collection (line 113) | def test06_Collection(self): function suite (line 126) | def suite(): function run (line 131) | def run(verbosity=2): FILE: Django-1.5.1/django/contrib/gis/geos/tests/test_io.py class GEOSIOTest (line 11) | class GEOSIOTest(unittest.TestCase): method test01_wktreader (line 13) | def test01_wktreader(self): method test02_wktwriter (line 30) | def test02_wktwriter(self): method test03_wkbreader (line 39) | def test03_wkbreader(self): method test04_wkbwriter (line 58) | def test04_wkbwriter(self): function suite (line 113) | def suite(): function run (line 118) | def run(verbosity=2): FILE: Django-1.5.1/django/contrib/gis/geos/tests/test_mutable_list.py class UserListA (line 11) | class UserListA(ListMixin): method __init__ (line 13) | def __init__(self, i_list, *args, **kwargs): method __len__ (line 17) | def __len__(self): return len(self._list) method __str__ (line 19) | def __str__(self): return str(self._list) method __repr__ (line 21) | def __repr__(self): return repr(self._list) method _set_list (line 23) | def _set_list(self, length, items): method _get_single_external (line 33) | def _get_single_external(self, index): class UserListB (line 36) | class UserListB(UserListA): method _set_single (line 39) | def _set_single(self, index, value): function nextRange (line 42) | def nextRange(length): class ListMixinTest (line 48) | class ListMixinTest(unittest.TestCase): method lists_of_len (line 56) | def lists_of_len(self, length=None): method limits_plus (line 61) | def limits_plus(self, b): method step_range (line 64) | def step_range(self): method test01_getslice (line 67) | def test01_getslice(self): method test02_setslice (line 86) | def test02_setslice(self): method test03_delslice (line 142) | def test03_delslice(self): method test04_get_set_del_single (line 186) | def test04_get_set_del_single(self): method test05_out_of_range_exceptions (line 204) | def test05_out_of_range_exceptions(self): method test06_list_methods (line 215) | def test06_list_methods(self): method test07_allowed_types (line 268) | def test07_allowed_types(self): method test08_min_length (line 278) | def test08_min_length(self): method test09_iterable_check (line 294) | def test09_iterable_check(self): method test10_checkindex (line 300) | def test10_checkindex(self): method test_11_sorting (line 315) | def test_11_sorting(self): method test_12_arithmetic (line 338) | def test_12_arithmetic(self): class ListMixinTestSingle (line 396) | class ListMixinTestSingle(ListMixinTest): function suite (line 399) | def suite(): function run (line 405) | def run(verbosity=2): FILE: Django-1.5.1/django/contrib/gis/management/commands/inspectdb.py class Command (line 3) | class Command(InspectDBCommand): method get_field_type (line 7) | def get_field_type(self, connection, table_name, row): method get_meta (line 23) | def get_meta(self, table_name): FILE: Django-1.5.1/django/contrib/gis/management/commands/ogrinspect.py function layer_option (line 6) | def layer_option(option, opt, value, parser): function list_option (line 17) | def list_option(option, opt, value, parser): class Command (line 29) | class Command(LabelCommand): method handle (line 75) | def handle(self, *args, **options): FILE: Django-1.5.1/django/contrib/gis/maps/google/gmap.py class GoogleMapException (line 9) | class GoogleMapException(Exception): class GoogleMap (line 18) | class GoogleMap(object): method __init__ (line 26) | def __init__(self, key=None, api_url=None, version=None, method render (line 95) | def render(self): method body (line 114) | def body(self): method onload (line 119) | def onload(self): method api_script (line 124) | def api_script(self): method js (line 130) | def js(self): method scripts (line 135) | def scripts(self): method style (line 140) | def style(self): method xhtml (line 145) | def xhtml(self): method icons (line 150) | def icons(self): class GoogleMapSet (line 154) | class GoogleMapSet(GoogleMap): method __init__ (line 156) | def __init__(self, *args, **kwargs): method load_map_js (line 187) | def load_map_js(self): method render (line 206) | def render(self): method onload (line 220) | def onload(self): method icons (line 228) | def icons(self): FILE: Django-1.5.1/django/contrib/gis/maps/google/overlays.py class GEvent (line 9) | class GEvent(object): method __init__ (line 33) | def __init__(self, event, action): method __str__ (line 53) | def __str__(self): class GOverlayBase (line 58) | class GOverlayBase(object): method __init__ (line 59) | def __init__(self): method latlng_from_coords (line 62) | def latlng_from_coords(self, coords): method add_event (line 66) | def add_event(self, event): method __str__ (line 70) | def __str__(self): class GPolygon (line 74) | class GPolygon(GOverlayBase): method __init__ (line 80) | def __init__(self, poly, method js_params (line 127) | def js_params(self): class GPolyline (line 131) | class GPolyline(GOverlayBase): method __init__ (line 137) | def __init__(self, geom, color='#0000ff', weight=2, opacity=1): method js_params (line 171) | def js_params(self): class GIcon (line 176) | class GIcon(object): method __init__ (line 230) | def __init__(self, varname, image=None, iconsize=None, method __eq__ (line 241) | def __eq__(self, other): method __lt__ (line 244) | def __lt__(self, other): method __hash__ (line 247) | def __hash__(self): class GMarker (line 252) | class GMarker(GOverlayBase): method __init__ (line 271) | def __init__(self, geom, title=None, draggable=False, icon=None): method latlng_from_coords (line 299) | def latlng_from_coords(self, coords): method options (line 302) | def options(self): method js_params (line 310) | def js_params(self): FILE: Django-1.5.1/django/contrib/gis/maps/google/zoom.py class GoogleZoom (line 10) | class GoogleZoom(object): method __init__ (line 25) | def __init__(self, num_zoom=19, tilesize=256): method __len__ (line 51) | def __len__(self): method get_lon_lat (line 55) | def get_lon_lat(self, lonlat): method lonlat_to_pixel (line 63) | def lonlat_to_pixel(self, lonlat, zoom): method pixel_to_lonlat (line 86) | def pixel_to_lonlat(self, px, zoom): method tile (line 103) | def tile(self, lonlat, zoom): method get_zoom (line 124) | def get_zoom(self, geom): method get_width_height (line 150) | def get_width_height(self, extent): FILE: Django-1.5.1/django/contrib/gis/measure.py function pretty_name (line 47) | def pretty_name(obj): class MeasureBase (line 52) | class MeasureBase(object): method __init__ (line 58) | def __init__(self, default_unit=None, **kwargs): method _get_standard (line 64) | def _get_standard(self): method _set_standard (line 67) | def _set_standard(self, value): method __getattr__ (line 72) | def __getattr__(self, name): method __repr__ (line 78) | def __repr__(self): method __str__ (line 82) | def __str__(self): method __eq__ (line 87) | def __eq__(self, other): method __lt__ (line 93) | def __lt__(self, other): method __add__ (line 101) | def __add__(self, other): method __iadd__ (line 108) | def __iadd__(self, other): method __sub__ (line 115) | def __sub__(self, other): method __isub__ (line 122) | def __isub__(self, other): method __mul__ (line 129) | def __mul__(self, other): method __imul__ (line 136) | def __imul__(self, other): method __rmul__ (line 143) | def __rmul__(self, other): method __truediv__ (line 146) | def __truediv__(self, other): method __div__ (line 155) | def __div__(self, other): # Python 2 compatibility method __itruediv__ (line 158) | def __itruediv__(self, other): method __idiv__ (line 165) | def __idiv__(self, other): # Python 2 compatibility method __bool__ (line 168) | def __bool__(self): method __nonzero__ (line 171) | def __nonzero__(self): # Python 2 compatibility method default_units (line 174) | def default_units(self, kwargs): method unit_attname (line 204) | def unit_attname(cls, unit_str): class Distance (line 220) | class Distance(MeasureBase): method __mul__ (line 297) | def __mul__(self, other): class Area (line 310) | class Area(MeasureBase): method __truediv__ (line 317) | def __truediv__(self, other): method __div__ (line 324) | def __div__(self, other): # Python 2 compatibility FILE: Django-1.5.1/django/contrib/gis/shortcuts.py function compress_kml (line 8) | def compress_kml(kml): function render_to_kml (line 17) | def render_to_kml(*args, **kwargs): function render_to_kmz (line 22) | def render_to_kmz(*args, **kwargs): function render_to_text (line 30) | def render_to_text(*args, **kwargs): FILE: Django-1.5.1/django/contrib/gis/sitemaps/georss.py class GeoRSSSitemap (line 4) | class GeoRSSSitemap(Sitemap): method __init__ (line 8) | def __init__(self, feed_dict, slug_dict=None): method get_urls (line 39) | def get_urls(self, page=1, site=None): method items (line 48) | def items(self): method location (line 51) | def location(self, obj): FILE: Django-1.5.1/django/contrib/gis/sitemaps/kml.py class KMLSitemap (line 6) | class KMLSitemap(Sitemap): method __init__ (line 12) | def __init__(self, locations=None): method _build_kml_sources (line 17) | def _build_kml_sources(self, sources): method get_urls (line 43) | def get_urls(self, page=1, site=None): method items (line 52) | def items(self): method location (line 55) | def location(self, obj): class KMZSitemap (line 62) | class KMZSitemap(KMLSitemap): FILE: Django-1.5.1/django/contrib/gis/sitemaps/views.py function index (line 16) | def index(request, sitemaps): function sitemap (line 38) | def sitemap(request, sitemaps, section=None): function kml (line 66) | def kml(request, label, model, field_name=None, compress=False, using=DE... function kmz (line 110) | def kmz(request, label, model, field_name=None, using=DEFAULT_DB_ALIAS): FILE: Django-1.5.1/django/contrib/gis/tests/__init__.py function geo_apps (line 10) | def geo_apps(namespace=True, runtests=False): function geodjango_suite (line 48) | def geodjango_suite(apps=True): class GeoDjangoTestSuiteRunner (line 84) | class GeoDjangoTestSuiteRunner(DjangoTestSuiteRunner): method setup_test_environment (line 86) | def setup_test_environment(self, **kwargs): method teardown_test_environment (line 115) | def teardown_test_environment(self, **kwargs): method build_suite (line 122) | def build_suite(self, test_labels, extra_tests=None, **kwargs): FILE: Django-1.5.1/django/contrib/gis/tests/distapp/models.py class SouthTexasCity (line 5) | class SouthTexasCity(models.Model): method __str__ (line 10) | def __str__(self): return self.name class SouthTexasCityFt (line 13) | class SouthTexasCityFt(models.Model): method __str__ (line 18) | def __str__(self): return self.name class AustraliaCity (line 21) | class AustraliaCity(models.Model): method __str__ (line 26) | def __str__(self): return self.name class CensusZipcode (line 29) | class CensusZipcode(models.Model): method __str__ (line 34) | def __str__(self): return self.name class SouthTexasZipcode (line 37) | class SouthTexasZipcode(models.Model): method __str__ (line 42) | def __str__(self): return self.name class Interstate (line 45) | class Interstate(models.Model): method __str__ (line 50) | def __str__(self): return self.name class SouthTexasInterstate (line 53) | class SouthTexasInterstate(models.Model): method __str__ (line 58) | def __str__(self): return self.name FILE: Django-1.5.1/django/contrib/gis/tests/distapp/tests.py class DistanceTest (line 14) | class DistanceTest(TestCase): method get_names (line 24) | def get_names(self, qs): method test01_init (line 29) | def test01_init(self): method test02_dwithin (line 40) | def test02_dwithin(self): method test03a_distance_method (line 80) | def test03a_distance_method(self): method test03b_distance_method (line 120) | def test03b_distance_method(self): method test03c_distance_method (line 181) | def test03c_distance_method(self): method test04_distance_lookups (line 213) | def test04_distance_lookups(self): method test05_geodetic_distance_lookups (line 240) | def test05_geodetic_distance_lookups(self): method test06_area (line 303) | def test06_area(self): method test07_length (line 314) | def test07_length(self): method test08_perimeter (line 335) | def test08_perimeter(self): method test09_measurement_null_fields (line 349) | def test09_measurement_null_fields(self): FILE: Django-1.5.1/django/contrib/gis/tests/geo3d/models.py class City3D (line 5) | class City3D(models.Model): method __str__ (line 10) | def __str__(self): class Interstate2D (line 14) | class Interstate2D(models.Model): method __str__ (line 19) | def __str__(self): class Interstate3D (line 23) | class Interstate3D(models.Model): method __str__ (line 28) | def __str__(self): class InterstateProj2D (line 32) | class InterstateProj2D(models.Model): method __str__ (line 37) | def __str__(self): class InterstateProj3D (line 41) | class InterstateProj3D(models.Model): method __str__ (line 46) | def __str__(self): class Polygon2D (line 50) | class Polygon2D(models.Model): method __str__ (line 55) | def __str__(self): class Polygon3D (line 59) | class Polygon3D(models.Model): method __str__ (line 64) | def __str__(self): class Point2D (line 67) | class Point2D(models.Model): class Point3D (line 71) | class Point3D(models.Model): class MultiPoint3D (line 75) | class MultiPoint3D(models.Model): FILE: Django-1.5.1/django/contrib/gis/tests/geo3d/tests.py class Geo3DTest (line 57) | class Geo3DTest(TestCase): method _load_interstate_data (line 67) | def _load_interstate_data(self): method _load_city_data (line 80) | def _load_city_data(self): method _load_polygon_data (line 84) | def _load_polygon_data(self): method test_3d_hasz (line 91) | def test_3d_hasz(self): method test_3d_polygons (line 111) | def test_3d_polygons(self): method test_3d_layermapping (line 121) | def test_3d_layermapping(self): method test_kml (line 149) | def test_kml(self): method test_geojson (line 160) | def test_geojson(self): method test_union (line 171) | def test_union(self): method test_extent (line 184) | def test_extent(self): method test_perimeter (line 201) | def test_perimeter(self): method test_length (line 218) | def test_length(self): method test_scale (line 250) | def test_scale(self): method test_translate (line 261) | def test_translate(self): FILE: Django-1.5.1/django/contrib/gis/tests/geoadmin/models.py class City (line 6) | class City(models.Model): method __str__ (line 10) | def __str__(self): return self.name FILE: Django-1.5.1/django/contrib/gis/tests/geoadmin/tests.py class GeoAdminTest (line 10) | class GeoAdminTest(TestCase): method test_ensure_geographic_media (line 13) | def test_ensure_geographic_media(self): method test_olmap_OSM_rendering (line 18) | def test_olmap_OSM_rendering(self): method test_olmap_WMS_rendering (line 26) | def test_olmap_WMS_rendering(self): method test_olwidget_has_changed (line 37) | def test_olwidget_has_changed(self): FILE: Django-1.5.1/django/contrib/gis/tests/geoapp/feeds.py class TestGeoRSS1 (line 8) | class TestGeoRSS1(feeds.Feed): method items (line 12) | def items(self): method item_link (line 15) | def item_link(self, item): method item_geometry (line 18) | def item_geometry(self, item): class TestGeoRSS2 (line 21) | class TestGeoRSS2(TestGeoRSS1): method geometry (line 22) | def geometry(self, obj): method item_geometry (line 29) | def item_geometry(self, item): class TestGeoAtom1 (line 33) | class TestGeoAtom1(TestGeoRSS1): class TestGeoAtom2 (line 36) | class TestGeoAtom2(TestGeoRSS2): method geometry (line 39) | def geometry(self, obj): class TestW3CGeo1 (line 43) | class TestW3CGeo1(TestGeoRSS1): class TestW3CGeo2 (line 47) | class TestW3CGeo2(TestGeoRSS2): class TestW3CGeo3 (line 50) | class TestW3CGeo3(TestGeoRSS1): method item_geometry (line 53) | def item_geometry(self, item): FILE: Django-1.5.1/django/contrib/gis/tests/geoapp/models.py class Country (line 9) | class Country(models.Model): method __str__ (line 13) | def __str__(self): return self.name class City (line 16) | class City(models.Model): method __str__ (line 20) | def __str__(self): return self.name class PennsylvaniaCity (line 23) | class PennsylvaniaCity(City): class State (line 29) | class State(models.Model): method __str__ (line 33) | def __str__(self): return self.name class Track (line 36) | class Track(models.Model): method __str__ (line 40) | def __str__(self): return self.name class Truth (line 42) | class Truth(models.Model): class Feature (line 48) | class Feature(models.Model): method __str__ (line 52) | def __str__(self): return self.name class MinusOneSRID (line 54) | class MinusOneSRID(models.Model): FILE: Django-1.5.1/django/contrib/gis/tests/geoapp/test_feeds.py class GeoFeedTest (line 12) | class GeoFeedTest(TestCase): method setUp (line 16) | def setUp(self): method tearDown (line 21) | def tearDown(self): method assertChildNodes (line 24) | def assertChildNodes(self, elem, expected): method test_geofeed_rss (line 30) | def test_geofeed_rss(self): method test_geofeed_atom (line 56) | def test_geofeed_atom(self): method test_geofeed_w3c (line 75) | def test_geofeed_w3c(self): FILE: Django-1.5.1/django/contrib/gis/tests/geoapp/test_regress.py class GeoRegressionTests (line 14) | class GeoRegressionTests(TestCase): method test_update (line 16) | def test_update(self): method test_kmz (line 28) | def test_kmz(self): method test_extent (line 39) | def test_extent(self): method test_unicode_date (line 47) | def test_unicode_date(self): method test_empty_count (line 55) | def test_empty_count(self): method test_defer_or_only_with_annotate (line 65) | def test_defer_or_only_with_annotate(self): method test_boolean_conversion (line 70) | def test_boolean_conversion(self): FILE: Django-1.5.1/django/contrib/gis/tests/geoapp/test_sitemaps.py class GeoSitemapTest (line 14) | class GeoSitemapTest(TestCase): method setUp (line 18) | def setUp(self): method tearDown (line 23) | def tearDown(self): method assertChildNodes (line 26) | def assertChildNodes(self, elem, expected): method test_geositemap_index (line 32) | def test_geositemap_index(self): method test_geositemap_kml (line 40) | def test_geositemap_kml(self): method test_geositemap_georss (line 79) | def test_geositemap_georss(self): FILE: Django-1.5.1/django/contrib/gis/tests/geoapp/tests.py class GeoModelTest (line 26) | class GeoModelTest(TestCase): method test_fixtures (line 28) | def test_fixtures(self): method test_proxy (line 35) | def test_proxy(self): method test_lookup_insert_transform (line 104) | def test_lookup_insert_transform(self): method test_createnull (line 148) | def test_createnull(self): method test_geometryfield (line 154) | def test_geometryfield(self): method test_inherited_geofields (line 177) | def test_inherited_geofields(self): method test_raw_sql_query (line 189) | def test_raw_sql_query(self): class GeoLookupTest (line 200) | class GeoLookupTest(TestCase): method test_disjoint_lookup (line 203) | def test_disjoint_lookup(self): method test_contains_contained_lookups (line 213) | def test_contains_contained_lookups(self): method test_left_right_lookups (line 262) | def test_left_right_lookups(self): method test_equals_lookups (line 305) | def test_equals_lookups(self): method test_null_geometries (line 314) | def test_null_geometries(self): method test_relate_lookup (line 344) | def test_relate_lookup(self): class GeoQuerySetTest (line 387) | class GeoQuerySetTest(TestCase): method test_centroid (line 391) | def test_centroid(self): method test_diff_intersection_union (line 404) | def test_diff_intersection_union(self): method test_extent (line 432) | def test_extent(self): method test_force_rhr (line 448) | def test_force_rhr(self): method test_geohash (line 463) | def test_geohash(self): method test_geojson (line 475) | def test_geojson(self): method test_gml (line 514) | def test_gml(self): method test_kml (line 544) | def test_kml(self): method test_make_line (line 573) | def test_make_line(self): method test_num_geom (line 584) | def test_num_geom(self): method test_num_points (line 601) | def test_num_points(self): method test_point_on_surface (line 611) | def test_point_on_surface(self): method test_reverse_geom (line 637) | def test_reverse_geom(self): method test_scale (line 649) | def test_scale(self): method test_snap_to_grid (line 664) | def test_snap_to_grid(self): method test_svg (line 700) | def test_svg(self): method test_transform (line 716) | def test_transform(self): method test_translate (line 740) | def test_translate(self): method test_unionagg (line 753) | def test_unionagg(self): FILE: Django-1.5.1/django/contrib/gis/tests/geogapp/models.py class City (line 5) | class City(models.Model): method __str__ (line 9) | def __str__(self): return self.name class Zipcode (line 12) | class Zipcode(models.Model): method __str__ (line 16) | def __str__(self): return self.code class County (line 19) | class County(models.Model): method __str__ (line 24) | def __str__(self): return ' County, '.join([self.name, self.state]) FILE: Django-1.5.1/django/contrib/gis/tests/geogapp/tests.py class GeographyTest (line 16) | class GeographyTest(TestCase): method test01_fixture_load (line 18) | def test01_fixture_load(self): method test02_distance_lookup (line 22) | def test02_distance_lookup(self): method test03_distance_method (line 36) | def test03_distance_method(self): method test04_invalid_operators_functions (line 42) | def test04_invalid_operators_functions(self): method test05_geography_layermapping (line 57) | def test05_geography_layermapping(self): method test06_geography_area (line 86) | def test06_geography_area(self): FILE: Django-1.5.1/django/contrib/gis/tests/inspectapp/models.py class AllOGRFields (line 3) | class AllOGRFields(models.Model): FILE: Django-1.5.1/django/contrib/gis/tests/inspectapp/tests.py class OGRInspectTest (line 14) | class OGRInspectTest(TestCase): method test_poly (line 15) | def test_poly(self): method test_date_field (line 33) | def test_date_field(self): method test_time_field (line 52) | def test_time_field(self): function get_ogr_db_string (line 93) | def get_ogr_db_string(): FILE: Django-1.5.1/django/contrib/gis/tests/layermap/models.py class State (line 3) | class State(models.Model): class County (line 7) | class County(models.Model): class CountyFeat (line 13) | class CountyFeat(models.Model): class City (line 18) | class City(models.Model): class Interstate (line 27) | class Interstate(models.Model): class CityBase (line 34) | class CityBase(models.Model): class ICity1 (line 41) | class ICity1(CityBase): class ICity2 (line 44) | class ICity2(ICity1): class Invalid (line 47) | class Invalid(models.Model): FILE: Django-1.5.1/django/contrib/gis/tests/layermap/tests.py class LayerMapTest (line 35) | class LayerMapTest(TestCase): method test_init (line 37) | def test_init(self): method test_simple_layermap (line 62) | def test_simple_layermap(self): method test_layermap_strict (line 86) | def test_layermap_strict(self): method county_helper (line 121) | def county_helper(self, county_feat=True): method test_layermap_unique_multigeometry_fk (line 134) | def test_layermap_unique_multigeometry_fk(self): method test_test_fid_range_step (line 201) | def test_test_fid_range_step(self): method test_model_inheritance (line 255) | def test_model_inheritance(self): method test_invalid_layer (line 275) | def test_invalid_layer(self): method test_textfield (line 282) | def test_textfield(self): method test_encoded_name (line 291) | def test_encoded_name(self): class OtherRouter (line 299) | class OtherRouter(object): method db_for_read (line 300) | def db_for_read(self, model, **hints): method db_for_write (line 303) | def db_for_write(self, model, **hints): method allow_relation (line 306) | def allow_relation(self, obj1, obj2, **hints): method allow_syncdb (line 309) | def allow_syncdb(self, db, model): class LayerMapRouterTest (line 313) | class LayerMapRouterTest(TestCase): method setUp (line 315) | def setUp(self): method tearDown (line 319) | def tearDown(self): method test_layermapping_default_db (line 323) | def test_layermapping_default_db(self): FILE: Django-1.5.1/django/contrib/gis/tests/relatedapp/models.py class Location (line 6) | class Location(models.Model): method __str__ (line 9) | def __str__(self): return self.point.wkt class City (line 12) | class City(models.Model): method __str__ (line 17) | def __str__(self): return self.name class AugmentedLocation (line 19) | class AugmentedLocation(Location): class DirectoryEntry (line 23) | class DirectoryEntry(models.Model): class Parcel (line 29) | class Parcel(models.Model): method __str__ (line 38) | def __str__(self): return self.name class Author (line 41) | class Author(models.Model): class Article (line 46) | class Article(models.Model): class Book (line 51) | class Book(models.Model): FILE: Django-1.5.1/django/contrib/gis/tests/relatedapp/tests.py class RelatedGeoModelTest (line 14) | class RelatedGeoModelTest(TestCase): method test02_select_related (line 16) | def test02_select_related(self): method test03_transform_related (line 37) | def test03_transform_related(self): method test04a_related_extent_aggregate (line 62) | def test04a_related_extent_aggregate(self): method test04b_related_union_aggregate (line 81) | def test04b_related_union_aggregate(self): method test05_select_related_fk_to_subclass (line 115) | def test05_select_related_fk_to_subclass(self): method test06_f_expressions (line 120) | def test06_f_expressions(self): method test07_values (line 168) | def test07_values(self): method test08_defer_only (line 185) | def test08_defer_only(self): method test09_pk_relations (line 192) | def test09_pk_relations(self): method test10_combine (line 205) | def test10_combine(self): method test11_geoquery_pickle (line 217) | def test11_geoquery_pickle(self): method test12a_count (line 230) | def test12a_count(self): method test12b_count (line 239) | def test12b_count(self): method test13c_count (line 251) | def test13c_count(self): method test13_select_related_null_fk (line 260) | def test13_select_related_null_fk(self): method test14_collect (line 270) | def test14_collect(self): method test15_invalid_select_related (line 287) | def test15_invalid_select_related(self): method test16_annotated_date_queryset (line 295) | def test16_annotated_date_queryset(self): FILE: Django-1.5.1/django/contrib/gis/tests/test_geoforms.py class GeometryFieldTest (line 12) | class GeometryFieldTest(unittest.TestCase): method test00_init (line 14) | def test00_init(self): method test01_srid (line 20) | def test01_srid(self): method test02_null (line 36) | def test02_null(self): method test03_geom_type (line 50) | def test03_geom_type(self): method test04_to_python (line 64) | def test04_to_python(self): function suite (line 78) | def suite(): function run (line 83) | def run(verbosity=2): FILE: Django-1.5.1/django/contrib/gis/tests/test_measure.py class DistanceTest (line 10) | class DistanceTest(unittest.TestCase): method testInit (line 13) | def testInit(self): method testInitInvalid (line 35) | def testInitInvalid(self): method testAccess (line 39) | def testAccess(self): method testAccessInvalid (line 45) | def testAccessInvalid(self): method testAddition (line 50) | def testAddition(self): method testMultiplication (line 81) | def testMultiplication(self): method testUnitConversions (line 111) | def testUnitConversions(self): method testComparisons (line 125) | def testComparisons(self): method testUnitsStr (line 136) | def testUnitsStr(self): method testUnitAttName (line 146) | def testUnitAttName(self): class AreaTest (line 153) | class AreaTest(unittest.TestCase): method testInit (line 156) | def testInit(self): method testInitInvaliA (line 167) | def testInitInvaliA(self): method testAccess (line 171) | def testAccess(self): method testAccessInvaliA (line 177) | def testAccessInvaliA(self): method testAddition (line 182) | def testAddition(self): method testMultiplication (line 213) | def testMultiplication(self): method testUnitConversions (line 245) | def testUnitConversions(self): method testComparisons (line 259) | def testComparisons(self): method testUnitsStr (line 270) | def testUnitsStr(self): function suite (line 280) | def suite(): function run (line 286) | def run(verbosity=2): FILE: Django-1.5.1/django/contrib/gis/tests/test_spatialrefsys.py class SpatialRefSysTest (line 36) | class SpatialRefSysTest(unittest.TestCase): method test01_retrieve (line 39) | def test01_retrieve(self): method test02_osr (line 60) | def test02_osr(self): method test03_ellipsoid (line 82) | def test03_ellipsoid(self): function suite (line 98) | def suite(): function run (line 103) | def run(verbosity=2): FILE: Django-1.5.1/django/contrib/gis/tests/utils.py function pass_test (line 5) | def pass_test(*args): return function no_backend (line 7) | def no_backend(test_func, backend): function no_oracle (line 16) | def no_oracle(func): return no_backend(func, 'oracle') function no_postgis (line 17) | def no_postgis(func): return no_backend(func, 'postgis') function no_mysql (line 18) | def no_mysql(func): return no_backend(func, 'mysql') function no_spatialite (line 19) | def no_spatialite(func): return no_backend(func, 'spatialite') FILE: Django-1.5.1/django/contrib/gis/utils/geoip.py class GeoIP (line 9) | class GeoIP(BaseGeoIP): method __init__ (line 10) | def __init__(self, *args, **kwargs): FILE: Django-1.5.1/django/contrib/gis/utils/layermapping.py class LayerMapError (line 25) | class LayerMapError(Exception): pass class InvalidString (line 26) | class InvalidString(LayerMapError): pass class InvalidDecimal (line 27) | class InvalidDecimal(LayerMapError): pass class InvalidInteger (line 28) | class InvalidInteger(LayerMapError): pass class MissingForeignKey (line 29) | class MissingForeignKey(LayerMapError): pass class LayerMapping (line 31) | class LayerMapping(object): method __init__ (line 69) | def __init__(self, model, data, mapping, layer=0, method check_fid_range (line 139) | def check_fid_range(self, fid_range): method check_layer (line 151) | def check_layer(self): method check_srs (line 248) | def check_srs(self, source_srs): method check_unique (line 266) | def check_unique(self, unique): method feature_kwargs (line 279) | def feature_kwargs(self, feat): method unique_kwargs (line 312) | def unique_kwargs(self, kwargs): method verify_ogr_field (line 324) | def verify_ogr_field(self, ogr_field, model_field): method verify_fk (line 379) | def verify_fk(self, feat, rel_model, rel_mapping): method verify_geom (line 400) | def verify_geom(self, geom, model_field): method coord_transform (line 427) | def coord_transform(self): method geometry_field (line 439) | def geometry_field(self): method make_multi (line 447) | def make_multi(self, geom_type, model_field): method save (line 455) | def save(self, verbose=False, fid_range=False, step=False, FILE: Django-1.5.1/django/contrib/gis/utils/ogrinfo.py function ogrinfo (line 10) | def ogrinfo(data_source, num_features=10): FILE: Django-1.5.1/django/contrib/gis/utils/ogrinspect.py function mapping (line 12) | def mapping(data_source, geom_name='geom', layer_key=0, multi_geom=False): function ogrinspect (line 48) | def ogrinspect(*args, **kwargs): function _ogrinspect (line 118) | def _ogrinspect(data_source, model_name, geom_name='geom', layer_key=0, ... FILE: Django-1.5.1/django/contrib/gis/utils/srs.py function add_srs_entry (line 3) | def add_srs_entry(srs, auth_name='EPSG', auth_srid=None, ref_sys_name=None, FILE: Django-1.5.1/django/contrib/gis/utils/wkt.py function precision_wkt (line 7) | def precision_wkt(geom, prec): FILE: Django-1.5.1/django/contrib/gis/views.py function feed (line 6) | def feed(request, url, feed_dict=None): FILE: Django-1.5.1/django/contrib/humanize/templatetags/humanize.py function ordinal (line 16) | def ordinal(value): function intcomma (line 31) | def intcomma(value, use_l10n=True): function intword (line 100) | def intword(value): function apnumber (line 133) | def apnumber(value): function naturalday (line 149) | def naturalday(value, arg=None): function naturaltime (line 177) | def naturaltime(value): FILE: Django-1.5.1/django/contrib/humanize/tests.py class MockDateTime (line 28) | class MockDateTime(datetime.datetime): method now (line 30) | def now(self, tz=None): class HumanizeTests (line 38) | class HumanizeTests(TestCase): method humanize_tester (line 40) | def humanize_tester(self, test_list, result_list, method): method test_ordinal (line 49) | def test_ordinal(self): method test_intcomma (line 59) | def test_intcomma(self): method test_l10n_intcomma (line 69) | def test_l10n_intcomma(self): method test_intcomma_without_number_grouping (line 80) | def test_intcomma_without_number_grouping(self): method test_intword (line 86) | def test_intword(self): method test_i18n_intcomma (line 97) | def test_i18n_intcomma(self): method test_i18n_intword (line 106) | def test_i18n_intword(self): method test_apnumber (line 115) | def test_apnumber(self): method test_naturalday (line 123) | def test_naturalday(self): method test_naturalday_tz (line 136) | def test_naturalday_tz(self): method test_naturalday_uses_localtime (line 153) | def test_naturalday_uses_localtime(self): method test_naturaltime (line 165) | def test_naturaltime(self): FILE: Django-1.5.1/django/contrib/localflavor/ar/forms.py class ARProvinceSelect (line 15) | class ARProvinceSelect(Select): method __init__ (line 20) | def __init__(self, attrs=None): class ARPostalCodeField (line 23) | class ARPostalCodeField(RegexField): method __init__ (line 35) | def __init__(self, max_length=8, min_length=4, *args, **kwargs): method clean (line 39) | def clean(self, value): class ARDNIField (line 49) | class ARDNIField(CharField): method __init__ (line 58) | def __init__(self, max_length=10, min_length=7, *args, **kwargs): method clean (line 62) | def clean(self, value): class ARCUITField (line 78) | class ARCUITField(RegexField): method __init__ (line 89) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method clean (line 93) | def clean(self, value): method _canon (line 108) | def _canon(self, cuit): method _calc_cd (line 112) | def _calc_cd(self, cuit): method _format (line 124) | def _format(self, cuit, check_digit=None): FILE: Django-1.5.1/django/contrib/localflavor/at/forms.py class ATZipCodeField (line 15) | class ATZipCodeField(RegexField): method __init__ (line 24) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class ATStateSelect (line 28) | class ATStateSelect(Select): method __init__ (line 32) | def __init__(self, attrs=None): class ATSocialSecurityNumberField (line 36) | class ATSocialSecurityNumberField(Field): method clean (line 53) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/au/forms.py class AUPostCodeField (line 19) | class AUPostCodeField(RegexField): method __init__ (line 29) | def __init__(self, max_length=4, min_length=None, *args, **kwargs): class AUPhoneNumberField (line 34) | class AUPhoneNumberField(Field): method clean (line 40) | def clean(self, value): class AUStateSelect (line 54) | class AUStateSelect(Select): method __init__ (line 59) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/localflavor/au/models.py class AUStateField (line 7) | class AUStateField(CharField): method __init__ (line 11) | def __init__(self, *args, **kwargs): class AUPostCodeField (line 17) | class AUPostCodeField(CharField): method __init__ (line 21) | def __init__(self, *args, **kwargs): method formfield (line 25) | def formfield(self, **kwargs): class AUPhoneNumberField (line 31) | class AUPhoneNumberField(CharField): method __init__ (line 35) | def __init__(self, *args, **kwargs): method formfield (line 39) | def formfield(self, **kwargs): FILE: Django-1.5.1/django/contrib/localflavor/be/forms.py class BEPostalCodeField (line 13) | class BEPostalCodeField(RegexField): method __init__ (line 28) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class BEPhoneNumberField (line 32) | class BEPhoneNumberField(RegexField): method __init__ (line 55) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class BERegionSelect (line 59) | class BERegionSelect(Select): method __init__ (line 63) | def __init__(self, attrs=None): class BEProvinceSelect (line 66) | class BEProvinceSelect(Select): method __init__ (line 70) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/localflavor/br/forms.py class BRZipCodeField (line 20) | class BRZipCodeField(RegexField): method __init__ (line 25) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class BRPhoneNumberField (line 29) | class BRPhoneNumberField(Field): method clean (line 34) | def clean(self, value): class BRStateSelect (line 44) | class BRStateSelect(Select): method __init__ (line 49) | def __init__(self, attrs=None): class BRStateChoiceField (line 52) | class BRStateChoiceField(Field): method __init__ (line 61) | def __init__(self, required=True, widget=None, label=None, method clean (line 67) | def clean(self, value): function DV_maker (line 79) | def DV_maker(v): class BRCPFField (line 84) | class BRCPFField(CharField): method __init__ (line 98) | def __init__(self, max_length=14, min_length=11, *args, **kwargs): method clean (line 101) | def clean(self, value): class BRCNPJField (line 131) | class BRCNPJField(Field): method clean (line 138) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/ca/forms.py class CAPostalCodeField (line 19) | class CAPostalCodeField(CharField): method clean (line 34) | def clean(self, value): class CAPhoneNumberField (line 44) | class CAPhoneNumberField(Field): method clean (line 50) | def clean(self, value): class CAProvinceField (line 62) | class CAProvinceField(Field): method clean (line 72) | def clean(self, value): class CAProvinceSelect (line 89) | class CAProvinceSelect(Select): method __init__ (line 94) | def __init__(self, attrs=None): class CASocialInsuranceNumberField (line 99) | class CASocialInsuranceNumberField(Field): method clean (line 113) | def clean(self, value): method luhn_checksum_is_valid (line 128) | def luhn_checksum_is_valid(self, number): FILE: Django-1.5.1/django/contrib/localflavor/ch/forms.py class CHZipCodeField (line 20) | class CHZipCodeField(RegexField): method __init__ (line 25) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class CHPhoneNumberField (line 29) | class CHPhoneNumberField(Field): method clean (line 40) | def clean(self, value): class CHStateSelect (line 50) | class CHStateSelect(Select): method __init__ (line 54) | def __init__(self, attrs=None): class CHIdentityCardNumberField (line 57) | class CHIdentityCardNumberField(Field): method has_valid_checksum (line 71) | def has_valid_checksum(self, number): method clean (line 102) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/cl/forms.py class CLRegionSelect (line 15) | class CLRegionSelect(Select): method __init__ (line 20) | def __init__(self, attrs=None): class CLRutField (line 23) | class CLRutField(RegexField): method __init__ (line 37) | def __init__(self, *args, **kwargs): method clean (line 47) | def clean(self, value): method _algorithm (line 60) | def _algorithm(self, rut): method _canonify (line 73) | def _canonify(self, rut): method _format (line 81) | def _format(self, code, verifier=None): FILE: Django-1.5.1/django/contrib/localflavor/cn/forms.py class CNProvinceSelect (line 68) | class CNProvinceSelect(Select): method __init__ (line 72) | def __init__(self, attrs=None): class CNPostCodeField (line 78) | class CNPostCodeField(RegexField): method __init__ (line 87) | def __init__(self, *args, **kwargs): class CNIDCardField (line 91) | class CNIDCardField(CharField): method __init__ (line 111) | def __init__(self, max_length=18, min_length=15, *args, **kwargs): method clean (line 115) | def clean(self, value): method has_valid_birthday (line 138) | def has_valid_birthday(self, value): method has_valid_location (line 159) | def has_valid_location(self, value): method has_valid_checksum (line 165) | def has_valid_checksum(self, value): class CNPhoneNumberField (line 184) | class CNPhoneNumberField(RegexField): method __init__ (line 196) | def __init__(self, *args, **kwargs): class CNCellNumberField (line 200) | class CNCellNumberField(RegexField): method __init__ (line 213) | def __init__(self, *args, **kwargs): FILE: Django-1.5.1/django/contrib/localflavor/co/forms.py class CODepartmentSelect (line 11) | class CODepartmentSelect(Select): method __init__ (line 15) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/localflavor/cz/forms.py class CZRegionSelect (line 19) | class CZRegionSelect(Select): method __init__ (line 23) | def __init__(self, attrs=None): class CZPostalCodeField (line 26) | class CZPostalCodeField(RegexField): method __init__ (line 35) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method clean (line 39) | def clean(self, value): class CZBirthNumberField (line 47) | class CZBirthNumberField(Field): method clean (line 56) | def clean(self, value, gender=None): class CZICNumberField (line 97) | class CZICNumberField(Field): method clean (line 105) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/de/forms.py class DEZipCodeField (line 18) | class DEZipCodeField(RegexField): method __init__ (line 22) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class DEStateSelect (line 26) | class DEStateSelect(Select): method __init__ (line 30) | def __init__(self, attrs=None): class DEIdentityCardNumberField (line 33) | class DEIdentityCardNumberField(Field): method has_valid_checksum (line 49) | def has_valid_checksum(self, number): method clean (line 68) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/ec/forms.py class ECProvinceSelect (line 10) | class ECProvinceSelect(Select): method __init__ (line 14) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/localflavor/es/forms.py class ESPostalCodeField (line 18) | class ESPostalCodeField(RegexField): method __init__ (line 29) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class ESPhoneNumberField (line 34) | class ESPhoneNumberField(RegexField): method __init__ (line 49) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class ESIdentityCardNumberField (line 53) | class ESIdentityCardNumberField(RegexField): method __init__ (line 80) | def __init__(self, only_nif=False, max_length=None, min_length=None, *... method clean (line 91) | def clean(self, value): class ESCCCField (line 125) | class ESCCCField(RegexField): method __init__ (line 153) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method clean (line 157) | def clean(self, value): class ESRegionSelect (line 170) | class ESRegionSelect(Select): method __init__ (line 174) | def __init__(self, attrs=None): class ESProvinceSelect (line 177) | class ESProvinceSelect(Select): method __init__ (line 181) | def __init__(self, attrs=None): function cif_get_checksum (line 185) | def cif_get_checksum(number): FILE: Django-1.5.1/django/contrib/localflavor/fi/forms.py class FIZipCodeField (line 16) | class FIZipCodeField(RegexField): method __init__ (line 20) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class FIMunicipalitySelect (line 24) | class FIMunicipalitySelect(Select): method __init__ (line 28) | def __init__(self, attrs=None): class FISocialSecurityNumber (line 31) | class FISocialSecurityNumber(Field): method clean (line 36) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/fr/forms.py class FRZipCodeField (line 18) | class FRZipCodeField(RegexField): method __init__ (line 23) | def __init__(self, max_length=5, min_length=5, *args, **kwargs): class FRPhoneNumberField (line 27) | class FRPhoneNumberField(CharField): method __init__ (line 38) | def __init__(self, max_length=14, min_length=10, *args, **kwargs): method clean (line 42) | def clean(self, value): class FRDepartmentSelect (line 52) | class FRDepartmentSelect(Select): method __init__ (line 56) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/localflavor/gb/forms.py class GBPostcodeField (line 15) | class GBPostcodeField(CharField): method clean (line 32) | def clean(self, value): class GBCountySelect (line 43) | class GBCountySelect(Select): method __init__ (line 47) | def __init__(self, attrs=None): class GBNationSelect (line 50) | class GBNationSelect(Select): method __init__ (line 54) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/localflavor/generic/forms.py class DateField (line 23) | class DateField(forms.DateField): method __init__ (line 27) | def __init__(self, input_formats=None, *args, **kwargs): class DateTimeField (line 31) | class DateTimeField(forms.DateTimeField): method __init__ (line 36) | def __init__(self, input_formats=None, *args, **kwargs): class SplitDateTimeField (line 40) | class SplitDateTimeField(forms.SplitDateTimeField): method __init__ (line 45) | def __init__(self, input_date_formats=None, input_time_formats=None, *... FILE: Django-1.5.1/django/contrib/localflavor/hk/forms.py class HKPhoneNumberField (line 23) | class HKPhoneNumberField(CharField): method __init__ (line 47) | def __init__(self, *args, **kwargs): method clean (line 50) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/hr/forms.py class HRCountySelect (line 30) | class HRCountySelect(Select): method __init__ (line 35) | def __init__(self, attrs=None): class HRLicensePlatePrefixSelect (line 39) | class HRLicensePlatePrefixSelect(Select): method __init__ (line 45) | def __init__(self, attrs=None): class HRPhoneNumberPrefixSelect (line 50) | class HRPhoneNumberPrefixSelect(Select): method __init__ (line 56) | def __init__(self, attrs=None): class HRJMBGField (line 61) | class HRJMBGField(Field): method clean (line 80) | def clean(self, value): class HROIBField (line 116) | class HROIBField(RegexField): method __init__ (line 126) | def __init__(self, min_length=11, max_length=11, *args, **kwargs): method clean (line 130) | def clean(self, value): class HRLicensePlateField (line 138) | class HRLicensePlateField(Field): method clean (line 157) | def clean(self, value): class HRPostalCodeField (line 181) | class HRPostalCodeField(Field): method clean (line 193) | def clean(self, value): class HRPhoneNumberField (line 209) | class HRPhoneNumberField(Field): method clean (line 223) | def clean(self, value): class HRJMBAGField (line 250) | class HRJMBAGField(Field): method clean (line 262) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/id/forms.py class IDPostCodeField (line 24) | class IDPostCodeField(Field): method clean (line 34) | def clean(self, value): class IDProvinceSelect (line 53) | class IDProvinceSelect(Select): method __init__ (line 59) | def __init__(self, attrs=None): class IDPhoneNumberField (line 65) | class IDPhoneNumberField(Field): method clean (line 75) | def clean(self, value): class IDLicensePlatePrefixSelect (line 88) | class IDLicensePlatePrefixSelect(Select): method __init__ (line 96) | def __init__(self, attrs=None): class IDLicensePlateField (line 103) | class IDLicensePlateField(Field): method clean (line 115) | def clean(self, value): class IDNationalIdentityNumberField (line 167) | class IDNationalIdentityNumberField(Field): method clean (line 179) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/ie/forms.py class IECountySelect (line 11) | class IECountySelect(Select): method __init__ (line 15) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/localflavor/il/forms.py class ILPostalCodeField (line 25) | class ILPostalCodeField(RegexField): method __init__ (line 35) | def __init__(self, *args, **kwargs): method clean (line 38) | def clean(self, value): class ILIDNumberField (line 44) | class ILIDNumberField(Field): method clean (line 54) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/in_/forms.py class INZipCodeField (line 39) | class INZipCodeField(RegexField): method __init__ (line 44) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method clean (line 48) | def clean(self, value): class INStateField (line 57) | class INStateField(Field): method clean (line 67) | def clean(self, value): class INStateSelect (line 83) | class INStateSelect(Select): method __init__ (line 88) | def __init__(self, attrs=None): class INPhoneNumberField (line 92) | class INPhoneNumberField(CharField): method clean (line 106) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/is_/forms.py class ISIdNumberField (line 16) | class ISIdNumberField(RegexField): method __init__ (line 26) | def __init__(self, max_length=11, min_length=10, *args, **kwargs): method clean (line 30) | def clean(self, value): method _canonify (line 42) | def _canonify(self, value): method _validate (line 48) | def _validate(self, value): method _format (line 56) | def _format(self, value): class ISPhoneNumberField (line 63) | class ISPhoneNumberField(RegexField): method __init__ (line 68) | def __init__(self, max_length=8, min_length=7, *args, **kwargs): method clean (line 72) | def clean(self, value): class ISPostalCodeSelect (line 80) | class ISPostalCodeSelect(Select): method __init__ (line 84) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/localflavor/it/forms.py class ITZipCodeField (line 19) | class ITZipCodeField(RegexField): method __init__ (line 23) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class ITRegionSelect (line 27) | class ITRegionSelect(Select): method __init__ (line 31) | def __init__(self, attrs=None): class ITProvinceSelect (line 34) | class ITProvinceSelect(Select): method __init__ (line 38) | def __init__(self, attrs=None): class ITSocialSecurityNumberField (line 41) | class ITSocialSecurityNumberField(RegexField): method __init__ (line 51) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method clean (line 55) | def clean(self, value): class ITVatNumberField (line 68) | class ITVatNumberField(Field): method clean (line 76) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/it/util.py function ssn_check_digit (line 3) | def ssn_check_digit(value): function vat_number_check_digit (line 35) | def vat_number_check_digit(vat_number): FILE: Django-1.5.1/django/contrib/localflavor/jp/forms.py class JPPostalCodeField (line 12) | class JPPostalCodeField(RegexField): method __init__ (line 22) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method clean (line 26) | def clean(self, value): class JPPrefectureSelect (line 34) | class JPPrefectureSelect(Select): method __init__ (line 38) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/localflavor/kw/forms.py class KWCivilIDNumberField (line 16) | class KWCivilIDNumberField(Field): method has_valid_checksum (line 30) | def has_valid_checksum(self, value): method clean (line 42) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/mk/forms.py class MKIdentityCardNumberField (line 13) | class MKIdentityCardNumberField(RegexField): method __init__ (line 22) | def __init__(self, *args, **kwargs): class MKMunicipalitySelect (line 29) | class MKMunicipalitySelect(Select): method __init__ (line 36) | def __init__(self, attrs=None): class UMCNField (line 40) | class UMCNField(RegexField): method __init__ (line 62) | def __init__(self, *args, **kwargs): method clean (line 67) | def clean(self, value): method _validate_checksum (line 80) | def _validate_checksum(self, value): method _validate_date_part (line 90) | def _validate_date_part(self, value): FILE: Django-1.5.1/django/contrib/localflavor/mk/models.py class MKIdentityCardNumberField (line 9) | class MKIdentityCardNumberField(CharField): method __init__ (line 13) | def __init__(self, *args, **kwargs): method formfield (line 17) | def formfield(self, **kwargs): class MKMunicipalityField (line 23) | class MKMunicipalityField(CharField): method __init__ (line 27) | def __init__(self, *args, **kwargs): class UMCNField (line 33) | class UMCNField(CharField): method __init__ (line 37) | def __init__(self, *args, **kwargs): method formfield (line 41) | def formfield(self, **kwargs): FILE: Django-1.5.1/django/contrib/localflavor/mx/forms.py class MXStateSelect (line 51) | class MXStateSelect(Select): method __init__ (line 55) | def __init__(self, attrs=None): class MXZipCodeField (line 59) | class MXZipCodeField(RegexField): method __init__ (line 70) | def __init__(self, *args, **kwargs): class MXRFCField (line 75) | class MXRFCField(RegexField): method __init__ (line 114) | def __init__(self, min_length=9, max_length=13, *args, **kwargs): method clean (line 120) | def clean(self, value): method _has_homoclave (line 132) | def _has_homoclave(self, rfc): method _checksum (line 142) | def _checksum(self, rfc): method _has_inconvenient_word (line 161) | def _has_inconvenient_word(self, rfc): class MXCURPField (line 166) | class MXCURPField(RegexField): method __init__ (line 195) | def __init__(self, min_length=18, max_length=18, *args, **kwargs): method clean (line 204) | def clean(self, value): method _checksum (line 215) | def _checksum(self, value): method _has_inconvenient_word (line 225) | def _has_inconvenient_word(self, curp): FILE: Django-1.5.1/django/contrib/localflavor/mx/models.py class MXStateField (line 9) | class MXStateField(CharField): method __init__ (line 16) | def __init__(self, *args, **kwargs): class MXZipCodeField (line 22) | class MXZipCodeField(CharField): method __init__ (line 29) | def __init__(self, *args, **kwargs): method formfield (line 33) | def formfield(self, **kwargs): class MXRFCField (line 39) | class MXRFCField(CharField): method __init__ (line 46) | def __init__(self, *args, **kwargs): method formfield (line 50) | def formfield(self, **kwargs): class MXCURPField (line 56) | class MXCURPField(CharField): method __init__ (line 63) | def __init__(self, *args, **kwargs): method formfield (line 67) | def formfield(self, **kwargs): FILE: Django-1.5.1/django/contrib/localflavor/nl/forms.py class NLZipCodeField (line 21) | class NLZipCodeField(Field): method clean (line 29) | def clean(self, value): class NLProvinceSelect (line 43) | class NLProvinceSelect(Select): method __init__ (line 48) | def __init__(self, attrs=None): class NLPhoneNumberField (line 51) | class NLPhoneNumberField(Field): method clean (line 59) | def clean(self, value): class NLSoFiNumberField (line 75) | class NLSoFiNumberField(Field): method clean (line 85) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/no/forms.py class NOZipCodeField (line 17) | class NOZipCodeField(RegexField): method __init__ (line 22) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class NOMunicipalitySelect (line 26) | class NOMunicipalitySelect(Select): method __init__ (line 31) | def __init__(self, attrs=None): class NOSocialSecurityNumber (line 34) | class NOSocialSecurityNumber(Field): method clean (line 42) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/pe/forms.py class PERegionSelect (line 15) | class PERegionSelect(Select): method __init__ (line 19) | def __init__(self, attrs=None): class PEDNIField (line 22) | class PEDNIField(CharField): method __init__ (line 31) | def __init__(self, max_length=8, min_length=8, *args, **kwargs): method clean (line 35) | def clean(self, value): class PERUCField (line 49) | class PERUCField(RegexField): method __init__ (line 59) | def __init__(self, max_length=11, min_length=11, *args, **kwargs): method clean (line 63) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/pl/forms.py class PLProvinceSelect (line 17) | class PLProvinceSelect(Select): method __init__ (line 21) | def __init__(self, attrs=None): class PLCountySelect (line 24) | class PLCountySelect(Select): method __init__ (line 28) | def __init__(self, attrs=None): class PLPESELField (line 31) | class PLPESELField(RegexField): method __init__ (line 46) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method clean (line 50) | def clean(self, value): method has_valid_checksum (line 58) | def has_valid_checksum(self, number): class PLNationalIDCardNumberField (line 68) | class PLNationalIDCardNumberField(RegexField): method __init__ (line 83) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method clean (line 87) | def clean(self,value): method has_valid_checksum (line 98) | def has_valid_checksum(self, number): class PLNIPField (line 122) | class PLNIPField(RegexField): method __init__ (line 135) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method clean (line 139) | def clean(self,value): method has_valid_checksum (line 148) | def has_valid_checksum(self, number): class PLREGONField (line 163) | class PLREGONField(RegexField): method __init__ (line 175) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method clean (line 179) | def clean(self,value): method has_valid_checksum (line 187) | def has_valid_checksum(self, number): class PLPostalCodeField (line 206) | class PLPostalCodeField(RegexField): method __init__ (line 215) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): FILE: Django-1.5.1/django/contrib/localflavor/pt/forms.py class PTZipCodeField (line 17) | class PTZipCodeField(RegexField): method __init__ (line 22) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method clean (line 26) | def clean(self,value): class PTPhoneNumberField (line 33) | class PTPhoneNumberField(Field): method clean (line 42) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/py/forms.py class PyDepartmentSelect (line 11) | class PyDepartmentSelect(Select): method __init__ (line 15) | def __init__(self, attrs=None): class PyNumberedDepartmentSelect (line 19) | class PyNumberedDepartmentSelect(Select): method __init__ (line 23) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/localflavor/ro/forms.py class ROCIFField (line 15) | class ROCIFField(RegexField): method __init__ (line 25) | def __init__(self, max_length=10, min_length=2, *args, **kwargs): method clean (line 29) | def clean(self, value): class ROCNPField (line 52) | class ROCNPField(RegexField): method __init__ (line 62) | def __init__(self, max_length=13, min_length=13, *args, **kwargs): method clean (line 66) | def clean(self, value): class ROCountyField (line 91) | class ROCountyField(Field): method clean (line 107) | def clean(self, value): class ROCountySelect (line 128) | class ROCountySelect(Select): method __init__ (line 133) | def __init__(self, attrs=None): class ROIBANField (line 136) | class ROIBANField(RegexField): method __init__ (line 146) | def __init__(self, max_length=40, min_length=24, *args, **kwargs): method clean (line 150) | def clean(self, value): class ROPhoneNumberField (line 172) | class ROPhoneNumberField(RegexField): method __init__ (line 178) | def __init__(self, max_length=20, min_length=10, *args, **kwargs): method clean (line 182) | def clean(self, value): class ROPostalCodeField (line 197) | class ROPostalCodeField(RegexField): method __init__ (line 203) | def __init__(self, max_length=6, min_length=6, *args, **kwargs): FILE: Django-1.5.1/django/contrib/localflavor/ru/forms.py class RUCountySelect (line 15) | class RUCountySelect(Select): method __init__ (line 19) | def __init__(self, attrs=None): class RURegionSelect (line 23) | class RURegionSelect(Select): method __init__ (line 27) | def __init__(self, attrs=None): class RUPostalCodeField (line 31) | class RUPostalCodeField(RegexField): method __init__ (line 39) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class RUPassportNumberField (line 44) | class RUPassportNumberField(RegexField): method __init__ (line 52) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class RUAlienPassportNumberField (line 57) | class RUAlienPassportNumberField(RegexField): method __init__ (line 65) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): FILE: Django-1.5.1/django/contrib/localflavor/se/forms.py class SECountySelect (line 24) | class SECountySelect(forms.Select): method __init__ (line 33) | def __init__(self, attrs=None): class SEOrganisationNumberField (line 37) | class SEOrganisationNumberField(forms.CharField): method clean (line 57) | def clean(self, value): class SEPersonalIdentityNumberField (line 85) | class SEPersonalIdentityNumberField(forms.CharField): method __init__ (line 106) | def __init__(self, coordination_number=True, *args, **kwargs): method clean (line 115) | def clean(self, value): class SEPostalCodeField (line 144) | class SEPostalCodeField(forms.RegexField): method __init__ (line 157) | def __init__(self, *args, **kwargs): method clean (line 160) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/se/utils.py function id_number_checksum (line 4) | def id_number_checksum(gd): function validate_id_birthday (line 24) | def validate_id_birthday(gd, fix_coordination_number_day=True): function format_personal_id_number (line 67) | def format_personal_id_number(birth_day, gd): function format_organisation_number (line 71) | def format_organisation_number(gd): function valid_organisation (line 79) | def valid_organisation(gd): FILE: Django-1.5.1/django/contrib/localflavor/si/forms.py class SIEMSOField (line 17) | class SIEMSOField(CharField): method clean (line 30) | def clean(self, value): class SITaxNumberField (line 79) | class SITaxNumberField(CharField): method clean (line 90) | def clean(self, value): class SIPostalCodeField (line 117) | class SIPostalCodeField(ChoiceField): method __init__ (line 121) | def __init__(self, *args, **kwargs): class SIPostalCodeSelect (line 126) | class SIPostalCodeSelect(Select): method __init__ (line 129) | def __init__(self, attrs=None): class SIPhoneNumberField (line 134) | class SIPhoneNumberField(CharField): method clean (line 155) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/sk/forms.py class SKRegionSelect (line 13) | class SKRegionSelect(Select): method __init__ (line 17) | def __init__(self, attrs=None): class SKDistrictSelect (line 20) | class SKDistrictSelect(Select): method __init__ (line 24) | def __init__(self, attrs=None): class SKPostalCodeField (line 27) | class SKPostalCodeField(RegexField): method __init__ (line 36) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method clean (line 40) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/tr/forms.py class TRPostalCodeField (line 19) | class TRPostalCodeField(RegexField): method __init__ (line 24) | def __init__(self, max_length=5, min_length=5, *args, **kwargs): method clean (line 28) | def clean(self, value): class TRPhoneNumberField (line 40) | class TRPhoneNumberField(CharField): method clean (line 45) | def clean(self, value): class TRIdentificationNumberField (line 55) | class TRIdentificationNumberField(Field): method clean (line 73) | def clean(self, value): class TRProvinceSelect (line 90) | class TRProvinceSelect(Select): method __init__ (line 94) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/localflavor/us/forms.py class USZipCodeField (line 19) | class USZipCodeField(RegexField): method __init__ (line 24) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): class USPhoneNumberField (line 28) | class USPhoneNumberField(CharField): method clean (line 33) | def clean(self, value): class USSocialSecurityNumberField (line 43) | class USSocialSecurityNumberField(Field): method clean (line 62) | def clean(self, value): class USStateField (line 85) | class USStateField(Field): method clean (line 95) | def clean(self, value): class USStateSelect (line 111) | class USStateSelect(Select): method __init__ (line 115) | def __init__(self, attrs=None): class USPSSelect (line 119) | class USPSSelect(Select): method __init__ (line 124) | def __init__(self, attrs=None): FILE: Django-1.5.1/django/contrib/localflavor/us/models.py class USStateField (line 6) | class USStateField(CharField): method __init__ (line 10) | def __init__(self, *args, **kwargs): class USPostalCodeField (line 15) | class USPostalCodeField(CharField): method __init__ (line 19) | def __init__(self, *args, **kwargs): class PhoneNumberField (line 24) | class PhoneNumberField(CharField): method __init__ (line 28) | def __init__(self, *args, **kwargs): method formfield (line 32) | def formfield(self, **kwargs): FILE: Django-1.5.1/django/contrib/localflavor/uy/forms.py class UYDepartamentSelect (line 15) | class UYDepartamentSelect(Select): method __init__ (line 19) | def __init__(self, attrs=None): class UYCIField (line 24) | class UYCIField(RegexField): method __init__ (line 34) | def __init__(self, *args, **kwargs): method clean (line 38) | def clean(self, value): FILE: Django-1.5.1/django/contrib/localflavor/uy/util.py function get_validation_digit (line 3) | def get_validation_digit(number): FILE: Django-1.5.1/django/contrib/localflavor/za/forms.py class ZAIDField (line 16) | class ZAIDField(CharField): method clean (line 25) | def clean(self, value): class ZAPostCodeField (line 54) | class ZAPostCodeField(RegexField): method __init__ (line 59) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): FILE: Django-1.5.1/django/contrib/markup/templatetags/markup.py function textile (line 22) | def textile(value): function markdown (line 33) | def markdown(value, arg=''): function restructuredtext (line 77) | def restructuredtext(value): FILE: Django-1.5.1/django/contrib/markup/tests.py class Templates (line 26) | class Templates(test.TestCase): method setUp (line 42) | def setUp(self): method tearDown (line 46) | def tearDown(self): method test_textile (line 50) | def test_textile(self): method test_no_textile (line 58) | def test_no_textile(self): method test_markdown (line 64) | def test_markdown(self): method test_markdown_attribute_disable (line 71) | def test_markdown_attribute_disable(self): method test_markdown_attribute_enable (line 78) | def test_markdown_attribute_enable(self): method test_no_markdown (line 85) | def test_no_markdown(self): method test_docutils (line 91) | def test_docutils(self): method test_no_docutils (line 105) | def test_no_docutils(self): FILE: Django-1.5.1/django/contrib/messages/api.py class MessageFailure (line 11) | class MessageFailure(Exception): function add_message (line 15) | def add_message(request, level, message, extra_tags='', fail_silently=Fa... function get_messages (line 26) | def get_messages(request): function get_level (line 37) | def get_level(request): function set_level (line 51) | def set_level(request, level): function debug (line 65) | def debug(request, message, extra_tags='', fail_silently=False): function info (line 73) | def info(request, message, extra_tags='', fail_silently=False): function success (line 81) | def success(request, message, extra_tags='', fail_silently=False): function warning (line 89) | def warning(request, message, extra_tags='', fail_silently=False): function error (line 97) | def error(request, message, extra_tags='', fail_silently=False): FILE: Django-1.5.1/django/contrib/messages/context_processors.py function messages (line 4) | def messages(request): FILE: Django-1.5.1/django/contrib/messages/middleware.py class MessageMiddleware (line 5) | class MessageMiddleware(object): method process_request (line 10) | def process_request(self, request): method process_response (line 13) | def process_response(self, request, response): FILE: Django-1.5.1/django/contrib/messages/storage/__init__.py function get_storage (line 6) | def get_storage(import_path): FILE: Django-1.5.1/django/contrib/messages/storage/base.py class Message (line 12) | class Message(object): method __init__ (line 19) | def __init__(self, level, message, extra_tags=None): method _prepare (line 24) | def _prepare(self): method __eq__ (line 35) | def __eq__(self, other): method __str__ (line 39) | def __str__(self): method _get_tags (line 42) | def _get_tags(self): class BaseStorage (line 56) | class BaseStorage(object): method __init__ (line 64) | def __init__(self, request, *args, **kwargs): method __len__ (line 71) | def __len__(self): method __iter__ (line 74) | def __iter__(self): method __contains__ (line 81) | def __contains__(self, item): method _loaded_messages (line 85) | def _loaded_messages(self): method _get (line 95) | def _get(self, *args, **kwargs): method _store (line 110) | def _store(self, messages, response, *args, **kwargs): method _prepare_messages (line 121) | def _prepare_messages(self, messages): method update (line 128) | def update(self, response): method add (line 143) | def add(self, level, message, extra_tags=''): method _get_level (line 161) | def _get_level(self): method _set_level (line 172) | def _set_level(self, value=None): FILE: Django-1.5.1/django/contrib/messages/storage/cookie.py class MessageEncoder (line 11) | class MessageEncoder(json.JSONEncoder): method default (line 17) | def default(self, obj): class MessageDecoder (line 28) | class MessageDecoder(json.JSONDecoder): method process_messages (line 33) | def process_messages(self, obj): method decode (line 48) | def decode(self, s, **kwargs): class CookieStorage (line 52) | class CookieStorage(BaseStorage): method _get (line 63) | def _get(self, *args, **kwargs): method _update_cookie (line 78) | def _update_cookie(self, encoded_data, response): method _store (line 90) | def _store(self, messages, response, remove_oldest=True, *args, **kwar... method _hash (line 118) | def _hash(self, value): method _encode (line 126) | def _encode(self, messages, encode_empty=False): method _decode (line 139) | def _decode(self, data): FILE: Django-1.5.1/django/contrib/messages/storage/fallback.py class FallbackStorage (line 5) | class FallbackStorage(BaseStorage): method __init__ (line 12) | def __init__(self, *args, **kwargs): method _get (line 18) | def _get(self, *args, **kwargs): method _store (line 37) | def _store(self, messages, response, *args, **kwargs): FILE: Django-1.5.1/django/contrib/messages/storage/session.py class SessionStorage (line 4) | class SessionStorage(BaseStorage): method __init__ (line 10) | def __init__(self, request, *args, **kwargs): method _get (line 17) | def _get(self, *args, **kwargs): method _store (line 25) | def _store(self, messages, response, *args, **kwargs): FILE: Django-1.5.1/django/contrib/messages/tests/base.py function skipUnlessAuthIsInstalled (line 14) | def skipUnlessAuthIsInstalled(func): function add_level_messages (line 20) | def add_level_messages(storage): class override_settings_tags (line 33) | class override_settings_tags(override_settings): method enable (line 34) | def enable(self): method disable (line 41) | def disable(self): class BaseTest (line 46) | class BaseTest(TestCase): method setUp (line 57) | def setUp(self): method tearDown (line 67) | def tearDown(self): method get_request (line 70) | def get_request(self): method get_response (line 73) | def get_response(self): method get_storage (line 76) | def get_storage(self, data=None): method test_add (line 89) | def test_add(self): method test_add_lazy_translation (line 97) | def test_add_lazy_translation(self): method test_no_update (line 107) | def test_no_update(self): method test_add_update (line 114) | def test_add_update(self): method test_existing_add_read_update (line 125) | def test_existing_add_read_update(self): method test_existing_read_add_update (line 136) | def test_existing_read_add_update(self): method test_full_request_response_cycle (line 148) | def test_full_request_response_cycle(self): method test_with_template_response (line 171) | def test_with_template_response(self): method test_multiple_posts (line 191) | def test_multiple_posts(self): method test_middleware_disabled (line 223) | def test_middleware_disabled(self): method test_middleware_disabled_fail_silently (line 248) | def test_middleware_disabled_fail_silently(self): method stored_messages_count (line 265) | def stored_messages_count(self, storage, response): method test_get (line 272) | def test_get(self): method get_existing_storage (line 275) | def get_existing_storage(self): method test_existing_read (line 280) | def test_existing_read(self): method test_existing_add (line 293) | def test_existing_add(self): method test_default_level (line 299) | def test_default_level(self): method test_low_level (line 313) | def test_low_level(self): method test_high_level (line 324) | def test_high_level(self): method test_settings_level (line 336) | def test_settings_level(self): method test_tags (line 345) | def test_tags(self): method test_custom_tags (line 362) | def test_custom_tags(self): FILE: Django-1.5.1/django/contrib/messages/tests/cookie.py function set_cookie_data (line 12) | def set_cookie_data(storage, messages, invalid=False, encode_empty=False): function stored_cookie_messages_count (line 26) | def stored_cookie_messages_count(storage, response): class CookieTest (line 44) | class CookieTest(BaseTest): method stored_messages_count (line 47) | def stored_messages_count(self, storage, response): method test_get (line 50) | def test_get(self): method test_domain (line 58) | def test_domain(self): method test_get_bad_cookie (line 83) | def test_get_bad_cookie(self): method test_max_cookie_length (line 92) | def test_max_cookie_length(self): method test_json_encoder_decoder (line 117) | def test_json_encoder_decoder(self): method test_safedata (line 137) | def test_safedata(self): FILE: Django-1.5.1/django/contrib/messages/tests/fallback.py class FallbackTest (line 11) | class FallbackTest(BaseTest): method get_request (line 14) | def get_request(self): method get_cookie_storage (line 20) | def get_cookie_storage(self, storage): method get_session_storage (line 23) | def get_session_storage(self, storage): method stored_cookie_messages_count (line 26) | def stored_cookie_messages_count(self, storage, response): method stored_session_messages_count (line 30) | def stored_session_messages_count(self, storage, response): method stored_messages_count (line 33) | def stored_messages_count(self, storage, response): method test_get (line 41) | def test_get(self): method test_get_empty (line 57) | def test_get_empty(self): method test_get_fallback (line 68) | def test_get_fallback(self): method test_get_fallback_only (line 83) | def test_get_fallback_only(self): method test_flush_used_backends (line 98) | def test_flush_used_backends(self): method test_no_fallback (line 116) | def test_no_fallback(self): method test_session_fallback (line 142) | def test_session_fallback(self): method test_session_fallback_only (line 161) | def test_session_fallback_only(self): FILE: Django-1.5.1/django/contrib/messages/tests/middleware.py class MiddlewareTest (line 6) | class MiddlewareTest(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_response_without_messages (line 11) | def test_response_without_messages(self): FILE: Django-1.5.1/django/contrib/messages/tests/session.py function set_session_data (line 8) | def set_session_data(storage, messages): function stored_session_messages_count (line 18) | def stored_session_messages_count(storage): class SessionTest (line 23) | class SessionTest(BaseTest): method get_request (line 26) | def get_request(self): method stored_messages_count (line 32) | def stored_messages_count(self, storage, response): method test_get (line 35) | def test_get(self): method test_safedata (line 43) | def test_safedata(self): FILE: Django-1.5.1/django/contrib/messages/tests/urls.py function add (line 21) | def add(request, message_type): function add_template_response (line 36) | def add_template_response(request, message_type): function show (line 44) | def show(request): function show_template_response (line 49) | def show_template_response(request): FILE: Django-1.5.1/django/contrib/messages/utils.py function get_level_tags (line 5) | def get_level_tags(): FILE: Django-1.5.1/django/contrib/redirects/admin.py class RedirectAdmin (line 5) | class RedirectAdmin(admin.ModelAdmin): FILE: Django-1.5.1/django/contrib/redirects/middleware.py class RedirectFallbackMiddleware (line 10) | class RedirectFallbackMiddleware(object): method __init__ (line 11) | def __init__(self): method process_response (line 18) | def process_response(self, request, response): FILE: Django-1.5.1/django/contrib/redirects/models.py class Redirect (line 7) | class Redirect(models.Model): class Meta (line 14) | class Meta: method __str__ (line 21) | def __str__(self): FILE: Django-1.5.1/django/contrib/redirects/tests.py class RedirectTests (line 18) | class RedirectTests(TestCase): method setUp (line 20) | def setUp(self): method test_model (line 23) | def test_model(self): method test_redirect (line 28) | def test_redirect(self): method test_redirect_with_append_slash (line 36) | def test_redirect_with_append_slash(self): method test_redirect_with_append_slash_and_query_string (line 44) | def test_redirect_with_append_slash_and_query_string(self): method test_response_gone (line 51) | def test_response_gone(self): method test_sites_not_installed (line 61) | def test_sites_not_installed(self): FILE: Django-1.5.1/django/contrib/sessions/backends/base.py class CreateError (line 23) | class CreateError(Exception): class SessionBase (line 30) | class SessionBase(object): method __init__ (line 37) | def __init__(self, session_key=None): method __contains__ (line 42) | def __contains__(self, key): method __getitem__ (line 45) | def __getitem__(self, key): method __setitem__ (line 48) | def __setitem__(self, key, value): method __delitem__ (line 52) | def __delitem__(self, key): method get (line 56) | def get(self, key, default=None): method pop (line 59) | def pop(self, key, *args): method setdefault (line 63) | def setdefault(self, key, value): method set_test_cookie (line 71) | def set_test_cookie(self): method test_cookie_worked (line 74) | def test_cookie_worked(self): method delete_test_cookie (line 77) | def delete_test_cookie(self): method _hash (line 80) | def _hash(self, value): method encode (line 84) | def encode(self, session_dict): method decode (line 90) | def decode(self, session_data): method update (line 105) | def update(self, dict_): method has_key (line 109) | def has_key(self, key): method keys (line 112) | def keys(self): method values (line 115) | def values(self): method items (line 118) | def items(self): method iterkeys (line 121) | def iterkeys(self): method itervalues (line 124) | def itervalues(self): method iteritems (line 127) | def iteritems(self): method clear (line 130) | def clear(self): method _get_new_session_key (line 138) | def _get_new_session_key(self): method _get_or_create_session_key (line 146) | def _get_or_create_session_key(self): method _get_session_key (line 151) | def _get_session_key(self): method _get_session (line 156) | def _get_session(self, no_load=False): method get_expiry_age (line 173) | def get_expiry_age(self, **kwargs): method get_expiry_date (line 198) | def get_expiry_date(self, **kwargs): method set_expiry (line 220) | def set_expiry(self, value): method get_expire_at_browser_close (line 246) | def get_expire_at_browser_close(self): method flush (line 257) | def flush(self): method cycle_key (line 266) | def cycle_key(self): method exists (line 278) | def exists(self, session_key): method create (line 284) | def create(self): method save (line 292) | def save(self, must_create=False): method delete (line 300) | def delete(self, session_key=None): method load (line 307) | def load(self): method clear_expired (line 314) | def clear_expired(cls): FILE: Django-1.5.1/django/contrib/sessions/backends/cache.py class SessionStore (line 9) | class SessionStore(SessionBase): method __init__ (line 13) | def __init__(self, session_key=None): method cache_key (line 18) | def cache_key(self): method load (line 21) | def load(self): method create (line 33) | def create(self): method save (line 49) | def save(self, must_create=False): method exists (line 60) | def exists(self, session_key): method delete (line 63) | def delete(self, session_key=None): method clear_expired (line 71) | def clear_expired(cls): FILE: Django-1.5.1/django/contrib/sessions/backends/cached_db.py class SessionStore (line 13) | class SessionStore(DBStore): method __init__ (line 18) | def __init__(self, session_key=None): method cache_key (line 22) | def cache_key(self): method load (line 25) | def load(self): method exists (line 49) | def exists(self, session_key): method save (line 54) | def save(self, must_create=False): method delete (line 58) | def delete(self, session_key=None): method flush (line 66) | def flush(self): FILE: Django-1.5.1/django/contrib/sessions/backends/db.py class SessionStore (line 7) | class SessionStore(SessionBase): method __init__ (line 11) | def __init__(self, session_key=None): method load (line 14) | def load(self): method exists (line 25) | def exists(self, session_key): method create (line 28) | def create(self): method save (line 42) | def save(self, must_create=False): method delete (line 64) | def delete(self, session_key=None): method clear_expired (line 75) | def clear_expired(cls): FILE: Django-1.5.1/django/contrib/sessions/backends/file.py class SessionStore (line 11) | class SessionStore(SessionBase): method __init__ (line 15) | def __init__(self, session_key=None): method _get_storage_path (line 21) | def _get_storage_path(cls): method _key_to_file (line 39) | def _key_to_file(self, session_key=None): method _last_modification (line 55) | def _last_modification(self): method load (line 67) | def load(self): method create (line 92) | def create(self): method save (line 103) | def save(self, must_create=False): method exists (line 159) | def exists(self, session_key): method delete (line 162) | def delete(self, session_key=None): method clean (line 172) | def clean(self): method clear_expired (line 176) | def clear_expired(cls): FILE: Django-1.5.1/django/contrib/sessions/backends/signed_cookies.py class PickleSerializer (line 12) | class PickleSerializer(object): method dumps (line 17) | def dumps(self, obj): method loads (line 20) | def loads(self, data): class SessionStore (line 24) | class SessionStore(SessionBase): method load (line 26) | def load(self): method create (line 42) | def create(self): method save (line 49) | def save(self, must_create=False): method exists (line 58) | def exists(self, session_key=None): method delete (line 66) | def delete(self, session_key=None): method cycle_key (line 76) | def cycle_key(self): method _get_session_key (line 84) | def _get_session_key(self): method clear_expired (line 97) | def clear_expired(cls): FILE: Django-1.5.1/django/contrib/sessions/management/commands/clearsessions.py class Command (line 6) | class Command(NoArgsCommand): method handle_noargs (line 9) | def handle_noargs(self, **options): FILE: Django-1.5.1/django/contrib/sessions/middleware.py class SessionMiddleware (line 8) | class SessionMiddleware(object): method process_request (line 9) | def process_request(self, request): method process_response (line 14) | def process_response(self, request, response): FILE: Django-1.5.1/django/contrib/sessions/models.py class SessionManager (line 5) | class SessionManager(models.Manager): method encode (line 6) | def encode(self, session_dict): method save (line 12) | def save(self, session_key, session_dict, expire_date): class Session (line 21) | class Session(models.Model): class Meta (line 44) | class Meta: method get_decoded (line 49) | def get_decoded(self): FILE: Django-1.5.1/django/contrib/sessions/tests.py class SessionTestsMixin (line 27) | class SessionTestsMixin(object): method setUp (line 34) | def setUp(self): method tearDown (line 37) | def tearDown(self): method test_new_session (line 43) | def test_new_session(self): method test_get_empty (line 47) | def test_get_empty(self): method test_store (line 50) | def test_store(self): method test_pop (line 55) | def test_pop(self): method test_pop_default (line 66) | def test_pop_default(self): method test_setdefault (line 72) | def test_setdefault(self): method test_update (line 78) | def test_update(self): method test_has_key (line 84) | def test_has_key(self): method test_values (line 92) | def test_values(self): method test_iterkeys (line 98) | def test_iterkeys(self): method test_itervalues (line 108) | def test_itervalues(self): method test_iteritems (line 118) | def test_iteritems(self): method test_clear (line 128) | def test_clear(self): method test_save (line 138) | def test_save(self): method test_delete (line 145) | def test_delete(self): method test_flush (line 150) | def test_flush(self): method test_cycle (line 160) | def test_cycle(self): method test_invalid_key (line 169) | def test_invalid_key(self): method test_session_key_is_read_only (line 186) | def test_session_key_is_read_only(self): method test_default_expiry (line 192) | def test_default_expiry(self): method test_custom_expiry_seconds (line 201) | def test_custom_expiry_seconds(self): method test_custom_expiry_timedelta (line 212) | def test_custom_expiry_timedelta(self): method test_custom_expiry_datetime (line 229) | def test_custom_expiry_datetime(self): method test_custom_expiry_reset (line 240) | def test_custom_expiry_reset(self): method test_get_expire_at_browser_close (line 246) | def test_get_expire_at_browser_close(self): method test_decode (line 269) | def test_decode(self): method test_actual_expiry (line 275) | def test_actual_expiry(self): class DatabaseSessionTests (line 293) | class DatabaseSessionTests(SessionTestsMixin, TestCase): method test_session_get_decoded (line 297) | def test_session_get_decoded(self): method test_sessionmanager_save (line 309) | def test_sessionmanager_save(self): method test_clearsessions_command (line 325) | def test_clearsessions_command(self): class DatabaseSessionWithTimeZoneTests (line 350) | class DatabaseSessionWithTimeZoneTests(DatabaseSessionTests): class CacheDBSessionTests (line 354) | class CacheDBSessionTests(SessionTestsMixin, TestCase): method test_exists_searches_cache_first (line 361) | def test_exists_searches_cache_first(self): method test_load_overlong_key (line 366) | def test_load_overlong_key(self): class CacheDBSessionWithTimeZoneTests (line 375) | class CacheDBSessionWithTimeZoneTests(CacheDBSessionTests): class FileSessionTests (line 380) | class FileSessionTests(SessionTestsMixin, unittest.TestCase): method setUp (line 384) | def setUp(self): method tearDown (line 393) | def tearDown(self): method test_configuration_check (line 400) | def test_configuration_check(self): method test_invalid_key_backslash (line 405) | def test_invalid_key_backslash(self): method test_invalid_key_forwardslash (line 410) | def test_invalid_key_forwardslash(self): method test_clearsessions_command (line 416) | def test_clearsessions_command(self): class CacheSessionTests (line 447) | class CacheSessionTests(SessionTestsMixin, unittest.TestCase): method test_load_overlong_key (line 451) | def test_load_overlong_key(self): method test_default_cache (line 458) | def test_default_cache(self): method test_non_default_cache (line 470) | def test_non_default_cache(self): class SessionMiddlewareTests (line 476) | class SessionMiddlewareTests(unittest.TestCase): method test_secure_session_cookie (line 479) | def test_secure_session_cookie(self): method test_httponly_session_cookie (line 494) | def test_httponly_session_cookie(self): method test_no_httponly_session_cookie (line 511) | def test_no_httponly_session_cookie(self): method test_session_save_on_500 (line 527) | def test_session_save_on_500(self): class CookieSessionTests (line 544) | class CookieSessionTests(SessionTestsMixin, TestCase): method test_save (line 548) | def test_save(self): method test_cycle (line 555) | def test_cycle(self): method test_actual_expiry (line 565) | def test_actual_expiry(self): FILE: Django-1.5.1/django/contrib/sitemaps/__init__.py class SitemapNotFound (line 12) | class SitemapNotFound(Exception): function ping_google (line 15) | def ping_google(sitemap_url=None, ping_url=PING_URL): class Sitemap (line 42) | class Sitemap(object): method __get (line 51) | def __get(self, name, obj, default=None): method items (line 60) | def items(self): method location (line 63) | def location(self, obj): method _get_paginator (line 66) | def _get_paginator(self): method get_urls (line 70) | def get_urls(self, page=1, site=None, protocol=None): class FlatPageSitemap (line 102) | class FlatPageSitemap(Sitemap): method items (line 103) | def items(self): class GenericSitemap (line 107) | class GenericSitemap(Sitemap): method __init__ (line 111) | def __init__(self, info_dict, priority=None, changefreq=None): method items (line 117) | def items(self): method lastmod (line 121) | def lastmod(self, item): FILE: Django-1.5.1/django/contrib/sitemaps/management/commands/ping_google.py class Command (line 5) | class Command(BaseCommand): method execute (line 8) | def execute(self, *args, **options): FILE: Django-1.5.1/django/contrib/sitemaps/tests/base.py class TestModel (line 8) | class TestModel(models.Model): class Meta (line 12) | class Meta: method __unicode__ (line 15) | def __unicode__(self): method get_absolute_url (line 18) | def get_absolute_url(self): class SitemapTestsBase (line 22) | class SitemapTestsBase(TestCase): method setUp (line 27) | def setUp(self): method tearDown (line 34) | def tearDown(self): FILE: Django-1.5.1/django/contrib/sitemaps/tests/flatpages.py class FlatpagesSitemapTests (line 8) | class FlatpagesSitemapTests(SitemapTestsBase): method test_flatpage_sitemap (line 12) | def test_flatpage_sitemap(self): FILE: Django-1.5.1/django/contrib/sitemaps/tests/generic.py class GenericViewsSitemapTests (line 9) | class GenericViewsSitemapTests(SitemapTestsBase): method test_generic_sitemap (line 11) | def test_generic_sitemap(self): FILE: Django-1.5.1/django/contrib/sitemaps/tests/http.py class HTTPSitemapTests (line 19) | class HTTPSitemapTests(SitemapTestsBase): method test_simple_sitemap_index (line 21) | def test_simple_sitemap_index(self): method test_simple_sitemap_custom_index (line 34) | def test_simple_sitemap_custom_index(self): method test_simple_sitemap_section (line 46) | def test_simple_sitemap_section(self): method test_simple_sitemap (line 56) | def test_simple_sitemap(self): method test_simple_custom_sitemap (line 69) | def test_simple_custom_sitemap(self): method test_localized_priority (line 82) | def test_localized_priority(self): method test_requestsite_sitemap (line 94) | def test_requestsite_sitemap(self): method test_sitemap_get_urls_no_site_1 (line 108) | def test_sitemap_get_urls_no_site_1(self): method test_sitemap_get_urls_no_site_2 (line 116) | def test_sitemap_get_urls_no_site_2(self): method test_sitemap_item (line 125) | def test_sitemap_item(self): method test_cached_sitemap_index (line 136) | def test_cached_sitemap_index(self): FILE: Django-1.5.1/django/contrib/sitemaps/tests/https.py class HTTPSSitemapTests (line 9) | class HTTPSSitemapTests(SitemapTestsBase): method test_secure_sitemap_index (line 13) | def test_secure_sitemap_index(self): method test_secure_sitemap_section (line 23) | def test_secure_sitemap_section(self): class HTTPSDetectionSitemapTests (line 35) | class HTTPSDetectionSitemapTests(SitemapTestsBase): method test_sitemap_index_with_https_request (line 38) | def test_sitemap_index_with_https_request(self): method test_sitemap_section_with_https_request (line 48) | def test_sitemap_section_with_https_request(self): FILE: Django-1.5.1/django/contrib/sitemaps/tests/urls/http.py class SimpleSitemap (line 10) | class SimpleSitemap(Sitemap): method items (line 16) | def items(self): FILE: Django-1.5.1/django/contrib/sitemaps/tests/urls/https.py class HTTPSSitemap (line 5) | class HTTPSSitemap(SimpleSitemap): FILE: Django-1.5.1/django/contrib/sitemaps/views.py function index (line 10) | def index(request, sitemaps, function sitemap (line 38) | def sitemap(request, sitemaps, section=None, FILE: Django-1.5.1/django/contrib/sites/admin.py class SiteAdmin (line 5) | class SiteAdmin(admin.ModelAdmin): FILE: Django-1.5.1/django/contrib/sites/management.py function create_default_site (line 12) | def create_default_site(app, created_models, verbosity, db, **kwargs): FILE: Django-1.5.1/django/contrib/sites/managers.py class CurrentSiteManager (line 5) | class CurrentSiteManager(models.Manager): method __init__ (line 7) | def __init__(self, field_name=None): method _validate_field_name (line 12) | def _validate_field_name(self): method get_query_set (line 38) | def get_query_set(self): FILE: Django-1.5.1/django/contrib/sites/models.py class SiteManager (line 9) | class SiteManager(models.Manager): method get_current (line 11) | def get_current(self): method clear_cache (line 30) | def clear_cache(self): class Site (line 37) | class Site(models.Model): class Meta (line 43) | class Meta: method __str__ (line 49) | def __str__(self): method save (line 52) | def save(self, *args, **kwargs): method delete (line 58) | def delete(self): class RequestSite (line 68) | class RequestSite(object): method __init__ (line 76) | def __init__(self, request): method __str__ (line 79) | def __str__(self): method save (line 82) | def save(self, force_insert=False, force_update=False): method delete (line 85) | def delete(self): function get_current_site (line 89) | def get_current_site(request): FILE: Django-1.5.1/django/contrib/sites/tests.py class SitesFrameworkTests (line 11) | class SitesFrameworkTests(TestCase): method setUp (line 13) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_save_another (line 21) | def test_save_another(self): method test_site_manager (line 27) | def test_site_manager(self): method test_site_cache (line 34) | def test_site_cache(self): method test_get_current_site (line 46) | def test_get_current_site(self): FILE: Django-1.5.1/django/contrib/staticfiles/finders.py class BaseFinder (line 17) | class BaseFinder(object): method find (line 21) | def find(self, path, all=False): method list (line 32) | def list(self, ignore_patterns): class FileSystemFinder (line 41) | class FileSystemFinder(BaseFinder): method __init__ (line 46) | def __init__(self, apps=None, *args, **kwargs): method find (line 72) | def find(self, path, all=False): method find_location (line 86) | def find_location(self, root, path, prefix=None): method list (line 100) | def list(self, ignore_patterns): class AppDirectoriesFinder (line 110) | class AppDirectoriesFinder(BaseFinder): method __init__ (line 117) | def __init__(self, apps=None, *args, **kwargs): method list (line 132) | def list(self, ignore_patterns): method find (line 141) | def find(self, path, all=False): method find_in_app (line 154) | def find_in_app(self, app, path): class BaseStorageFinder (line 172) | class BaseStorageFinder(BaseFinder): method __init__ (line 179) | def __init__(self, storage=None, *args, **kwargs): method find (line 191) | def find(self, path, all=False): method list (line 207) | def list(self, ignore_patterns): class DefaultStorageFinder (line 215) | class DefaultStorageFinder(BaseStorageFinder): method __init__ (line 221) | def __init__(self, *args, **kwargs): function find (line 230) | def find(path, all=False): function get_finders (line 251) | def get_finders(): function _get_finder (line 256) | def _get_finder(import_path): FILE: Django-1.5.1/django/contrib/staticfiles/handlers.py class StaticFilesHandler (line 15) | class StaticFilesHandler(WSGIHandler): method __init__ (line 20) | def __init__(self, application, base_dir=None): method get_base_dir (line 29) | def get_base_dir(self): method get_base_url (line 32) | def get_base_url(self): method _should_handle (line 36) | def _should_handle(self, path): method file_path (line 45) | def file_path(self, url): method serve (line 52) | def serve(self, request): method get_response (line 58) | def get_response(self, request): method __call__ (line 70) | def __call__(self, environ, start_response): FILE: Django-1.5.1/django/contrib/staticfiles/management/commands/collectstatic.py class Command (line 16) | class Command(NoArgsCommand): method __init__ (line 50) | def __init__(self, *args, **kwargs): method set_options (line 67) | def set_options(self, **options): method collect (line 82) | def collect(self): method handle_noargs (line 135) | def handle_noargs(self, **options): method log (line 186) | def log(self, msg, level=2): method clear_dir (line 193) | def clear_dir(self, path): method delete_file (line 209) | def delete_file(self, path, prefixed_path, source_storage): method link_file (line 251) | def link_file(self, path, prefixed_path, source_storage): method copy_file (line 277) | def copy_file(self, path, prefixed_path, source_storage): FILE: Django-1.5.1/django/contrib/staticfiles/management/commands/findstatic.py class Command (line 10) | class Command(LabelCommand): method handle_label (line 19) | def handle_label(self, path, **options): FILE: Django-1.5.1/django/contrib/staticfiles/management/commands/runserver.py class Command (line 8) | class Command(RunserverCommand): method get_handler (line 17) | def get_handler(self, *args, **options): FILE: Django-1.5.1/django/contrib/staticfiles/storage.py class StaticFilesStorage (line 27) | class StaticFilesStorage(FileSystemStorage): method __init__ (line 34) | def __init__(self, location=None, base_url=None, *args, **kwargs): method path (line 43) | def path(self, name): class CachedFilesMixin (line 51) | class CachedFilesMixin(object): method __init__ (line 60) | def __init__(self, *args, **kwargs): method file_hash (line 77) | def file_hash(self, name, content=None): method hashed_name (line 88) | def hashed_name(self, name, content=None): method cache_key (line 121) | def cache_key(self, name): method url (line 124) | def url(self, name, force=False): method url_converter (line 158) | def url_converter(self, name, template=None): method post_process (line 203) | def post_process(self, paths, dry_run=False, **options): class CachedStaticFilesStorage (line 278) | class CachedStaticFilesStorage(CachedFilesMixin, StaticFilesStorage): class AppStaticStorage (line 286) | class AppStaticStorage(FileSystemStorage): method __init__ (line 294) | def __init__(self, app, *args, **kwargs): class ConfiguredStorage (line 305) | class ConfiguredStorage(LazyObject): method _setup (line 306) | def _setup(self): FILE: Django-1.5.1/django/contrib/staticfiles/templatetags/staticfiles.py class StaticFilesNode (line 8) | class StaticFilesNode(StaticNode): method url (line 10) | def url(self, context): function do_static (line 16) | def do_static(parser, token): function static (line 36) | def static(path): FILE: Django-1.5.1/django/contrib/staticfiles/urls.py function staticfiles_urlpatterns (line 6) | def staticfiles_urlpatterns(prefix=None): FILE: Django-1.5.1/django/contrib/staticfiles/utils.py function matches_patterns (line 6) | def matches_patterns(path, patterns=None): function get_files (line 18) | def get_files(storage, ignore_patterns=None, location=''): function check_settings (line 40) | def check_settings(base_url=None): FILE: Django-1.5.1/django/contrib/staticfiles/views.py function serve (line 20) | def serve(request, path, document_root=None, insecure=False, **kwargs): FILE: Django-1.5.1/django/contrib/syndication/views.py function add_domain (line 18) | def add_domain(domain, url, secure=False): class FeedDoesNotExist (line 30) | class FeedDoesNotExist(ObjectDoesNotExist): class Feed (line 34) | class Feed(object): method __call__ (line 39) | def __call__(self, request, *args, **kwargs): method item_title (line 54) | def item_title(self, item): method item_description (line 58) | def item_description(self, item): method item_link (line 61) | def item_link(self, item): method __get_dynamic_attr (line 67) | def __get_dynamic_attr(self, attname, obj, default=None): method feed_extra_kwargs (line 86) | def feed_extra_kwargs(self, obj): method item_extra_kwargs (line 93) | def item_extra_kwargs(self, item): method get_object (line 100) | def get_object(self, request, *args, **kwargs): method get_feed (line 103) | def get_feed(self, obj, request): FILE: Django-1.5.1/django/contrib/webdesign/lorem_ipsum.py function sentence (line 45) | def sentence(): function paragraph (line 59) | def paragraph(): function paragraphs (line 67) | def paragraphs(count, common=True): function words (line 83) | def words(count, common=True): FILE: Django-1.5.1/django/contrib/webdesign/templatetags/webdesign.py class LoremNode (line 8) | class LoremNode(template.Node): method __init__ (line 9) | def __init__(self, count, method, common): method render (line 12) | def render(self, context): function lorem (line 26) | def lorem(parser, token): FILE: Django-1.5.1/django/contrib/webdesign/tests.py class WebdesignTest (line 10) | class WebdesignTest(unittest.TestCase): method test_words (line 12) | def test_words(self): method test_paragraphs (line 15) | def test_paragraphs(self): method test_lorem_tag (line 19) | def test_lorem_tag(self): FILE: Django-1.5.1/django/core/cache/__init__.py function parse_backend_uri (line 48) | def parse_backend_uri(backend_uri): function parse_backend_conf (line 78) | def parse_backend_conf(backend, **kwargs): function get_cache (line 106) | def get_cache(backend, **kwargs): FILE: Django-1.5.1/django/core/cache/backends/base.py class InvalidCacheBackendError (line 9) | class InvalidCacheBackendError(ImproperlyConfigured): class CacheKeyWarning (line 12) | class CacheKeyWarning(DjangoRuntimeWarning): function default_key_func (line 19) | def default_key_func(key, key_prefix, version): function get_key_func (line 30) | def get_key_func(key_func): class BaseCache (line 45) | class BaseCache(object): method __init__ (line 46) | def __init__(self, params): method make_key (line 78) | def make_key(self, key, version=None): method add (line 93) | def add(self, key, value, timeout=None, version=None): method get (line 105) | def get(self, key, default=None, version=None): method set (line 113) | def set(self, key, value, timeout=None, version=None): method delete (line 120) | def delete(self, key, version=None): method get_many (line 126) | def get_many(self, keys, version=None): method has_key (line 142) | def has_key(self, key, version=None): method incr (line 149) | def incr(self, key, delta=1, version=None): method decr (line 162) | def decr(self, key, delta=1, version=None): method __contains__ (line 170) | def __contains__(self, key): method set_many (line 179) | def set_many(self, data, timeout=None, version=None): method delete_many (line 191) | def delete_many(self, keys, version=None): method clear (line 200) | def clear(self): method validate_key (line 205) | def validate_key(self, key): method incr_version (line 224) | def incr_version(self, key, delta=1, version=None): method decr_version (line 239) | def decr_version(self, key, delta=1, version=None): FILE: Django-1.5.1/django/core/cache/backends/db.py class Options (line 20) | class Options(object): method __init__ (line 25) | def __init__(self, table): class BaseDatabaseCache (line 36) | class BaseDatabaseCache(BaseCache): 多了一个 table function __init__ (line 37) | def __init__(self, table, params): class DatabaseCache (line 46) | class DatabaseCache(BaseDatabaseCache): method get (line 59) | def get(self, key, default=None, version=None): method set (line 93) | def set(self, key, value, timeout=None, version=None): method add (line 98) | def add(self, key, value, timeout=None, version=None): method _base_set (line 103) | def _base_set(self, mode, key, value, timeout=None): method delete (line 158) | def delete(self, key, version=None): method has_key (line 169) | def has_key(self, key, version=None): method _cull (line 187) | def _cull(self, db, cursor, now): method clear (line 212) | def clear(self): class CacheClass (line 219) | class CacheClass(DatabaseCache): FILE: Django-1.5.1/django/core/cache/backends/dummy.py class DummyCache (line 5) | class DummyCache(BaseCache): method __init__ (line 6) | def __init__(self, host, *args, **kwargs): method add (line 9) | def add(self, key, value, timeout=None, version=None): method get (line 14) | def get(self, key, default=None, version=None): method set (line 19) | def set(self, key, value, timeout=None, version=None): method delete (line 23) | def delete(self, key, version=None): method get_many (line 27) | def get_many(self, keys, version=None): method has_key (line 30) | def has_key(self, key, version=None): method set_many (line 35) | def set_many(self, data, timeout=0, version=None): method delete_many (line 38) | def delete_many(self, keys, version=None): method clear (line 41) | def clear(self): class CacheClass (line 45) | class CacheClass(DummyCache): FILE: Django-1.5.1/django/core/cache/backends/filebased.py class FileBasedCache (line 16) | class FileBasedCache(BaseCache): method __init__ (line 17) | def __init__(self, dir, params): method add (line 23) | def add(self, key, value, timeout=None, version=None): method get (line 30) | def get(self, key, default=None, version=None): function set (line 50) | def set(self, key, value, timeout=None, version=None): function delete (line 73) | def delete(self, key, version=None): function _delete (line 81) | def _delete(self, fname): function has_key (line 91) | def has_key(self, key, version=None): function _cull (line 108) | def _cull(self): function _createdir (line 130) | def _createdir(self): function _key_to_file (line 136) | def _key_to_file(self, key): function _get_num_entries (line 150) | def _get_num_entries(self): function clear (line 157) | def clear(self): class CacheClass (line 164) | class CacheClass(FileBasedCache): FILE: Django-1.5.1/django/core/cache/backends/locmem.py class LocMemCache (line 22) | class LocMemCache(BaseCache): method __init__ (line 23) | def __init__(self, name, params): method add (line 30) | def add(self, key, value, timeout=None, version=None): method get (line 47) | def get(self, key, default=None, version=None): method _set (line 71) | def _set(self, key, value, timeout=None): method set (line 81) | def set(self, key, value, timeout=None, version=None): method incr (line 93) | def incr(self, key, delta=1, version=None): method has_key (line 111) | def has_key(self, key, version=None): method _cull (line 131) | def _cull(self): function _delete (line 140) | def _delete(self, key): function delete (line 152) | def delete(self, key, version=None): function clear (line 159) | def clear(self): class CacheClass (line 164) | class CacheClass(LocMemCache): FILE: Django-1.5.1/django/core/cache/backends/memcached.py class BaseMemcachedCache (line 11) | class BaseMemcachedCache(BaseCache): method __init__ (line 12) | def __init__(self, server, params, library, value_not_found_exception): method _cache (line 29) | def _cache(self): method _get_memcache_timeout (line 38) | def _get_memcache_timeout(self, timeout): method make_key (line 54) | def make_key(self, key, version=None): method add (line 58) | def add(self, key, value, timeout=0, version=None): method get (line 62) | def get(self, key, default=None, version=None): method set (line 69) | def set(self, key, value, timeout=0, version=None): method delete (line 73) | def delete(self, key, version=None): method get_many (line 77) | def get_many(self, keys, version=None): method close (line 88) | def close(self, **kwargs): method incr (line 91) | def incr(self, key, delta=1, version=None): method decr (line 109) | def decr(self, key, delta=1, version=None): method set_many (line 127) | def set_many(self, data, timeout=0, version=None): method delete_many (line 134) | def delete_many(self, keys, version=None): method clear (line 138) | def clear(self): class CacheClass (line 141) | class CacheClass(BaseMemcachedCache): method __init__ (line 142) | def __init__(self, server, params): class MemcachedCache (line 158) | class MemcachedCache(BaseMemcachedCache): method __init__ (line 160) | def __init__(self, server, params): class PyLibMCCache (line 166) | class PyLibMCCache(BaseMemcachedCache): method __init__ (line 168) | def __init__(self, server, params): method _cache (line 176) | def _cache(self): FILE: Django-1.5.1/django/core/context_processors.py function csrf (line 18) | def csrf(request): function debug (line 36) | def debug(request): function i18n (line 45) | def i18n(request): function tz (line 55) | def tz(request): function static (line 60) | def static(request): function media (line 67) | def media(request): function request (line 74) | def request(request): FILE: Django-1.5.1/django/core/exceptions.py class DjangoRuntimeWarning (line 7) | class DjangoRuntimeWarning(RuntimeWarning): class ObjectDoesNotExist (line 11) | class ObjectDoesNotExist(Exception): class MultipleObjectsReturned (line 16) | class MultipleObjectsReturned(Exception): class SuspiciousOperation (line 21) | class SuspiciousOperation(Exception): class PermissionDenied (line 26) | class PermissionDenied(Exception): class ViewDoesNotExist (line 31) | class ViewDoesNotExist(Exception): class MiddlewareNotUsed (line 36) | class MiddlewareNotUsed(Exception): class ImproperlyConfigured (line 41) | class ImproperlyConfigured(Exception): class FieldError (line 46) | class FieldError(Exception): class ValidationError (line 54) | class ValidationError(Exception): method __init__ (line 56) | def __init__(self, message, code=None, params=None): method __str__ (line 76) | def __str__(self): method __repr__ (line 85) | def __repr__(self): method update_error_dict (line 90) | def update_error_dict(self, error_dict): FILE: Django-1.5.1/django/core/files/base.py class File (line 12) | class File(FileProxyMixin): method __init__ (line 15) | def __init__(self, file, name=None): method __str__ (line 25) | def __str__(self): method __repr__ (line 28) | def __repr__(self): method __bool__ (line 31) | def __bool__(self): method __nonzero__ (line 34) | def __nonzero__(self): # Python 2 compatibility method __len__ (line 37) | def __len__(self): method _get_size (line 40) | def _get_size(self): method _set_size (line 60) | def _set_size(self, size): method _get_closed (line 65) | def _get_closed(self): method chunks (line 69) | def chunks(self, chunk_size=None): method multiple_chunks (line 89) | def multiple_chunks(self, chunk_size=None): method __iter__ (line 101) | def __iter__(self): method __enter__ (line 124) | def __enter__(self): method __exit__ (line 127) | def __exit__(self, exc_type, exc_value, tb): method open (line 130) | def open(self, mode=None): method close (line 138) | def close(self): class ContentFile (line 142) | class ContentFile(File): method __init__ (line 147) | def __init__(self, content, name=None): method __str__ (line 158) | def __str__(self): method __bool__ (line 161) | def __bool__(self): method __nonzero__ (line 164) | def __nonzero__(self): # Python 2 compatibility method open (line 167) | def open(self, mode=None): method close (line 170) | def close(self): FILE: Django-1.5.1/django/core/files/images.py class ImageFile (line 10) | class ImageFile(File): method _get_width (line 15) | def _get_width(self): method _get_height (line 19) | def _get_height(self): method _get_image_dimensions (line 23) | def _get_image_dimensions(self): function get_image_dimensions (line 30) | def get_image_dimensions(file_or_path, close=False): FILE: Django-1.5.1/django/core/files/locks.py function fd (line 43) | def fd(f): function lock (line 49) | def lock(file, flags): function unlock (line 53) | def unlock(file): function lock (line 58) | def lock(file, flags): function unlock (line 61) | def unlock(file): function lock (line 68) | def lock(file, flags): function unlock (line 71) | def unlock(file): FILE: Django-1.5.1/django/core/files/move.py function copystat (line 15) | def copystat(src, dst): function _samefile (line 28) | def _samefile(src, dst): function file_move_safe (line 40) | def file_move_safe(old_file_name, new_file_name, chunk_size = 1024*64, a... FILE: Django-1.5.1/django/core/files/storage.py class Storage (line 24) | class Storage(object): method open (line 33) | def open(self, name, mode='rb'): method save (line 39) | def save(self, name, content): method get_valid_name (line 56) | def get_valid_name(self, name): method get_available_name (line 63) | def get_available_name(self, name): method path (line 80) | def path(self, name): method delete (line 92) | def delete(self, name): method exists (line 98) | def exists(self, name): method listdir (line 105) | def listdir(self, path): method size (line 112) | def size(self, name): method url (line 118) | def url(self, name): method accessed_time (line 125) | def accessed_time(self, name): method created_time (line 132) | def created_time(self, name): method modified_time (line 139) | def modified_time(self, name): class FileSystemStorage (line 146) | class FileSystemStorage(Storage): method __init__ (line 151) | def __init__(self, location=None, base_url=None): method _open (line 160) | def _open(self, name, mode='rb'): method _save (line 163) | def _save(self, name, content): method delete (line 233) | def delete(self, name): method exists (line 246) | def exists(self, name): method listdir (line 249) | def listdir(self, path): method path (line 259) | def path(self, name): method size (line 266) | def size(self, name): method url (line 269) | def url(self, name): method accessed_time (line 274) | def accessed_time(self, name): method created_time (line 277) | def created_time(self, name): method modified_time (line 280) | def modified_time(self, name): function get_storage_class (line 283) | def get_storage_class(import_path=None): class DefaultStorage (line 300) | class DefaultStorage(LazyObject): method _setup (line 301) | def _setup(self): FILE: Django-1.5.1/django/core/files/temp.py class TemporaryFile (line 19) | class TemporaryFile(FileProxyMixin): method __init__ (line 25) | def __init__(self, mode='w+b', bufsize=-1, suffix='', prefix='', method close (line 38) | def close(self): method __del__ (line 50) | def __del__(self): FILE: Django-1.5.1/django/core/files/uploadedfile.py class UploadedFile (line 18) | class UploadedFile(File): method __init__ (line 28) | def __init__(self, file=None, name=None, content_type=None, size=None,... method __repr__ (line 34) | def __repr__(self): method _get_name (line 38) | def _get_name(self): method _set_name (line 41) | def _set_name(self, name): class TemporaryUploadedFile (line 56) | class TemporaryUploadedFile(UploadedFile): method __init__ (line 60) | def __init__(self, name, content_type, size, charset): function temporary_file_path (line 68) | def temporary_file_path(self): function close (line 74) | def close(self): function __init__ (line 88) | def __init__(self, file, field_name, name, content_type, size, charset): function open (line 92) | def open(self, mode=None): function close (line 95) | def close(self): function chunks (line 98) | def chunks(self, chunk_size=None): function multiple_chunks (line 102) | def multiple_chunks(self, chunk_size=None): function __init__ (line 111) | def __init__(self, name, content, content_type='text/plain'): function from_dict (line 116) | def from_dict(cls, file_dict): FILE: Django-1.5.1/django/core/files/uploadhandler.py class UploadFileException (line 19) | class UploadFileException(Exception): class StopUpload (line 26) | class StopUpload(UploadFileException): method __init__ (line 30) | def __init__(self, connection_reset=False): method __str__ (line 38) | def __str__(self): class SkipFile (line 44) | class SkipFile(UploadFileException): class StopFutureHandlers (line 50) | class StopFutureHandlers(UploadFileException): class FileUploadHandler (line 58) | class FileUploadHandler(object): method __init__ (line 64) | def __init__(self, request=None): method handle_raw_input (line 71) | def handle_raw_input(self, input_data, META, content_length, boundary,... method new_file (line 89) | def new_file(self, field_name, file_name, content_type, content_length... method receive_data_chunk (line 102) | def receive_data_chunk(self, raw_data, start): method file_complete (line 109) | def file_complete(self, file_size): method upload_complete (line 118) | def upload_complete(self): class TemporaryFileUploadHandler (line 125) | class TemporaryFileUploadHandler(FileUploadHandler): method __init__ (line 129) | def __init__(self, *args, **kwargs): method new_file (line 132) | def new_file(self, file_name, *args, **kwargs): method receive_data_chunk (line 139) | def receive_data_chunk(self, raw_data, start): method file_complete (line 142) | def file_complete(self, file_size): class MemoryFileUploadHandler (line 147) | class MemoryFileUploadHandler(FileUploadHandler): method handle_raw_input (line 152) | def handle_raw_input(self, input_data, META, content_length, boundary,... method new_file (line 163) | def new_file(self, *args, **kwargs): method receive_data_chunk (line 169) | def receive_data_chunk(self, raw_data, start): method file_complete (line 178) | def file_complete(self, file_size): function load_handler (line 196) | def load_handler(path, *args, **kwargs): FILE: Django-1.5.1/django/core/files/utils.py class FileProxyMixin (line 1) | class FileProxyMixin(object): method __iter__ (line 29) | def __iter__(self): FILE: Django-1.5.1/django/core/handlers/base.py class BaseHandler (line 20) | class BaseHandler(object): function load_middleware (line 37) | def load_middleware(self): function get_response (line 105) | def get_response(self, request): function handle_uncaught_exception (line 261) | def handle_uncaught_exception(self, request, resolver, exc_info): function apply_response_fixes (line 297) | def apply_response_fixes(self, request, response): FILE: Django-1.5.1/django/core/handlers/wsgi.py class LimitedStream (line 76) | class LimitedStream(object): method __init__ (line 81) | def __init__(self, stream, limit, buf_size=64 * 1024 * 1024): method _read_limited (line 87) | def _read_limited(self, size=None): method read (line 96) | def read(self, size=None): method readline (line 110) | def readline(self, size=None): class WSGIRequest (line 135) | class WSGIRequest(http.HttpRequest): method __init__ (line 136) | def __init__(self, environ): # 要传入环境变量 method _is_secure (line 179) | def _is_secure(self): method _parse_content_type (line 182) | def _parse_content_type(self, ctype): method _get_request (line 198) | def _get_request(self): method _get_get (line 203) | def _get_get(self): method _set_get (line 210) | def _set_get(self, get): method _get_post (line 213) | def _get_post(self): method _set_post (line 218) | def _set_post(self, post): method _get_cookies (line 221) | def _get_cookies(self): method _set_cookies (line 226) | def _set_cookies(self, cookies): method _get_files (line 229) | def _get_files(self): class WSGIHandler (line 242) | class WSGIHandler(base.BaseHandler): method __call__ (line 249) | def __call__(self, environ, start_response): FILE: Django-1.5.1/django/core/mail/__init__.py function get_connection (line 22) | def get_connection(backend=None, fail_silently=False, **kwds): function send_mail (line 45) | def send_mail(subject, message, from_email, recipient_list, function send_mass_mail (line 65) | def send_mass_mail(datatuple, fail_silently=False, auth_user=None, function mail_admins (line 88) | def mail_admins(subject, message, fail_silently=False, connection=None, function mail_managers (line 101) | def mail_managers(subject, message, fail_silently=False, connection=None, FILE: Django-1.5.1/django/core/mail/backends/base.py class BaseEmailBackend (line 3) | class BaseEmailBackend(object): method __init__ (line 9) | def __init__(self, fail_silently=False, **kwargs): method open (line 12) | def open(self): method close (line 30) | def close(self): method send_messages (line 34) | def send_messages(self, email_messages): FILE: Django-1.5.1/django/core/mail/backends/console.py class EmailBackend (line 9) | class EmailBackend(BaseEmailBackend): method __init__ (line 10) | def __init__(self, *args, **kwargs): method send_messages (line 15) | def send_messages(self, email_messages): FILE: Django-1.5.1/django/core/mail/backends/dummy.py class EmailBackend (line 7) | class EmailBackend(BaseEmailBackend): method send_messages (line 8) | def send_messages(self, email_messages): FILE: Django-1.5.1/django/core/mail/backends/filebased.py class EmailBackend (line 11) | class EmailBackend(ConsoleEmailBackend): method __init__ (line 12) | def __init__(self, *args, **kwargs): method _get_filename (line 40) | def _get_filename(self): method open (line 48) | def open(self): method close (line 54) | def close(self): FILE: Django-1.5.1/django/core/mail/backends/locmem.py class EmailBackend (line 8) | class EmailBackend(BaseEmailBackend): method __init__ (line 16) | def __init__(self, *args, **kwargs): method send_messages (line 21) | def send_messages(self, messages): FILE: Django-1.5.1/django/core/mail/backends/smtp.py class EmailBackend (line 13) | class EmailBackend(BaseEmailBackend): method __init__ (line 17) | def __init__(self, host=None, port=None, username=None, password=None, method open (line 37) | def open(self): method close (line 61) | def close(self): method send_messages (line 80) | def send_messages(self, email_messages): method _send (line 102) | def _send(self, email_message): FILE: Django-1.5.1/django/core/mail/message.py class BadHeaderError (line 31) | class BadHeaderError(ValueError): function make_msgid (line 38) | def make_msgid(idstring=None): function forbid_multi_line_headers (line 79) | def forbid_multi_line_headers(name, val, encoding): function sanitize_address (line 99) | def sanitize_address(addr, encoding): class SafeMIMEText (line 122) | class SafeMIMEText(MIMEText): method __init__ (line 124) | def __init__(self, text, subtype, charset): method __setitem__ (line 128) | def __setitem__(self, name, val): method as_string (line 132) | def as_string(self, unixfrom=False): class SafeMIMEMultipart (line 149) | class SafeMIMEMultipart(MIMEMultipart): method __init__ (line 151) | def __init__(self, _subtype='mixed', boundary=None, _subparts=None, en... method __setitem__ (line 155) | def __setitem__(self, name, val): method as_string (line 159) | def as_string(self, unixfrom=False): class EmailMessage (line 173) | class EmailMessage(object): method __init__ (line 181) | def __init__(self, subject='', body='', from_email=None, to=None, bcc=... method get_connection (line 213) | def get_connection(self, fail_silently=False): method message (line 219) | def message(self): method recipients (line 242) | def recipients(self): method send (line 249) | def send(self, fail_silently=False): method attach (line 257) | def attach(self, filename=None, content=None, mimetype=None): method attach_file (line 272) | def attach_file(self, path, mimetype=None): method _create_message (line 279) | def _create_message(self, msg): method _create_attachments (line 282) | def _create_attachments(self, msg): method _create_mime_attachment (line 296) | def _create_mime_attachment(self, content, mimetype): method _create_attachment (line 311) | def _create_attachment(self, filename, content, mimetype=None): class EmailMultiAlternatives (line 333) | class EmailMultiAlternatives(EmailMessage): method __init__ (line 341) | def __init__(self, subject='', body='', from_email=None, to=None, bcc=... method attach_alternative (line 355) | def attach_alternative(self, content, mimetype): method _create_message (line 361) | def _create_message(self, msg): method _create_alternatives (line 364) | def _create_alternatives(self, msg): FILE: Django-1.5.1/django/core/mail/utils.py class CachedDnsName (line 10) | class CachedDnsName(object): method __str__ (line 11) | def __str__(self): method get_fqdn (line 14) | def get_fqdn(self): FILE: Django-1.5.1/django/core/management/__init__.py function find_commands (line 22) | def find_commands(management_dir): function find_management_module (line 37) | def find_management_module(app_name): function load_command_class (line 73) | def load_command_class(app_name, name): function get_commands (line 84) | def get_commands(): function call_command (line 135) | def call_command(name, *args, **options): class LaxOptionParser (line 174) | class LaxOptionParser(OptionParser): method error (line 181) | def error(self, msg): method print_help (line 184) | def print_help(self): method print_lax_help (line 192) | def print_lax_help(self): method _process_args (line 199) | def _process_args(self, largs, rargs, values): class ManagementUtility (line 230) | class ManagementUtility(object): method __init__ (line 237) | def __init__(self, argv=None): method main_help_text (line 241) | def main_help_text(self, commands_only=False): method fetch_command (line 274) | def fetch_command(self, subcommand): method autocomplete (line 293) | def autocomplete(self): method execute (line 373) | def execute(self): function setup_environ (line 426) | def setup_environ(settings_mod, original_settings_path=None): function execute_from_command_line (line 481) | def execute_from_command_line(argv=None): function execute_manager (line 488) | def execute_manager(settings_mod, argv=None): FILE: Django-1.5.1/django/core/management/base.py class CommandError (line 20) | class CommandError(Exception): function handle_default_options (line 36) | def handle_default_options(options): class OutputWrapper (line 58) | class OutputWrapper(object): method __init__ (line 62) | def __init__(self, out, style_func=None, ending='\n'): method __getattr__ (line 71) | def __getattr__(self, name): method write (line 74) | def write(self, msg, style_func=None, ending=None): class BaseCommand (line 87) | class BaseCommand(object): method __init__ (line 189) | def __init__(self): method get_version (line 192) | def get_version(self): method usage (line 201) | def usage(self, subcommand): method create_parser (line 214) | def create_parser(self, prog_name, subcommand): method print_help (line 227) | def print_help(self, prog_name, subcommand): method run_from_argv (line 237) | def run_from_argv(self, argv): method execute (line 262) | def execute(self, *args, **options): method validate (line 305) | def validate(self, app=None, display_num_errors=False): method handle (line 326) | def handle(self, *args, **options): class AppCommand (line 336) | class AppCommand(BaseCommand): method handle (line 349) | def handle(self, *app_labels, **options): method handle_app (line 369) | def handle_app(self, app, **options): class LabelCommand (line 379) | class LabelCommand(BaseCommand): method handle (line 396) | def handle(self, *labels, **options): method handle_label (line 409) | def handle_label(self, label, **options): class NoArgsCommand (line 418) | class NoArgsCommand(BaseCommand): method handle (line 432) | def handle(self, *args, **options): method handle_noargs (line 437) | def handle_noargs(self, **options): FILE: Django-1.5.1/django/core/management/color.py function supports_color (line 10) | def supports_color(): function color_style (line 22) | def color_style(): function no_style (line 45) | def no_style(): FILE: Django-1.5.1/django/core/management/commands/cleanup.py class Command (line 6) | class Command(clearsessions.Command): method handle_noargs (line 7) | def handle_noargs(self, **options): FILE: Django-1.5.1/django/core/management/commands/compilemessages.py function has_bom (line 10) | def has_bom(fn): function compile_messages (line 17) | def compile_messages(stderr, locale=None): class Command (line 54) | class Command(BaseCommand): method handle (line 64) | def handle(self, **options): FILE: Django-1.5.1/django/core/management/commands/createcachetable.py class Command (line 10) | class Command(LabelCommand): method handle_label (line 24) | def handle_label(self, tablename, **options): FILE: Django-1.5.1/django/core/management/commands/dbshell.py class Command (line 6) | class Command(BaseCommand): method handle (line 18) | def handle(self, **options): FILE: Django-1.5.1/django/core/management/commands/diffsettings.py function module_to_dict (line 3) | def module_to_dict(module, omittable=lambda k: k.startswith('_')): class Command (line 7) | class Command(NoArgsCommand): method handle_noargs (line 14) | def handle_noargs(self, **options): FILE: Django-1.5.1/django/core/management/commands/dumpdata.py class Command (line 9) | class Command(BaseCommand): method handle (line 30) | def handle(self, *app_labels, **options): function sort_dependencies (line 123) | def sort_dependencies(app_list): FILE: Django-1.5.1/django/core/management/commands/flush.py class Command (line 13) | class Command(NoArgsCommand): method handle_noargs (line 28) | def handle_noargs(self, **options): FILE: Django-1.5.1/django/core/management/commands/inspectdb.py class Command (line 11) | class Command(NoArgsCommand): method handle_noargs (line 24) | def handle_noargs(self, **options): method handle_inspection (line 31) | def handle_inspection(self, options): method normalize_col_name (line 129) | def normalize_col_name(self, col_name, used_column_names, is_relation): method get_field_type (line 185) | def get_field_type(self, connection, table_name, row): method get_meta (line 216) | def get_meta(self, table_name): FILE: Django-1.5.1/django/core/management/commands/loaddata.py class Command (line 28) | class Command(BaseCommand): method handle (line 41) | def handle(self, *fixture_labels, **options): FILE: Django-1.5.1/django/core/management/commands/makemessages.py function handle_extensions (line 18) | def handle_extensions(extensions=('html',), ignored=('py',)): function _popen (line 42) | def _popen(cmd): function find_files (line 50) | def find_files(root, ignore_patterns, verbosity, stdout=sys.stdout, syml... function is_ignored (line 72) | def is_ignored(path, ignore_patterns): function copy_plural_forms (line 81) | def copy_plural_forms(msgs, locale, domain, verbosity, stdout=sys.stdout): function write_pot_file (line 111) | def write_pot_file(potfile, msgs, file, work_file, is_templatized): function process_file (line 128) | def process_file(file, dirpath, potfile, domain, verbosity, function write_po_file (line 199) | def write_po_file(pofile, potfile, domain, locale, verbosity, stdout, function make_messages (line 247) | def make_messages(locale=None, domain='django', verbosity=1, all=False, class Command (line 335) | class Command(NoArgsCommand): method handle_noargs (line 368) | def handle_noargs(self, *args, **options): FILE: Django-1.5.1/django/core/management/commands/runfcgi.py class Command (line 3) | class Command(BaseCommand): method handle (line 7) | def handle(self, *args, **options): method usage (line 18) | def usage(self, subcommand): FILE: Django-1.5.1/django/core/management/commands/runserver.py class Command (line 21) | class Command(BaseCommand): method get_handler (line 36) | def get_handler(self, *args, **options): method handle (line 43) | def handle(self, addrport='', *args, **options): method run (line 73) | def run(self, *args, **options): method inner_run (line 84) | def inner_run(self, *args, **options): FILE: Django-1.5.1/django/core/management/commands/shell.py class Command (line 6) | class Command(NoArgsCommand): method ipython (line 20) | def ipython(self): method bpython (line 36) | def bpython(self): method run_shell (line 40) | def run_shell(self, shell=None): method handle_noargs (line 50) | def handle_noargs(self, **options): FILE: Django-1.5.1/django/core/management/commands/sql.py class Command (line 9) | class Command(AppCommand): method handle_app (line 20) | def handle_app(self, app, **options): FILE: Django-1.5.1/django/core/management/commands/sqlall.py class Command (line 10) | class Command(AppCommand): method handle_app (line 21) | def handle_app(self, app, **options): FILE: Django-1.5.1/django/core/management/commands/sqlclear.py class Command (line 9) | class Command(AppCommand): method handle_app (line 20) | def handle_app(self, app, **options): FILE: Django-1.5.1/django/core/management/commands/sqlcustom.py class Command (line 9) | class Command(AppCommand): method handle_app (line 20) | def handle_app(self, app, **options): FILE: Django-1.5.1/django/core/management/commands/sqlflush.py class Command (line 9) | class Command(NoArgsCommand): method handle_noargs (line 20) | def handle_noargs(self, **options): FILE: Django-1.5.1/django/core/management/commands/sqlindexes.py class Command (line 9) | class Command(AppCommand): method handle_app (line 21) | def handle_app(self, app, **options): FILE: Django-1.5.1/django/core/management/commands/sqlinitialdata.py class Command (line 3) | class Command(AppCommand): method handle (line 6) | def handle(self, *apps, **options): FILE: Django-1.5.1/django/core/management/commands/sqlsequencereset.py class Command (line 8) | class Command(AppCommand): method handle_app (line 20) | def handle_app(self, app, **options): FILE: Django-1.5.1/django/core/management/commands/startapp.py class Command (line 6) | class Command(TemplateCommand): method handle (line 11) | def handle(self, app_name=None, target=None, **options): FILE: Django-1.5.1/django/core/management/commands/startproject.py class Command (line 7) | class Command(TemplateCommand): method handle (line 12) | def handle(self, project_name=None, target=None, *args, **options): FILE: Django-1.5.1/django/core/management/commands/syncdb.py class Command (line 14) | class Command(NoArgsCommand): method handle_noargs (line 26) | def handle_noargs(self, **options): FILE: Django-1.5.1/django/core/management/commands/test.py class Command (line 11) | class Command(BaseCommand): method __init__ (line 36) | def __init__(self): method run_from_argv (line 40) | def run_from_argv(self, argv): method create_parser (line 53) | def create_parser(self, prog_name, subcommand): method execute (line 62) | def execute(self, *args, **options): method handle (line 77) | def handle(self, *test_labels, **options): FILE: Django-1.5.1/django/core/management/commands/testserver.py class Command (line 5) | class Command(BaseCommand): method handle (line 20) | def handle(self, *fixture_labels, **options): FILE: Django-1.5.1/django/core/management/commands/validate.py class Command (line 4) | class Command(NoArgsCommand): method handle_noargs (line 9) | def handle_noargs(self, **options): FILE: Django-1.5.1/django/core/management/sql.py function sql_create (line 14) | def sql_create(app, style, connection): function sql_delete (line 60) | def sql_delete(app, style, connection): function sql_flush (line 105) | def sql_flush(style, connection, only_django=False, reset_sequences=True): function sql_custom (line 121) | def sql_custom(app, style, connection): function sql_indexes (line 133) | def sql_indexes(app, style, connection): function sql_all (line 141) | def sql_all(app, style, connection): function _split_statements (line 146) | def _split_statements(content): function custom_sql_for_model (line 161) | def custom_sql_for_model(model, style, connection): function emit_post_sync_signal (line 187) | def emit_post_sync_signal(created_models, verbosity, interactive, db): FILE: Django-1.5.1/django/core/management/templates.py class TemplateCommand (line 31) | class TemplateCommand(BaseCommand): method handle (line 89) | def handle(self, app_or_project, name, target=None, **options): function handle_template (line 228) | def handle_template(self, template, subdir): function download (line 261) | def download(self, url): function splitext (line 321) | def splitext(self, the_path): function extract (line 331) | def extract(self, filename): function is_url (line 348) | def is_url(self, template): function make_writeable (line 357) | def make_writeable(self, filename): FILE: Django-1.5.1/django/core/management/validation.py class ModelErrorCollection (line 11) | class ModelErrorCollection: method __init__ (line 12) | def __init__(self, outfile=sys.stdout): method add (line 17) | def add(self, context, error): function get_validation_errors (line 22) | def get_validation_errors(outfile, app=None): function validate_local_fields (line 348) | def validate_local_fields(e, opts, field_name, fields): FILE: Django-1.5.1/django/core/paginator.py class InvalidPage (line 6) | class InvalidPage(Exception): class PageNotAnInteger (line 9) | class PageNotAnInteger(InvalidPage): class EmptyPage (line 12) | class EmptyPage(InvalidPage): class Paginator (line 15) | class Paginator(object): method __init__ (line 16) | def __init__(self, object_list, per_page, orphans=0, allow_empty_first... method validate_number (line 23) | def validate_number(self, number): method page (line 38) | def page(self, number): method _get_count (line 47) | def _get_count(self): method _get_num_pages (line 60) | def _get_num_pages(self): method _get_page_range (line 71) | def _get_page_range(self): class Page (line 81) | class Page(object): method __init__ (line 82) | def __init__(self, object_list, number, paginator): method __repr__ (line 87) | def __repr__(self): method __len__ (line 90) | def __len__(self): method __getitem__ (line 93) | def __getitem__(self, index): method __iter__ (line 103) | def __iter__(self): method __contains__ (line 113) | def __contains__(self, value): method index (line 119) | def index(self, value): method count (line 125) | def count(self, value): method has_next (line 130) | def has_next(self): method has_previous (line 133) | def has_previous(self): method has_other_pages (line 136) | def has_other_pages(self): method next_page_number (line 139) | def next_page_number(self): method previous_page_number (line 142) | def previous_page_number(self): method start_index (line 145) | def start_index(self): method end_index (line 155) | def end_index(self): FILE: Django-1.5.1/django/core/serializers/__init__.py function register_serializer (line 40) | def register_serializer(format, serializer_module, serializers=None): function unregister_serializer (line 61) | def unregister_serializer(format): function get_serializer (line 69) | def get_serializer(format): function get_serializer_formats (line 76) | def get_serializer_formats(): function get_public_serializer_formats (line 81) | def get_public_serializer_formats(): function get_deserializer (line 86) | def get_deserializer(format): function serialize (line 93) | def serialize(format, queryset, **options): function deserialize (line 102) | def deserialize(format, stream_or_string, **options): function _load_serializers (line 112) | def _load_serializers(): FILE: Django-1.5.1/django/core/serializers/base.py class SerializerDoesNotExist (line 9) | class SerializerDoesNotExist(KeyError): class SerializationError (line 13) | class SerializationError(Exception): class DeserializationError (line 17) | class DeserializationError(Exception): class Serializer (line 21) | class Serializer(object): method serialize (line 30) | def serialize(self, queryset, **options): method start_serialization (line 65) | def start_serialization(self): method end_serialization (line 71) | def end_serialization(self): method start_object (line 77) | def start_object(self, obj): method end_object (line 83) | def end_object(self, obj): method handle_field (line 89) | def handle_field(self, obj, field): method handle_fk_field (line 95) | def handle_fk_field(self, obj, field): method handle_m2m_field (line 101) | def handle_m2m_field(self, obj, field): method getvalue (line 107) | def getvalue(self): class Deserializer (line 115) | class Deserializer(six.Iterator): method __init__ (line 120) | def __init__(self, stream_or_string, **options): method __iter__ (line 134) | def __iter__(self): method __next__ (line 137) | def __next__(self): class DeserializedObject (line 141) | class DeserializedObject(object): method __init__ (line 153) | def __init__(self, obj, m2m_data=None): method __repr__ (line 157) | def __repr__(self): method save (line 161) | def save(self, save_m2m=True, using=None): FILE: Django-1.5.1/django/core/serializers/json.py class Serializer (line 18) | class Serializer(PythonSerializer): method start_serialization (line 24) | def start_serialization(self): method end_serialization (line 34) | def end_serialization(self): method end_object (line 41) | def end_object(self, obj): method getvalue (line 54) | def getvalue(self): function Deserializer (line 59) | def Deserializer(stream_or_string, **options): class DjangoJSONEncoder (line 78) | class DjangoJSONEncoder(json.JSONEncoder): method default (line 82) | def default(self, o): FILE: Django-1.5.1/django/core/serializers/python.py class Serializer (line 15) | class Serializer(base.Serializer): method start_serialization (line 22) | def start_serialization(self): method end_serialization (line 26) | def end_serialization(self): method start_object (line 29) | def start_object(self, obj): method end_object (line 32) | def end_object(self, obj): method get_dump_object (line 36) | def get_dump_object(self, obj): method handle_field (line 43) | def handle_field(self, obj, field): method handle_fk_field (line 53) | def handle_fk_field(self, obj, field): method handle_m2m_field (line 64) | def handle_m2m_field(self, obj, field): method getvalue (line 73) | def getvalue(self): function Deserializer (line 77) | def Deserializer(object_list, **options): function _get_model (line 144) | def _get_model(model_identifier): FILE: Django-1.5.1/django/core/serializers/pyyaml.py class DjangoSafeDumper (line 18) | class DjangoSafeDumper(yaml.SafeDumper): method represent_decimal (line 19) | def represent_decimal(self, data): class Serializer (line 24) | class Serializer(PythonSerializer): method handle_field (line 31) | def handle_field(self, obj, field): method end_serialization (line 43) | def end_serialization(self): method getvalue (line 46) | def getvalue(self): function Deserializer (line 50) | def Deserializer(stream_or_string, **options): FILE: Django-1.5.1/django/core/serializers/xml_serializer.py class Serializer (line 16) | class Serializer(base.Serializer): method indent (line 21) | def indent(self, level): method start_serialization (line 25) | def start_serialization(self): method end_serialization (line 33) | def end_serialization(self): method start_object (line 41) | def start_object(self, obj): method end_object (line 60) | def end_object(self, obj): method handle_field (line 67) | def handle_field(self, obj, field): method handle_fk_field (line 86) | def handle_fk_field(self, obj, field): method handle_m2m_field (line 109) | def handle_m2m_field(self, obj, field): method _start_relational_field (line 138) | def _start_relational_field(self, field): class Deserializer (line 149) | class Deserializer(base.Deserializer): method __init__ (line 154) | def __init__(self, stream_or_string, **options): method _make_parser (line 159) | def _make_parser(self): method __next__ (line 163) | def __next__(self): method _handle_object (line 170) | def _handle_object(self, node): method _handle_fk_field_node (line 219) | def _handle_fk_field_node(self, node, field): method _handle_m2m_field_node (line 247) | def _handle_m2m_field_node(self, node, field): method _get_model_from_node (line 266) | def _get_model_from_node(self, node, attr): function getInnerText (line 287) | def getInnerText(node): class DefusedExpatParser (line 306) | class DefusedExpatParser(_ExpatParser): method __init__ (line 313) | def __init__(self, *args, **kwargs): method start_doctype_decl (line 318) | def start_doctype_decl(self, name, sysid, pubid, has_internal_subset): method entity_decl (line 321) | def entity_decl(self, name, is_parameter_entity, value, base, method unparsed_entity_decl (line 325) | def unparsed_entity_decl(self, name, base, sysid, pubid, notation_name): method external_entity_ref_handler (line 329) | def external_entity_ref_handler(self, context, base, sysid, pubid): method reset (line 332) | def reset(self): class DefusedXmlException (line 341) | class DefusedXmlException(ValueError): method __repr__ (line 343) | def __repr__(self): class DTDForbidden (line 347) | class DTDForbidden(DefusedXmlException): method __init__ (line 349) | def __init__(self, name, sysid, pubid): method __str__ (line 355) | def __str__(self): class EntitiesForbidden (line 360) | class EntitiesForbidden(DefusedXmlException): method __init__ (line 362) | def __init__(self, name, value, base, sysid, pubid, notation_name): method __str__ (line 371) | def __str__(self): class ExternalReferenceForbidden (line 376) | class ExternalReferenceForbidden(DefusedXmlException): method __init__ (line 378) | def __init__(self, context, base, sysid, pubid): method __str__ (line 385) | def __str__(self): FILE: Django-1.5.1/django/core/servers/basehttp.py function get_internal_wsgi_application (line 41) | def get_internal_wsgi_application(): class WSGIServerException (line 91) | class WSGIServerException(Exception): class ServerHandler (line 95) | class ServerHandler(simple_server.ServerHandler, object): method write (line 98) | def write(self, data): method error_output (line 131) | def error_output(self, environ, start_response): method finish_response (line 137) | def finish_response(self): class WSGIServer (line 147) | class WSGIServer(simple_server.WSGIServer, object): method __init__ (line 150) | def __init__(self, *args, **kwargs): method server_bind (line 155) | def server_bind(self): class WSGIRequestHandler (line 164) | class WSGIRequestHandler(simple_server.WSGIRequestHandler, object): method __init__ (line 166) | def __init__(self, *args, **kwargs): method address_string (line 175) | def address_string(self): method log_message (line 179) | def log_message(self, format, *args): function run (line 208) | def run(addr, port, wsgi_handler, ipv6=False, threading=False): FILE: Django-1.5.1/django/core/servers/fastcgi.py function fastcgi_help (line 84) | def fastcgi_help(message=None): function runfastcgi (line 90) | def runfastcgi(argset=[], **kwargs): FILE: Django-1.5.1/django/core/signing.py class BadSignature (line 51) | class BadSignature(Exception): class SignatureExpired (line 58) | class SignatureExpired(BadSignature): function b64_encode (line 65) | def b64_encode(s): function b64_decode (line 69) | def b64_decode(s): function base64_hmac (line 74) | def base64_hmac(salt, value, key): function get_cookie_signer (line 78) | def get_cookie_signer(salt='django.core.signing.get_cookie_signer'): class JSONSerializer (line 94) | class JSONSerializer(object): method dumps (line 99) | def dumps(self, obj): method loads (line 102) | def loads(self, data): function dumps (line 106) | def dumps(obj, key=None, salt='django.core.signing', serializer=JSONSeri... function loads (line 139) | def loads(s, key=None, salt='django.core.signing', serializer=JSONSerial... class Signer (line 159) | class Signer(object): method __init__ (line 161) | def __init__(self, key=None, sep=':', salt=None): method signature (line 168) | def signature(self, value): method sign (line 173) | def sign(self, value): method unsign (line 177) | def unsign(self, signed_value): class TimestampSigner (line 187) | class TimestampSigner(Signer): method timestamp (line 189) | def timestamp(self): method sign (line 192) | def sign(self, value): method unsign (line 197) | def unsign(self, value, max_age=None): FILE: Django-1.5.1/django/core/urlresolvers.py class ResolverMatch (line 41) | class ResolverMatch(object): method __init__ (line 42) | def __init__(self, func, args, kwargs, url_name=None, app_name=None, n... method namespace (line 64) | def namespace(self): method view_name (line 68) | def view_name(self): method __getitem__ (line 71) | def __getitem__(self, index): method __repr__ (line 75) | def __repr__(self): class Resolver404 (line 79) | class Resolver404(Http404): class NoReverseMatch (line 82) | class NoReverseMatch(Exception): function get_callable (line 86) | def get_callable(lookup_view, can_fail=False): function get_resolver (line 141) | def get_resolver(urlconf): function get_ns_resolver (line 150) | def get_ns_resolver(ns_pattern, resolver): function get_mod_func (line 160) | def get_mod_func(callback): class LocaleRegexProvider (line 169) | class LocaleRegexProvider(object): method __init__ (line 176) | def __init__(self, regex): method regex (line 184) | def regex(self): class RegexURLPattern (line 208) | class RegexURLPattern(LocaleRegexProvider): method __init__ (line 209) | def __init__(self, regex, callback, default_args=None, name=None): method __repr__ (line 223) | def __repr__(self): method add_prefix (line 226) | def add_prefix(self, prefix): method resolve (line 236) | def resolve(self, path): method callback (line 257) | def callback(self): class RegexURLResolver (line 266) | class RegexURLResolver(LocaleRegexProvider): method __init__ (line 267) | def __init__(self, regex, urlconf_name, default_kwargs=None, app_name=... method __repr__ (line 285) | def __repr__(self): method _populate (line 295) | def _populate(self): method reverse_dict (line 346) | def reverse_dict(self): method namespace_dict (line 353) | def namespace_dict(self): method app_dict (line 360) | def app_dict(self): method resolve (line 369) | def resolve(self, path): function urlconf_module (line 427) | def urlconf_module(self): function url_patterns (line 436) | def url_patterns(self): function _resolve_special (line 446) | def _resolve_special(self, view_type): function resolve403 (line 455) | def resolve403(self): function resolve404 (line 458) | def resolve404(self): function resolve500 (line 461) | def resolve500(self): function reverse (line 464) | def reverse(self, lookup_view, *args, **kwargs): function _reverse_with_prefix (line 467) | def _reverse_with_prefix(self, lookup_view, _prefix, *args, **kwargs): function __init__ (line 517) | def __init__(self, urlconf_name, default_kwargs=None, app_name=None, nam... function regex (line 522) | def regex(self): function resolve (line 531) | def resolve(path, urlconf=None): function reverse (line 540) | def reverse(viewname, urlconf=None, args=None, kwargs=None, prefix=None,... function clear_url_caches (line 598) | def clear_url_caches(): function set_script_prefix (line 606) | def set_script_prefix(prefix): function get_script_prefix (line 614) | def get_script_prefix(): function set_urlconf (line 622) | def set_urlconf(urlconf_name): function get_urlconf (line 636) | def get_urlconf(default=None): function is_valid_path (line 644) | def is_valid_path(path, urlconf=None): FILE: Django-1.5.1/django/core/validators.py class RegexValidator (line 19) | class RegexValidator(object): method __init__ (line 24) | def __init__(self, regex=None, message=None, code=None): method __call__ (line 36) | def __call__(self, value): class URLValidator (line 44) | class URLValidator(RegexValidator): method __call__ (line 54) | def __call__(self, value): function validate_integer (line 74) | def validate_integer(value): class EmailValidator (line 81) | class EmailValidator(RegexValidator): method __call__ (line 83) | def __call__(self, value): function validate_ipv6_address (line 113) | def validate_ipv6_address(value): function validate_ipv46_address (line 118) | def validate_ipv46_address(value): function ip_address_validators (line 134) | def ip_address_validators(protocol, unpack_ipv4): class BaseValidator (line 154) | class BaseValidator(object): method __init__ (line 160) | def __init__(self, limit_value): method __call__ (line 163) | def __call__(self, value): class MaxValueValidator (line 174) | class MaxValueValidator(BaseValidator): class MinValueValidator (line 180) | class MinValueValidator(BaseValidator): class MinLengthValidator (line 186) | class MinLengthValidator(BaseValidator): class MaxLengthValidator (line 193) | class MaxLengthValidator(BaseValidator): FILE: Django-1.5.1/django/core/wsgi.py function get_wsgi_application (line 4) | def get_wsgi_application(): FILE: Django-1.5.1/django/core/xheaders.py function populate_xheaders (line 12) | def populate_xheaders(request, response, model, object_id): FILE: Django-1.5.1/django/db/__init__.py class DefaultConnectionProxy (line 29) | class DefaultConnectionProxy(object): method __getattr__ (line 35) | def __getattr__(self, item): method __setattr__ (line 38) | def __setattr__(self, name, value): function close_connection (line 46) | def close_connection(**kwargs): function reset_queries (line 59) | def reset_queries(**kwargs): function _rollback_on_exception (line 66) | def _rollback_on_exception(**kwargs): FILE: Django-1.5.1/django/db/backends/__init__.py class BaseDatabaseWrapper (line 19) | class BaseDatabaseWrapper(object): method __init__ (line 28) | def __init__(self, settings_dict, alias=DEFAULT_DB_ALIAS, method __eq__ (line 50) | def __eq__(self, other): method __ne__ (line 54) | def __ne__(self, other): method __hash__ (line 60) | def __hash__(self): method _commit (line 63) | def _commit(self): method _rollback (line 68) | def _rollback(self): method _enter_transaction_management (line 73) | def _enter_transaction_management(self, managed): method _leave_transaction_management (line 80) | def _leave_transaction_management(self, managed): method _savepoint (line 88) | def _savepoint(self, sid): method _savepoint_rollback (line 94) | def _savepoint_rollback(self, sid): method _savepoint_commit (line 99) | def _savepoint_commit(self, sid): method abort (line 104) | def abort(self): method enter_transaction_management (line 119) | def enter_transaction_management(self, managed=True): method leave_transaction_management (line 141) | def leave_transaction_management(self): method validate_thread_sharing (line 162) | def validate_thread_sharing(self): method is_dirty (line 179) | def is_dirty(self): method set_dirty (line 186) | def set_dirty(self): method set_clean (line 198) | def set_clean(self): method clean_savepoints (line 210) | def clean_savepoints(self): method is_managed (line 213) | def is_managed(self): method managed (line 223) | def managed(self, flag=True): method commit_unless_managed (line 240) | def commit_unless_managed(self): method rollback_unless_managed (line 251) | def rollback_unless_managed(self): method commit (line 262) | def commit(self): method rollback (line 270) | def rollback(self): method savepoint (line 278) | def savepoint(self): method savepoint_rollback (line 293) | def savepoint_rollback(self, sid): method savepoint_commit (line 302) | def savepoint_commit(self, sid): method constraint_checks_disabled (line 312) | def constraint_checks_disabled(self): method disable_constraint_checking (line 321) | def disable_constraint_checking(self): # constraint 约束 method enable_constraint_checking (line 329) | def enable_constraint_checking(self): method check_constraints (line 336) | def check_constraints(self, table_names=None): method close (line 343) | def close(self): method cursor (line 349) | def cursor(self): method make_debug_cursor (line 359) | def make_debug_cursor(self, cursor): class BaseDatabaseFeatures (line 363) | class BaseDatabaseFeatures(object): method __init__ (line 476) | def __init__(self, connection): method supports_transactions (line 480) | def supports_transactions(self): method supports_stddev (line 503) | def supports_stddev(self): class BaseDatabaseOperations (line 515) | class BaseDatabaseOperations(object): method __init__ (line 523) | def __init__(self, connection): method autoinc_sql (line 527) | def autoinc_sql(self, table, column): method bulk_batch_size (line 538) | def bulk_batch_size(self, fields, objs): method cache_key_culling_sql (line 546) | def cache_key_culling_sql(self): method date_extract_sql (line 557) | def date_extract_sql(self, lookup_type, field_name): method date_interval_sql (line 564) | def date_interval_sql(self, sql, connector, timedelta): method date_trunc_sql (line 570) | def date_trunc_sql(self, lookup_type, field_name): method datetime_cast_sql (line 581) | def datetime_cast_sql(self): method deferrable_sql (line 592) | def deferrable_sql(self): method distinct_sql (line 600) | def distinct_sql(self, fields): method drop_foreignkey_sql (line 612) | def drop_foreignkey_sql(self): method drop_sequence_sql (line 618) | def drop_sequence_sql(self, table): method fetch_returned_insert_id (line 625) | def fetch_returned_insert_id(self, cursor): method field_cast_sql (line 634) | def field_cast_sql(self, db_type): method force_no_ordering (line 643) | def force_no_ordering(self): method for_update_sql (line 653) | def for_update_sql(self, nowait=False): method fulltext_search_sql (line 662) | def fulltext_search_sql(self, field_name): method last_executed_query (line 671) | def last_executed_query(self, cursor, sql, params): method last_insert_id (line 694) | def last_insert_id(self, cursor, table_name, pk_name): method lookup_cast (line 705) | def lookup_cast(self, lookup_type): method max_in_list_size (line 715) | def max_in_list_size(self): method max_name_length (line 724) | def max_name_length(self): method no_limit_value (line 731) | def no_limit_value(self): method pk_default_value (line 738) | def pk_default_value(self): method process_clob (line 747) | def process_clob(self, value): method return_insert_id (line 754) | def return_insert_id(self): method compiler (line 763) | def compiler(self, compiler_name): method quote_name (line 773) | def quote_name(self, name): method random_function_sql (line 780) | def random_function_sql(self): method regex_lookup (line 786) | def regex_lookup(self, lookup_type): method savepoint_create_sql (line 798) | def savepoint_create_sql(self, sid): method savepoint_commit_sql (line 806) | def savepoint_commit_sql(self, sid): method savepoint_rollback_sql (line 812) | def savepoint_rollback_sql(self, sid): method set_time_zone_sql (line 818) | def set_time_zone_sql(self): method sql_flush (line 827) | def sql_flush(self, style, tables, sequences): method sequence_reset_by_name_sql (line 842) | def sequence_reset_by_name_sql(self, style, sequences): method sequence_reset_sql (line 852) | def sequence_reset_sql(self, style, model_list): method start_transaction_sql (line 863) | def start_transaction_sql(self): method end_transaction_sql (line 869) | def end_transaction_sql(self, success=True): method tablespace_sql (line 874) | def tablespace_sql(self, tablespace, inline=False): method prep_for_like_query (line 886) | def prep_for_like_query(self, x): method validate_autopk_value (line 896) | def validate_autopk_value(self, value): method value_to_db_date (line 904) | def value_to_db_date(self, value): method value_to_db_datetime (line 913) | def value_to_db_datetime(self, value): method value_to_db_time (line 922) | def value_to_db_time(self, value): method value_to_db_decimal (line 933) | def value_to_db_decimal(self, value, max_digits, decimal_places): method year_lookup_bounds (line 942) | def year_lookup_bounds(self, value): method year_lookup_bounds_for_date_field (line 955) | def year_lookup_bounds_for_date_field(self, value): method convert_values (line 968) | def convert_values(self, value, field): method check_aggregate_support (line 989) | def check_aggregate_support(self, aggregate_func): method combine_expression (line 999) | def combine_expression(self, connector, sub_expressions): method modify_insert_params (line 1008) | def modify_insert_params(self, placeholders, params): class BaseDatabaseIntrospection (line 1015) | class BaseDatabaseIntrospection(object): method __init__ (line 1023) | def __init__(self, connection): method get_field_type (line 1026) | def get_field_type(self, data_type, description): method table_name_converter (line 1034) | def table_name_converter(self, name): method table_names (line 1041) | def table_names(self, cursor=None): method get_table_list (line 1054) | def get_table_list(self, cursor): method django_table_names (line 1061) | def django_table_names(self, only_existing=False): method installed_models (line 1100) | def installed_models(self, tables): method sequence_list (line 1118) | def sequence_list(self): method get_key_columns (line 1151) | def get_key_columns(self, cursor, table_name): method get_primary_key_column (line 1160) | def get_primary_key_column(self, cursor, table_name): method get_indexes (line 1172) | def get_indexes(self, cursor, table_name): class BaseDatabaseClient (line 1186) | class BaseDatabaseClient(object): method __init__ (line 1197) | def __init__(self, connection): method runshell (line 1201) | def runshell(self): class BaseDatabaseValidation (line 1205) | class BaseDatabaseValidation(object): method __init__ (line 1211) | def __init__(self, connection): method validate_field (line 1214) | def validate_field(self, errors, opts, f): FILE: Django-1.5.1/django/db/backends/creation.py class BaseDatabaseCreation (line 15) | class BaseDatabaseCreation(object): method __init__ (line 24) | def __init__(self, connection): method _digest (line 27) | def _digest(self, *args): method sql_create_model (line 40) | def sql_create_model(self, model, style, known_models=set()): method sql_for_inline_foreign_key_references (line 146) | def sql_for_inline_foreign_key_references(self, field, known_models, s... method sql_for_pending_references (line 168) | def sql_for_pending_references(self, model, style, pending_references): method sql_indexes_for_model (line 202) | def sql_indexes_for_model(self, model, style): method sql_indexes_for_field (line 223) | def sql_indexes_for_field(self, model, f, style): method sql_indexes_for_fields (line 234) | def sql_indexes_for_fields(self, model, fields, style): method sql_destroy_model (line 266) | def sql_destroy_model(self, model, references_to_delete, style): method sql_remove_table_constraints (line 294) | def sql_remove_table_constraints(self, model, references_to_delete, st... method create_test_db (line 324) | def create_test_db(self, verbosity=1, autoclobber=False): function _get_test_db_name (line 387) | def _get_test_db_name(self): function _create_test_db (line 398) | def _create_test_db(self, verbosity, autoclobber): function destroy_test_db (line 462) | def destroy_test_db(self, old_database_name, verbosity=1): function _destroy_test_db (line 489) | def _destroy_test_db(self, test_database_name, verbosity): function set_autocommit (line 505) | def set_autocommit(self): function _prepare_for_test_db_ddl (line 513) | def _prepare_for_test_db_ddl(self): function sql_table_creation_suffix (line 524) | def sql_table_creation_suffix(self): function test_db_signature (line 532) | def test_db_signature(self): FILE: Django-1.5.1/django/db/backends/dummy/base.py function complain (line 14) | def complain(*args, **kwargs): function ignore (line 19) | def ignore(*args, **kwargs): class DatabaseError (line 22) | class DatabaseError(Exception): class IntegrityError (line 25) | class IntegrityError(DatabaseError): class DatabaseOperations (line 28) | class DatabaseOperations(BaseDatabaseOperations): class DatabaseClient (line 31) | class DatabaseClient(BaseDatabaseClient): class DatabaseCreation (line 34) | class DatabaseCreation(BaseDatabaseCreation): class DatabaseIntrospection (line 38) | class DatabaseIntrospection(BaseDatabaseIntrospection): class DatabaseWrapper (line 45) | class DatabaseWrapper(BaseDatabaseWrapper): method __init__ (line 65) | def __init__(self, *args, **kwargs): FILE: Django-1.5.1/django/db/backends/mysql/base.py function parse_datetime_with_timezone_support (line 63) | def parse_datetime_with_timezone_support(value): function adapt_datetime_with_timezone_support (line 70) | def adapt_datetime_with_timezone_support(value, conv): class CursorWrapper (line 112) | class CursorWrapper(object): method __init__ (line 128) | def __init__(self, cursor): method execute (line 131) | def execute(self, query, args=None): method executemany (line 152) | def executemany(self, query, args): method __getattr__ (line 168) | def __getattr__(self, attr): method __iter__ (line 174) | def __iter__(self): class DatabaseFeatures (line 177) | class DatabaseFeatures(BaseDatabaseFeatures): method __init__ (line 196) | def __init__(self, connection): method _mysql_storage_engine (line 201) | def _mysql_storage_engine(self): method can_introspect_foreign_keys (line 215) | def can_introspect_foreign_keys(self): class DatabaseOperations (line 219) | class DatabaseOperations(BaseDatabaseOperations): method date_extract_sql (line 222) | def date_extract_sql(self, lookup_type, field_name): method date_trunc_sql (line 231) | def date_trunc_sql(self, lookup_type, field_name): method date_interval_sql (line 245) | def date_interval_sql(self, sql, connector, timedelta): method drop_foreignkey_sql (line 250) | def drop_foreignkey_sql(self): method force_no_ordering (line 253) | def force_no_ordering(self): method fulltext_search_sql (line 262) | def fulltext_search_sql(self, field_name): method last_executed_query (line 265) | def last_executed_query(self, cursor, sql, params): method no_limit_value (line 273) | def no_limit_value(self): method quote_name (line 278) | def quote_name(self, name): method random_function_sql (line 284) | def random_function_sql(self): method sql_flush (line 287) | def sql_flush(self, style, tables, sequences): method sequence_reset_by_name_sql (line 305) | def sequence_reset_by_name_sql(self, style, sequences): method validate_autopk_value (line 320) | def validate_autopk_value(self, value): method value_to_db_datetime (line 327) | def value_to_db_datetime(self, value): method value_to_db_time (line 342) | def value_to_db_time(self, value): method year_lookup_bounds (line 353) | def year_lookup_bounds(self, value): method max_name_length (line 360) | def max_name_length(self): method bulk_insert_sql (line 364) | def bulk_insert_sql(self, fields, num_values): method savepoint_create_sql (line 369) | def savepoint_create_sql(self, sid): method savepoint_commit_sql (line 372) | def savepoint_commit_sql(self, sid): method savepoint_rollback_sql (line 376) | def savepoint_rollback_sql(self, sid): class DatabaseWrapper (line 379) | class DatabaseWrapper(BaseDatabaseWrapper): method __init__ (line 400) | def __init__(self, *args, **kwargs): method _valid_connection (line 413) | def _valid_connection(self): method _cursor (line 423) | def _cursor(self): method _rollback (line 482) | def _rollback(self): method mysql_version (line 489) | def mysql_version(self): method disable_constraint_checking (line 509) | def disable_constraint_checking(self): method enable_constraint_checking (line 526) | def enable_constraint_checking(self): method check_constraints (line 532) | def check_constraints(self, table_names=None): FILE: Django-1.5.1/django/db/backends/mysql/client.py class DatabaseClient (line 6) | class DatabaseClient(BaseDatabaseClient): method runshell (line 9) | def runshell(self): FILE: Django-1.5.1/django/db/backends/mysql/compiler.py class SQLCompiler (line 9) | class SQLCompiler(compiler.SQLCompiler): method resolve_columns (line 10) | def resolve_columns(self, row, fields=()): class SQLInsertCompiler (line 20) | class SQLInsertCompiler(compiler.SQLInsertCompiler, SQLCompiler): class SQLDeleteCompiler (line 23) | class SQLDeleteCompiler(compiler.SQLDeleteCompiler, SQLCompiler): class SQLUpdateCompiler (line 26) | class SQLUpdateCompiler(compiler.SQLUpdateCompiler, SQLCompiler): class SQLAggregateCompiler (line 29) | class SQLAggregateCompiler(compiler.SQLAggregateCompiler, SQLCompiler): class SQLDateCompiler (line 32) | class SQLDateCompiler(compiler.SQLDateCompiler, SQLCompiler): FILE: Django-1.5.1/django/db/backends/mysql/creation.py class DatabaseCreation (line 3) | class DatabaseCreation(BaseDatabaseCreation): method sql_table_creation_suffix (line 33) | def sql_table_creation_suffix(self): method sql_for_inline_foreign_key_references (line 41) | def sql_for_inline_foreign_key_references(self, field, known_models, s... method sql_for_inline_many_to_many_references (line 45) | def sql_for_inline_many_to_many_references(self, model, field, style): FILE: Django-1.5.1/django/db/backends/mysql/introspection.py class DatabaseIntrospection (line 9) | class DatabaseIntrospection(BaseDatabaseIntrospection): method get_table_list (line 33) | def get_table_list(self, cursor): method get_table_description (line 38) | def get_table_description(self, cursor, table_name): method _name_to_index (line 54) | def _name_to_index(self, cursor, table_name): method get_relations (line 61) | def get_relations(self, cursor, table_name): method get_key_columns (line 75) | def get_key_columns(self, cursor, table_name): method get_indexes (line 91) | def get_indexes(self, cursor, table_name): FILE: Django-1.5.1/django/db/backends/mysql/validation.py class DatabaseValidation (line 3) | class DatabaseValidation(BaseDatabaseValidation): method validate_field (line 4) | def validate_field(self, errors, opts, f): FILE: Django-1.5.1/django/db/backends/oracle/base.py function _setup_environment (line 13) | def _setup_environment(environ): class DatabaseFeatures (line 71) | class DatabaseFeatures(BaseDatabaseFeatures): class DatabaseOperations (line 90) | class DatabaseOperations(BaseDatabaseOperations): method autoinc_sql (line 93) | def autoinc_sql(self, table, column): method cache_key_culling_sql (line 123) | def cache_key_culling_sql(self): method date_extract_sql (line 130) | def date_extract_sql(self, lookup_type, field_name): method date_interval_sql (line 138) | def date_interval_sql(self, sql, connector, timedelta): method date_trunc_sql (line 152) | def date_trunc_sql(self, lookup_type, field_name): method convert_values (line 161) | def convert_values(self, value, field): method datetime_cast_sql (line 203) | def datetime_cast_sql(self): method deferrable_sql (line 206) | def deferrable_sql(self): method drop_sequence_sql (line 209) | def drop_sequence_sql(self, table): method fetch_returned_insert_id (line 212) | def fetch_returned_insert_id(self, cursor): method field_cast_sql (line 215) | def field_cast_sql(self, db_type): method last_executed_query (line 221) | def last_executed_query(self, cursor, sql, params): method last_insert_id (line 230) | def last_insert_id(self, cursor, table_name, pk_name): method lookup_cast (line 235) | def lookup_cast(self, lookup_type): method max_in_list_size (line 240) | def max_in_list_size(self): method max_name_length (line 243) | def max_name_length(self): method prep_for_iexact_query (line 246) | def prep_for_iexact_query(self, x): method process_clob (line 249) | def process_clob(self, value): method quote_name (line 254) | def quote_name(self, name): method random_function_sql (line 268) | def random_function_sql(self): method regex_lookup_9 (line 271) | def regex_lookup_9(self, lookup_type): method regex_lookup_10 (line 274) | def regex_lookup_10(self, lookup_type): method regex_lookup (line 281) | def regex_lookup(self, lookup_type): method return_insert_id (line 287) | def return_insert_id(self): method savepoint_create_sql (line 290) | def savepoint_create_sql(self, sid): method savepoint_rollback_sql (line 293) | def savepoint_rollback_sql(self, sid): method sql_flush (line 296) | def sql_flush(self, style, tables, sequences): method sequence_reset_by_name_sql (line 314) | def sequence_reset_by_name_sql(self, style, sequences): method sequence_reset_sql (line 326) | def sequence_reset_sql(self, style, model_list): method start_transaction_sql (line 352) | def start_transaction_sql(self): method tablespace_sql (line 355) | def tablespace_sql(self, tablespace, inline=False): method value_to_db_datetime (line 361) | def value_to_db_datetime(self, value): method value_to_db_time (line 374) | def value_to_db_time(self, value): method year_lookup_bounds_for_date_field (line 388) | def year_lookup_bounds_for_date_field(self, value): method combine_expression (line 393) | def combine_expression(self, connector, sub_expressions): method _get_sequence_name (line 403) | def _get_sequence_name(self, table): method _get_trigger_name (line 407) | def _get_trigger_name(self, table): method bulk_insert_sql (line 411) | def bulk_insert_sql(self, fields, num_values): class _UninitializedOperatorsDescriptor (line 416) | class _UninitializedOperatorsDescriptor(object): method __get__ (line 418) | def __get__(self, instance, owner): class DatabaseWrapper (line 429) | class DatabaseWrapper(BaseDatabaseWrapper): method __init__ (line 458) | def __init__(self, *args, **kwargs): method check_constraints (line 471) | def check_constraints(self, table_names=None): method _valid_connection (line 479) | def _valid_connection(self): method _connect_string (line 482) | def _connect_string(self): method _cursor (line 495) | def _cursor(self): method _savepoint_commit (line 557) | def _savepoint_commit(self, sid): method _commit (line 560) | def _commit(self): class OracleParam (line 583) | class OracleParam(object): method __init__ (line 593) | def __init__(self, param, cursor, strings_only=False): class VariableWrapper (line 626) | class VariableWrapper(object): method __init__ (line 634) | def __init__(self, var): method bind_parameter (line 637) | def bind_parameter(self, cursor): method __getattr__ (line 640) | def __getattr__(self, key): method __setattr__ (line 643) | def __setattr__(self, key, value): class InsertIdVar (line 650) | class InsertIdVar(object): method bind_parameter (line 657) | def bind_parameter(self, cursor): class FormatStylePlaceholderCursor (line 663) | class FormatStylePlaceholderCursor(object): method __init__ (line 674) | def __init__(self, connection): method _format_params (line 681) | def _format_params(self, params): method _guess_input_sizes (line 684) | def _guess_input_sizes(self, params_list): method _param_generator (line 692) | def _param_generator(self, params): method execute (line 695) | def execute(self, query, params=None): method executemany (line 719) | def executemany(self, query, params=None): method fetchone (line 748) | def fetchone(self): method fetchmany (line 754) | def fetchmany(self, size=None): method fetchall (line 760) | def fetchall(self): method var (line 764) | def var(self, *args): method arrayvar (line 767) | def arrayvar(self, *args): method __getattr__ (line 770) | def __getattr__(self, attr): method __iter__ (line 776) | def __iter__(self): class CursorIterator (line 780) | class CursorIterator(six.Iterator): method __init__ (line 784) | def __init__(self, cursor): method __iter__ (line 788) | def __iter__(self): method __next__ (line 791) | def __next__(self): function _rowfactory (line 795) | def _rowfactory(row, cursor): function to_unicode (line 842) | def to_unicode(s): function _get_sequence_reset_sql (line 852) | def _get_sequence_reset_sql(): FILE: Django-1.5.1/django/db/backends/oracle/client.py class DatabaseClient (line 6) | class DatabaseClient(BaseDatabaseClient): method runshell (line 9) | def runshell(self): FILE: Django-1.5.1/django/db/backends/oracle/compiler.py class SQLCompiler (line 9) | class SQLCompiler(compiler.SQLCompiler): method resolve_columns (line 10) | def resolve_columns(self, row, fields=()): method as_sql (line 25) | def as_sql(self, with_limits=True, with_col_aliases=False): class SQLInsertCompiler (line 60) | class SQLInsertCompiler(compiler.SQLInsertCompiler, SQLCompiler): class SQLDeleteCompiler (line 63) | class SQLDeleteCompiler(compiler.SQLDeleteCompiler, SQLCompiler): class SQLUpdateCompiler (line 66) | class SQLUpdateCompiler(compiler.SQLUpdateCompiler, SQLCompiler): class SQLAggregateCompiler (line 69) | class SQLAggregateCompiler(compiler.SQLAggregateCompiler, SQLCompiler): class SQLDateCompiler (line 72) | class SQLDateCompiler(compiler.SQLDateCompiler, SQLCompiler): FILE: Django-1.5.1/django/db/backends/oracle/creation.py class DatabaseCreation (line 9) | class DatabaseCreation(BaseDatabaseCreation): method __init__ (line 44) | def __init__(self, connection): method _create_test_db (line 47) | def _create_test_db(self, verbosity=1, autoclobber=False): method _destroy_test_db (line 114) | def _destroy_test_db(self, test_database_name, verbosity=1): method _execute_test_db_creation (line 148) | def _execute_test_db_creation(self, cursor, parameters, verbosity): method _create_test_user (line 163) | def _create_test_user(self, cursor, parameters, verbosity): method _execute_test_db_destruction (line 176) | def _execute_test_db_destruction(self, cursor, parameters, verbosity): method _destroy_test_user (line 185) | def _destroy_test_user(self, cursor, parameters, verbosity): method _execute_statements (line 194) | def _execute_statements(self, cursor, statements, parameters, verbosity): method _test_database_name (line 205) | def _test_database_name(self): method _test_database_create (line 214) | def _test_database_create(self): method _test_user_create (line 217) | def _test_user_create(self): method _test_database_user (line 220) | def _test_database_user(self): method _test_database_passwd (line 229) | def _test_database_passwd(self): method _test_database_tblspace (line 238) | def _test_database_tblspace(self): method _test_database_tblspace_tmp (line 247) | def _test_database_tblspace_tmp(self): method _get_test_db_name (line 256) | def _get_test_db_name(self): method test_db_signature (line 264) | def test_db_signature(self): method set_autocommit (line 274) | def set_autocommit(self): FILE: Django-1.5.1/django/db/backends/oracle/introspection.py class DatabaseIntrospection (line 7) | class DatabaseIntrospection(BaseDatabaseIntrospection): method get_field_type (line 29) | def get_field_type(self, data_type, description): method get_table_list (line 40) | def get_table_list(self, cursor): method get_table_description (line 45) | def get_table_description(self, cursor, table_name): method table_name_converter (line 53) | def table_name_converter(self, name): method _name_to_index (line 57) | def _name_to_index(self, cursor, table_name): method get_relations (line 64) | def get_relations(self, cursor, table_name): method get_indexes (line 89) | def get_indexes(self, cursor, table_name): FILE: Django-1.5.1/django/db/backends/postgresql_psycopg2/base.py function utc_tzinfo_factory (line 38) | def utc_tzinfo_factory(offset): class CursorWrapper (line 43) | class CursorWrapper(object): method __init__ (line 49) | def __init__(self, cursor): method execute (line 52) | def execute(self, query, args=None): method executemany (line 60) | def executemany(self, query, args): method __getattr__ (line 68) | def __getattr__(self, attr): method __iter__ (line 74) | def __iter__(self): class DatabaseFeatures (line 77) | class DatabaseFeatures(BaseDatabaseFeatures): class DatabaseWrapper (line 90) | class DatabaseWrapper(BaseDatabaseWrapper): method __init__ (line 109) | def __init__(self, *args, **kwargs): method check_constraints (line 127) | def check_constraints(self, table_names=None): method close (line 135) | def close(self): method _get_pg_version (line 154) | def _get_pg_version(self): method _cursor (line 160) | def _cursor(self): method _enter_transaction_management (line 207) | def _enter_transaction_management(self, managed): method _leave_transaction_management (line 215) | def _leave_transaction_management(self, managed): method _set_isolation_level (line 223) | def _set_isolation_level(self, level): method _commit (line 237) | def _commit(self): FILE: Django-1.5.1/django/db/backends/postgresql_psycopg2/client.py class DatabaseClient (line 6) | class DatabaseClient(BaseDatabaseClient): method runshell (line 9) | def runshell(self): FILE: Django-1.5.1/django/db/backends/postgresql_psycopg2/creation.py class DatabaseCreation (line 7) | class DatabaseCreation(BaseDatabaseCreation): method sql_table_creation_suffix (line 37) | def sql_table_creation_suffix(self): method sql_indexes_for_field (line 43) | def sql_indexes_for_field(self, model, f, style): method set_autocommit (line 80) | def set_autocommit(self): method _prepare_for_test_db_ddl (line 83) | def _prepare_for_test_db_ddl(self): FILE: Django-1.5.1/django/db/backends/postgresql_psycopg2/introspection.py class DatabaseIntrospection (line 6) | class DatabaseIntrospection(BaseDatabaseIntrospection): method get_table_list (line 27) | def get_table_list(self, cursor): method get_table_description (line 38) | def get_table_description(self, cursor, table_name): method get_relations (line 51) | def get_relations(self, cursor, table_name): method get_indexes (line 69) | def get_indexes(self, cursor, table_name): FILE: Django-1.5.1/django/db/backends/postgresql_psycopg2/operations.py class DatabaseOperations (line 6) | class DatabaseOperations(BaseDatabaseOperations): method __init__ (line 7) | def __init__(self, connection): method date_extract_sql (line 10) | def date_extract_sql(self, lookup_type, field_name): method date_interval_sql (line 18) | def date_interval_sql(self, sql, connector, timedelta): method date_trunc_sql (line 35) | def date_trunc_sql(self, lookup_type, field_name): method deferrable_sql (line 39) | def deferrable_sql(self): method lookup_cast (line 42) | def lookup_cast(self, lookup_type): method field_cast_sql (line 56) | def field_cast_sql(self, db_type): method last_insert_id (line 61) | def last_insert_id(self, cursor, table_name, pk_name): method no_limit_value (line 68) | def no_limit_value(self): method quote_name (line 71) | def quote_name(self, name): method set_time_zone_sql (line 76) | def set_time_zone_sql(self): method sql_flush (line 79) | def sql_flush(self, style, tables, sequences): method sequence_reset_by_name_sql (line 93) | def sequence_reset_by_name_sql(self, style, sequences): method tablespace_sql (line 111) | def tablespace_sql(self, tablespace, inline=False): method sequence_reset_sql (line 117) | def sequence_reset_sql(self, style, model_list): method savepoint_create_sql (line 153) | def savepoint_create_sql(self, sid): method savepoint_commit_sql (line 156) | def savepoint_commit_sql(self, sid): method savepoint_rollback_sql (line 159) | def savepoint_rollback_sql(self, sid): method prep_for_iexact_query (line 162) | def prep_for_iexact_query(self, x): method check_aggregate_support (line 165) | def check_aggregate_support(self, aggregate): method max_name_length (line 177) | def max_name_length(self): method distinct_sql (line 191) | def distinct_sql(self, fields): method last_executed_query (line 197) | def last_executed_query(self, cursor, sql, params): method return_insert_id (line 204) | def return_insert_id(self): method bulk_insert_sql (line 207) | def bulk_insert_sql(self, fields, num_values): FILE: Django-1.5.1/django/db/backends/postgresql_psycopg2/version.py function _parse_version (line 16) | def _parse_version(text): function get_version (line 24) | def get_version(connection): FILE: Django-1.5.1/django/db/backends/sqlite3/base.py function parse_datetime_with_timezone_support (line 40) | def parse_datetime_with_timezone_support(value): function adapt_datetime_with_timezone_support (line 47) | def adapt_datetime_with_timezone_support(value): function decoder (line 59) | def decoder(conv_func): class DatabaseFeatures (line 85) | class DatabaseFeatures(BaseDatabaseFeatures): method supports_stddev (line 100) | def supports_stddev(self): class DatabaseOperations (line 118) | class DatabaseOperations(BaseDatabaseOperations): method bulk_batch_size (line 119) | def bulk_batch_size(self, fields, objs): method date_extract_sql (line 130) | def date_extract_sql(self, lookup_type, field_name): method date_interval_sql (line 137) | def date_interval_sql(self, sql, connector, timedelta): method date_trunc_sql (line 147) | def date_trunc_sql(self, lookup_type, field_name): method drop_foreignkey_sql (line 154) | def drop_foreignkey_sql(self): method pk_default_value (line 157) | def pk_default_value(self): method quote_name (line 160) | def quote_name(self, name): method no_limit_value (line 165) | def no_limit_value(self): method sql_flush (line 168) | def sql_flush(self, style, tables, sequences): method value_to_db_datetime (line 181) | def value_to_db_datetime(self, value): method value_to_db_time (line 194) | def value_to_db_time(self, value): method year_lookup_bounds (line 204) | def year_lookup_bounds(self, value): method convert_values (line 209) | def convert_values(self, value, field): method bulk_insert_sql (line 229) | def bulk_insert_sql(self, fields, num_values): class DatabaseWrapper (line 237) | class DatabaseWrapper(BaseDatabaseWrapper): method __init__ (line 259) | def __init__(self, *args, **kwargs): method _sqlite_create_connection (line 269) | def _sqlite_create_connection(self): method _cursor (line 304) | def _cursor(self): method check_constraints (line 309) | def check_constraints(self, table_names=None): method close (line 343) | def close(self): class SQLiteCursorWrapper (line 353) | class SQLiteCursorWrapper(Database.Cursor): method execute (line 359) | def execute(self, query, params=()): method executemany (line 368) | def executemany(self, query, param_list): method convert_query (line 377) | def convert_query(self, query): function _sqlite_extract (line 380) | def _sqlite_extract(lookup_type, dt): function _sqlite_date_trunc (line 392) | def _sqlite_date_trunc(lookup_type, dt): function _sqlite_format_dtdelta (line 404) | def _sqlite_format_dtdelta(dt, conn, days, secs, usecs): function _sqlite_regexp (line 418) | def _sqlite_regexp(re_pattern, re_string): FILE: Django-1.5.1/django/db/backends/sqlite3/client.py class DatabaseClient (line 6) | class DatabaseClient(BaseDatabaseClient): method runshell (line 9) | def runshell(self): FILE: Django-1.5.1/django/db/backends/sqlite3/creation.py class DatabaseCreation (line 6) | class DatabaseCreation(BaseDatabaseCreation): method sql_for_pending_references (line 35) | def sql_for_pending_references(self, model, style, pending_references): method sql_remove_table_constraints (line 39) | def sql_remove_table_constraints(self, model, references_to_delete, st... method _get_test_db_name (line 43) | def _get_test_db_name(self): method _create_test_db (line 49) | def _create_test_db(self, verbosity, autoclobber): method _destroy_test_db (line 69) | def _destroy_test_db(self, test_database_name, verbosity): method set_autocommit (line 74) | def set_autocommit(self): method test_db_signature (line 77) | def test_db_signature(self): FILE: Django-1.5.1/django/db/backends/sqlite3/introspection.py function get_field_size (line 6) | def get_field_size(name): class FlexibleFieldLookupDict (line 15) | class FlexibleFieldLookupDict(object): method __getitem__ (line 38) | def __getitem__(self, key): class DatabaseIntrospection (line 48) | class DatabaseIntrospection(BaseDatabaseIntrospection): method get_table_list (line 51) | def get_table_list(self, cursor): method get_table_description (line 61) | def get_table_description(self, cursor, table_name): method get_relations (line 66) | def get_relations(self, cursor, table_name): method get_key_columns (line 113) | def get_key_columns(self, cursor, table_name): method get_indexes (line 142) | def get_indexes(self, cursor, table_name): method get_primary_key_column (line 161) | def get_primary_key_column(self, cursor, table_name): method _table_info (line 176) | def _table_info(self, cursor, name): FILE: Django-1.5.1/django/db/backends/util.py class CursorWrapper (line 17) | class CursorWrapper(object): method __init__ (line 18) | def __init__(self, cursor, db): method set_dirty (line 22) | def set_dirty(self): method __getattr__ (line 26) | def __getattr__(self, attr): method __iter__ (line 31) | def __iter__(self): class CursorDebugWrapper (line 35) | class CursorDebugWrapper(CursorWrapper): method execute (line 37) | def execute(self, sql, params=()): method executemany (line 54) | def executemany(self, sql, param_list): function typecast_date (line 79) | def typecast_date(s): function typecast_time (line 82) | def typecast_time(s): # does NOT store time zone information function typecast_timestamp (line 91) | def typecast_timestamp(s): # does NOT store time zone information function typecast_decimal (line 119) | def typecast_decimal(s): function rev_typecast_decimal (line 128) | def rev_typecast_decimal(d): function truncate_name (line 133) | def truncate_name(name, length=None, hash_len=4): function format_number (line 142) | def format_number(value, max_digits, decimal_places): FILE: Django-1.5.1/django/db/models/__init__.py function permalink (line 19) | def permalink(func): FILE: Django-1.5.1/django/db/models/aggregates.py class Aggregate (line 5) | class Aggregate(object): method __init__ (line 9) | def __init__(self, lookup, **extra): method _default_alias (line 22) | def _default_alias(self): method add_to_query (line 26) | def add_to_query(self, query, alias, col, source, is_summary): class Avg (line 48) | class Avg(Aggregate): class Count (line 51) | class Count(Aggregate): class Max (line 54) | class Max(Aggregate): class Min (line 57) | class Min(Aggregate): class StdDev (line 60) | class StdDev(Aggregate): class Sum (line 63) | class Sum(Aggregate): class Variance (line 66) | class Variance(Aggregate): FILE: Django-1.5.1/django/db/models/base.py function subclass_exception (line 31) | def subclass_exception(name, parents, module, attached_to=None): class ModelBase (line 55) | class ModelBase(type): method __new__ (line 59) | def __new__(cls, name, bases, attrs): function copy_managers (line 307) | def copy_managers(cls, base_managers): function add_to_class (line 317) | def add_to_class(cls, name, value): function _prepare (line 323) | def _prepare(cls): function __init__ (line 369) | def __init__(self, db=None): function __init__ (line 401) | def __init__(self, *args, **kwargs): function __repr__ (line 501) | def __repr__(self): function __str__ (line 508) | def __str__(self): function __eq__ (line 518) | def __eq__(self, other): function __ne__ (line 521) | def __ne__(self, other): function __hash__ (line 524) | def __hash__(self): function __reduce__ (line 527) | def __reduce__(self): function _get_pk_val (line 546) | def _get_pk_val(self, meta=None): function _set_pk_val (line 552) | def _set_pk_val(self, value): function serializable_value (line 558) | def serializable_value(self, field_name): function save (line 575) | def save(self, force_insert=False, force_update=False, using=None, function save_base (line 649) | def save_base(self, raw=False, cls=None, origin=None, force_insert=False, function delete (line 802) | def delete(self, using=None): function _get_FIELD_display (line 813) | def _get_FIELD_display(self, field): function _get_next_or_previous_by_FIELD (line 817) | def _get_next_or_previous_by_FIELD(self, field, is_next, **kwargs): function _get_next_or_previous_in_order (line 835) | def _get_next_or_previous_in_order(self, is_next): function prepare_database_save (line 853) | def prepare_database_save(self, unused): function clean (line 856) | def clean(self): function validate_unique (line 865) | def validate_unique(self, exclude=None): function _get_unique_checks (line 881) | def _get_unique_checks(self, exclude=None): function _perform_unique_checks (line 936) | def _perform_unique_checks(self, unique_checks): function _perform_date_checks (line 984) | def _perform_date_checks(self, date_checks): function date_error_message (line 1013) | def date_error_message(self, lookup_type, field, unique_for): function unique_error_message (line 1021) | def unique_error_message(self, model_class, unique_check): function full_clean (line 1045) | def full_clean(self, exclude=None): function clean_fields (line 1079) | def clean_fields(self, exclude=None): function method_set_order (line 1112) | def method_set_order(ordered_obj, self, id_list, using=None): function method_get_order (line 1124) | def method_get_order(ordered_obj, self): function get_absolute_url (line 1136) | def get_absolute_url(opts, func, self, *args, **kwargs): class Empty (line 1144) | class Empty(object): function model_unpickle (line 1148) | def model_unpickle(model, attrs): function unpickle_inner_exception (line 1157) | def unpickle_inner_exception(klass, exception_name): FILE: Django-1.5.1/django/db/models/deletion.py class ProtectedError (line 10) | class ProtectedError(IntegrityError): method __init__ (line 11) | def __init__(self, msg, protected_objects): function CASCADE (line 16) | def CASCADE(collector, field, sub_objs, using): function PROTECT (line 27) | def PROTECT(collector, field, sub_objs, using): function SET (line 36) | def SET(value): function SET_DEFAULT (line 49) | def SET_DEFAULT(collector, field, sub_objs, using): function DO_NOTHING (line 53) | def DO_NOTHING(collector, field, sub_objs, using): function force_managed (line 57) | def force_managed(func): class Collector (line 85) | class Collector(object): method __init__ (line 86) | def __init__(self, using): method add (line 107) | def add(self, objs, source=None, nullable=False, reverse_dependency=Fa... method add_batch (line 139) | def add_batch(self, model, field, objs): method add_field_update (line 146) | def add_field_update(self, field, value, objs): method can_fast_delete (line 160) | def can_fast_delete(self, objs, from_field=None): method collect (line 218) | def collect(self, objs, source=None, nullable=False, collect_related=T... method related_objects (line 304) | def related_objects(self, related, objs): function instances_with_model (line 319) | def instances_with_model(self): function sort (line 324) | def sort(self): function delete (line 345) | def delete(self): FILE: Django-1.5.1/django/db/models/expressions.py class ExpressionNode (line 4) | class ExpressionNode(tree.Node): method __init__ (line 23) | def __init__(self, children=None, connector=None, negated=False): method _combine (line 28) | def _combine(self, other, connector, reversed, node=None): method prepare (line 44) | def prepare(self, evaluator, query, allow_joins): method evaluate (line 47) | def evaluate(self, evaluator, qn, connection): method __add__ (line 54) | def __add__(self, other): method __sub__ (line 57) | def __sub__(self, other): method __mul__ (line 60) | def __mul__(self, other): method __truediv__ (line 63) | def __truediv__(self, other): method __div__ (line 66) | def __div__(self, other): # Python 2 compatibility method __mod__ (line 69) | def __mod__(self, other): method __and__ (line 72) | def __and__(self, other): method bitand (line 77) | def bitand(self, other): method __or__ (line 80) | def __or__(self, other): method bitor (line 85) | def bitor(self, other): method __radd__ (line 88) | def __radd__(self, other): method __rsub__ (line 91) | def __rsub__(self, other): method __rmul__ (line 94) | def __rmul__(self, other): method __rtruediv__ (line 97) | def __rtruediv__(self, other): method __rdiv__ (line 100) | def __rdiv__(self, other): # Python 2 compatibility method __rmod__ (line 103) | def __rmod__(self, other): method __rand__ (line 106) | def __rand__(self, other): method __ror__ (line 111) | def __ror__(self, other): method prepare_database_save (line 116) | def prepare_database_save(self, unused): class F (line 119) | class F(ExpressionNode): method __init__ (line 123) | def __init__(self, name): method __deepcopy__ (line 127) | def __deepcopy__(self, memodict): method prepare (line 132) | def prepare(self, evaluator, query, allow_joins): method evaluate (line 135) | def evaluate(self, evaluator, qn, connection): class DateModifierNode (line 138) | class DateModifierNode(ExpressionNode): method __init__ (line 164) | def __init__(self, children, connector, negated=False): method evaluate (line 173) | def evaluate(self, evaluator, qn, connection): FILE: Django-1.5.1/django/db/models/fields/__init__.py class NOT_PROVIDED (line 26) | class NOT_PROVIDED: class FieldDoesNotExist (line 34) | class FieldDoesNotExist(Exception): class Field (line 58) | class Field(object): method _description (line 85) | def _description(self): method __init__ (line 92) | def __init__(self, verbose_name=None, name=None, primary_key=False, method __eq__ (line 144) | def __eq__(self, other): method __lt__ (line 150) | def __lt__(self, other): method __hash__ (line 156) | def __hash__(self): method __deepcopy__ (line 159) | def __deepcopy__(self, memodict): method to_python (line 169) | def to_python(self, value): method run_validators (line 178) | def run_validators(self, value): method validate (line 197) | def validate(self, value, model_instance): method clean (line 227) | def clean(self, value, model_instance): method db_type (line 238) | def db_type(self, connection): method unique (line 268) | def unique(self): method set_attributes_from_name (line 271) | def set_attributes_from_name(self, name): method contribute_to_class (line 278) | def contribute_to_class(self, cls, name): method get_attname (line 286) | def get_attname(self): method get_attname_column (line 289) | def get_attname_column(self): method get_cache_name (line 294) | def get_cache_name(self): method get_internal_type (line 297) | def get_internal_type(self): method pre_save (line 300) | def pre_save(self, model_instance, add): method get_prep_value (line 306) | def get_prep_value(self, value): method get_db_prep_value (line 312) | def get_db_prep_value(self, value, connection, prepared=False): method get_db_prep_save (line 323) | def get_db_prep_save(self, value, connection): method get_prep_lookup (line 330) | def get_prep_lookup(self, lookup_type, value): method get_db_prep_lookup (line 358) | def get_db_prep_lookup(self, lookup_type, value, connection, method has_default (line 407) | def has_default(self): method get_default (line 413) | def get_default(self): method get_validator_unique_lookup_type (line 428) | def get_validator_unique_lookup_type(self): method get_choices (line 431) | def get_choices(self, include_blank=True, blank_choice=BLANK_CHOICE_DA... method get_choices_default (line 449) | def get_choices_default(self): method get_flatchoices (line 452) | def get_flatchoices(self, include_blank=True, method _get_val_from_obj (line 460) | def _get_val_from_obj(self, obj): method value_to_string (line 466) | def value_to_string(self, obj): method bind (line 473) | def bind(self, fieldmapping, original, bound_field_class): method _get_choices (line 476) | def _get_choices(self): method _get_flatchoices (line 484) | def _get_flatchoices(self): method save_form_data (line 495) | def save_form_data(self, instance, data): method formfield (line 499) | def formfield(self, form_class=forms.CharField, **kwargs): method value_from_object (line 536) | def value_from_object(self, obj): method __repr__ (line 543) | def __repr__(self): class AutoField (line 553) | class AutoField(Field): method __init__ (line 561) | def __init__(self, *args, **kwargs): method get_internal_type (line 567) | def get_internal_type(self): method to_python (line 570) | def to_python(self, value): method validate (line 579) | def validate(self, value, model_instance): method get_db_prep_value (line 582) | def get_db_prep_value(self, value, connection, prepared=False): method get_prep_value (line 588) | def get_prep_value(self, value): method contribute_to_class (line 593) | def contribute_to_class(self, cls, name): method formfield (line 600) | def formfield(self, **kwargs): class BooleanField (line 603) | class BooleanField(Field): method __init__ (line 610) | def __init__(self, *args, **kwargs): method get_internal_type (line 616) | def get_internal_type(self): method to_python (line 619) | def to_python(self, value): method get_prep_lookup (line 631) | def get_prep_lookup(self, lookup_type, value): method get_prep_value (line 640) | def get_prep_value(self, value): method formfield (line 645) | def formfield(self, **kwargs): class CharField (line 658) | class CharField(Field): method __init__ (line 661) | def __init__(self, *args, **kwargs): method get_internal_type (line 665) | def get_internal_type(self): method to_python (line 668) | def to_python(self, value): method get_prep_value (line 673) | def get_prep_value(self, value): method formfield (line 676) | def formfield(self, **kwargs): class CommaSeparatedIntegerField (line 685) | class CommaSeparatedIntegerField(CharField): method formfield (line 689) | def formfield(self, **kwargs): class DateField (line 698) | class DateField(Field): method __init__ (line 708) | def __init__(self, verbose_name=None, name=None, auto_now=False, method get_internal_type (line 716) | def get_internal_type(self): method to_python (line 719) | def to_python(self, value): method pre_save (line 743) | def pre_save(self, model_instance, add): method contribute_to_class (line 751) | def contribute_to_class(self, cls, name): method get_prep_lookup (line 761) | def get_prep_lookup(self, lookup_type, value): method get_prep_value (line 768) | def get_prep_value(self, value): method get_db_prep_value (line 771) | def get_db_prep_value(self, value, connection, prepared=False): method value_to_string (line 777) | def value_to_string(self, obj): method formfield (line 781) | def formfield(self, **kwargs): class DateTimeField (line 786) | class DateTimeField(DateField): method get_internal_type (line 801) | def get_internal_type(self): method to_python (line 804) | def to_python(self, value): method pre_save (line 842) | def pre_save(self, model_instance, add): method get_prep_value (line 855) | def get_prep_value(self, value): method get_db_prep_value (line 868) | def get_db_prep_value(self, value, connection, prepared=False): method value_to_string (line 874) | def value_to_string(self, obj): method formfield (line 878) | def formfield(self, **kwargs): class DecimalField (line 883) | class DecimalField(Field): method __init__ (line 890) | def __init__(self, verbose_name=None, name=None, max_digits=None, method get_internal_type (line 895) | def get_internal_type(self): method to_python (line 898) | def to_python(self, value): method _format (line 907) | def _format(self, value): method format_number (line 913) | def format_number(self, value): method get_db_prep_save (line 927) | def get_db_prep_save(self, value, connection): method get_prep_value (line 931) | def get_prep_value(self, value): method formfield (line 934) | def formfield(self, **kwargs): class EmailField (line 943) | class EmailField(CharField): method __init__ (line 947) | def __init__(self, *args, **kwargs): method formfield (line 954) | def formfield(self, **kwargs): class FilePathField (line 963) | class FilePathField(Field): method __init__ (line 966) | def __init__(self, verbose_name=None, name=None, path='', match=None, method formfield (line 973) | def formfield(self, **kwargs): method get_internal_type (line 985) | def get_internal_type(self): class FloatField (line 988) | class FloatField(Field): method get_prep_value (line 995) | def get_prep_value(self, value): method get_internal_type (line 1000) | def get_internal_type(self): method to_python (line 1003) | def to_python(self, value): method formfield (line 1012) | def formfield(self, **kwargs): class IntegerField (line 1017) | class IntegerField(Field): method get_prep_value (line 1024) | def get_prep_value(self, value): method get_prep_lookup (line 1029) | def get_prep_lookup(self, lookup_type, value): method get_internal_type (line 1035) | def get_internal_type(self): method to_python (line 1038) | def to_python(self, value): method formfield (line 1047) | def formfield(self, **kwargs): class BigIntegerField (line 1052) | class BigIntegerField(IntegerField): method get_internal_type (line 1057) | def get_internal_type(self): method formfield (line 1060) | def formfield(self, **kwargs): class IPAddressField (line 1066) | class IPAddressField(Field): method __init__ (line 1070) | def __init__(self, *args, **kwargs): method get_internal_type (line 1074) | def get_internal_type(self): method formfield (line 1077) | def formfield(self, **kwargs): class GenericIPAddressField (line 1082) | class GenericIPAddressField(Field): method __init__ (line 1087) | def __init__(self, verbose_name=None, name=None, protocol='both', method get_internal_type (line 1096) | def get_internal_type(self): method to_python (line 1099) | def to_python(self, value): method get_db_prep_value (line 1105) | def get_db_prep_value(self, value, connection, prepared=False): method get_prep_value (line 1110) | def get_prep_value(self, value): method formfield (line 1118) | def formfield(self, **kwargs): class NullBooleanField (line 1124) | class NullBooleanField(Field): method __init__ (line 1131) | def __init__(self, *args, **kwargs): method get_internal_type (line 1136) | def get_internal_type(self): method to_python (line 1139) | def to_python(self, value): method get_prep_lookup (line 1153) | def get_prep_lookup(self, lookup_type, value): method get_prep_value (line 1163) | def get_prep_value(self, value): method formfield (line 1168) | def formfield(self, **kwargs): class PositiveIntegerField (line 1177) | class PositiveIntegerField(IntegerField): method get_internal_type (line 1180) | def get_internal_type(self): method formfield (line 1183) | def formfield(self, **kwargs): class PositiveSmallIntegerField (line 1188) | class PositiveSmallIntegerField(IntegerField): method get_internal_type (line 1191) | def get_internal_type(self): method formfield (line 1194) | def formfield(self, **kwargs): class SlugField (line 1199) | class SlugField(CharField): method __init__ (line 1202) | def __init__(self, *args, **kwargs): method get_internal_type (line 1209) | def get_internal_type(self): method formfield (line 1212) | def formfield(self, **kwargs): class SmallIntegerField (line 1217) | class SmallIntegerField(IntegerField): method get_internal_type (line 1220) | def get_internal_type(self): class TextField (line 1223) | class TextField(Field): method get_internal_type (line 1226) | def get_internal_type(self): method get_prep_value (line 1229) | def get_prep_value(self, value): method formfield (line 1234) | def formfield(self, **kwargs): class TimeField (line 1239) | class TimeField(Field): method __init__ (line 1249) | def __init__(self, verbose_name=None, name=None, auto_now=False, method get_internal_type (line 1257) | def get_internal_type(self): method to_python (line 1260) | def to_python(self, value): method pre_save (line 1282) | def pre_save(self, model_instance, add): method get_prep_value (line 1290) | def get_prep_value(self, value): method get_db_prep_value (line 1293) | def get_db_prep_value(self, value, connection, prepared=False): method value_to_string (line 1299) | def value_to_string(self, obj): method formfield (line 1303) | def formfield(self, **kwargs): class URLField (line 1308) | class URLField(CharField): method __init__ (line 1311) | def __init__(self, verbose_name=None, name=None, **kwargs): method formfield (line 1316) | def formfield(self, **kwargs): FILE: Django-1.5.1/django/db/models/fields/files.py class FieldFile (line 14) | class FieldFile(File): method __init__ (line 15) | def __init__(self, instance, field, name): method __eq__ (line 22) | def __eq__(self, other): method __ne__ (line 29) | def __ne__(self, other): method __hash__ (line 32) | def __hash__(self): method _require_file (line 39) | def _require_file(self): method _get_file (line 43) | def _get_file(self): method _set_file (line 49) | def _set_file(self, file): method _del_file (line 52) | def _del_file(self): method _get_path (line 57) | def _get_path(self): method _get_url (line 62) | def _get_url(self): method _get_size (line 67) | def _get_size(self): method open (line 74) | def open(self, mode='rb'): method save (line 84) | def save(self, name, content, save=True): method delete (line 98) | def delete(self, save=True): method _get_closed (line 119) | def _get_closed(self): method close (line 124) | def close(self): method __getstate__ (line 129) | def __getstate__(self): class FileDescriptor (line 136) | class FileDescriptor(object): method __init__ (line 148) | def __init__(self, field): method __get__ (line 151) | def __get__(self, instance=None, owner=None): method __set__ (line 203) | def __set__(self, instance, value): class FileField (line 206) | class FileField(Field): method __init__ (line 217) | def __init__(self, verbose_name=None, name=None, upload_to='', storage... method get_internal_type (line 230) | def get_internal_type(self): method get_prep_lookup (line 233) | def get_prep_lookup(self, lookup_type, value): method get_prep_value (line 238) | def get_prep_value(self, value): method pre_save (line 245) | def pre_save(self, model_instance, add): method contribute_to_class (line 253) | def contribute_to_class(self, cls, name): method get_directory_name (line 257) | def get_directory_name(self): method get_filename (line 260) | def get_filename(self, filename): method generate_filename (line 263) | def generate_filename(self, instance, filename): method save_form_data (line 266) | def save_form_data(self, instance, data): method formfield (line 278) | def formfield(self, **kwargs): class ImageFileDescriptor (line 290) | class ImageFileDescriptor(FileDescriptor): method __set__ (line 295) | def __set__(self, instance, value): class ImageFieldFile (line 311) | class ImageFieldFile(ImageFile, FieldFile): method delete (line 313) | def delete(self, save=True): class ImageField (line 319) | class ImageField(FileField): method __init__ (line 324) | def __init__(self, verbose_name=None, name=None, width_field=None, method contribute_to_class (line 329) | def contribute_to_class(self, cls, name): method update_dimension_fields (line 336) | def update_dimension_fields(self, instance, force=False, *args, **kwar... method formfield (line 392) | def formfield(self, **kwargs): FILE: Django-1.5.1/django/db/models/fields/proxy.py class OrderWrt (line 8) | class OrderWrt(fields.IntegerField): method __init__ (line 14) | def __init__(self, *args, **kwargs): FILE: Django-1.5.1/django/db/models/fields/related.py function add_lazy_relation (line 25) | def add_lazy_relation(cls, field, relation, operation): function do_pending_lookups (line 84) | def do_pending_lookups(sender, **kwargs): class RelatedField (line 97) | class RelatedField(object): method contribute_to_class (line 98) | def contribute_to_class(self, cls, name): function set_attributes_from_rel (line 123) | def set_attributes_from_rel(self): function do_related_class (line 134) | def do_related_class(self, other, cls): function get_prep_lookup (line 142) | def get_prep_lookup(self, lookup_type, value): function get_db_prep_lookup (line 161) | def get_db_prep_lookup(self, lookup_type, value, connection, prepared=Fa... function _pk_trace (line 195) | def _pk_trace(self, value, prep_func, lookup_type, **kwargs): function related_query_name (line 235) | def related_query_name(self): function __init__ (line 250) | def __init__(self, related): function is_cached (line 254) | def is_cached(self, instance): function get_query_set (line 257) | def get_query_set(self, **db_hints): function get_prefetch_query_set (line 261) | def get_prefetch_query_set(self, instances): function __get__ (line 279) | def __get__(self, instance, instance_type=None): function __set__ (line 302) | def __set__(self, instance, value): function __init__ (line 351) | def __init__(self, field_with_rel): function is_cached (line 355) | def is_cached(self, instance): function get_query_set (line 358) | def get_query_set(self, **db_hints): function get_prefetch_query_set (line 368) | def get_prefetch_query_set(self, instances): function __get__ (line 387) | def __get__(self, instance, instance_type=None): function __set__ (line 413) | def __set__(self, instance, value): function __init__ (line 476) | def __init__(self, related): function __get__ (line 479) | def __get__(self, instance, instance_type=None): function __set__ (line 485) | def __set__(self, instance, value): function related_manager_cls (line 497) | def related_manager_cls(self): class ManyRelatedManager (line 587) | class ManyRelatedManager(superclass): method __init__ (line 588) | def __init__(self, model=None, query_field_name=None, instance=None, s... method _get_fk_val (line 615) | def _get_fk_val(self, obj, field_name): method get_query_set (line 630) | def get_query_set(self): method get_prefetch_query_set (line 637) | def get_prefetch_query_set(self, instances): method add (line 669) | def add(self, *objs): method remove (line 677) | def remove(self, *objs): method clear (line 685) | def clear(self): method create (line 693) | def create(self, **kwargs): method get_or_create (line 705) | def get_or_create(self, **kwargs): method _add_items (line 716) | def _add_items(self, source_field_name, target_field_name, *objs): method _remove_items (line 769) | def _remove_items(self, source_field_name, target_field_name, *objs): method _clear_items (line 804) | def _clear_items(self, source_field_name): function __init__ (line 833) | def __init__(self, related): function related_manager_cls (line 837) | def related_manager_cls(self): function __get__ (line 845) | def __get__(self, instance, instance_type=None): function __set__ (line 865) | def __set__(self, instance, value): function __init__ (line 885) | def __init__(self, m2m_field): function through (line 889) | def through(self): function related_manager_cls (line 896) | def related_manager_cls(self): function __get__ (line 904) | def __get__(self, instance, instance_type=None): function __set__ (line 922) | def __set__(self, instance, value): class ManyToOneRel (line 935) | class ManyToOneRel(object): method __init__ (line 936) | def __init__(self, to, field_name, related_name=None, limit_choices_to... method is_hidden (line 965) | def is_hidden(self): method get_related_field (line 970) | def get_related_field(self): function __init__ (line 994) | def __init__(self, to, related_name=None, limit_choices_to=None, function is_hidden (line 1005) | def is_hidden(self): function get_related_field (line 1009) | def get_related_field(self): class ForeignKey (line 1019) | class ForeignKey(RelatedField, Field): method __init__ (line 1027) | def __init__(self, to, to_field=None, rel_class=ManyToOneRel, **kwargs): method validate (line 1059) | def validate(self, value, model_instance): method get_attname (line 1080) | def get_attname(self): method get_validator_unique_lookup_type (line 1084) | def get_validator_unique_lookup_type(self): method get_default (line 1087) | def get_default(self): method get_db_prep_save (line 1097) | def get_db_prep_save(self, value, connection): method value_to_string (line 1104) | def value_to_string(self, obj): method contribute_to_class (line 1117) | def contribute_to_class(self, cls, name): method contribute_to_related_class (line 1129) | def contribute_to_related_class(self, cls, related): method formfield (line 1140) | def formfield(self, **kwargs): method db_type (line 1154) | def db_type(self, connection): class OneToOneField (line 1170) | class OneToOneField(ForeignKey): method __init__ (line 1179) | def __init__(self, to, to_field=None, **kwargs): method contribute_to_related_class (line 1183) | def contribute_to_related_class(self, cls, related): method formfield (line 1187) | def formfield(self, **kwargs): method save_form_data (line 1192) | def save_form_data(self, instance, data): function create_many_to_many_intermediary_model (line 1199) | def create_many_to_many_intermediary_model(field, klass): function __init__ (line 1256) | def __init__(self, to, **kwargs): function get_choices_default (line 1300) | def get_choices_default(self): function _get_m2m_db_table (line 1304) | def _get_m2m_db_table(self, opts): function _get_m2m_attr (line 1314) | def _get_m2m_attr(self, related, attr): function _get_m2m_reverse_attr (line 1324) | def _get_m2m_reverse_attr(self, related, attr): function value_to_string (line 1347) | def value_to_string(self, obj): function contribute_to_class (line 1362) | def contribute_to_class(self, cls, name): function contribute_to_related_class (line 1405) | def contribute_to_related_class(self, cls, related): function set_attributes_from_rel (line 1423) | def set_attributes_from_rel(self): function value_from_object (line 1426) | def value_from_object(self, obj): function save_form_data (line 1430) | def save_form_data(self, instance, data): function formfield (line 1434) | def formfield(self, **kwargs): function db_type (line 1450) | def db_type(self, connection): FILE: Django-1.5.1/django/db/models/fields/subclassing.py class SubfieldBase (line 10) | class SubfieldBase(type): method __new__ (line 15) | def __new__(cls, name, bases, attrs): class Creator (line 22) | class Creator(object): method __init__ (line 26) | def __init__(self, field): method __get__ (line 29) | def __get__(self, obj, type=None): method __set__ (line 34) | def __set__(self, obj, value): function make_contrib (line 37) | def make_contrib(superclass, func=None): FILE: Django-1.5.1/django/db/models/loading.py class AppCache (line 19) | class AppCache(object): method __init__ (line 48) | def __init__(self): method _populate (line 51) | def _populate(self): method _label_for (line 80) | def _label_for(self, app_mod): method load_app (line 87) | def load_app(self, app_name, can_postpone=False): method app_cache_ready (line 123) | def app_cache_ready(self): method get_apps (line 132) | def get_apps(self): method get_app (line 143) | def get_app(self, app_label, emptyOK=False): method get_app_errors (line 164) | def get_app_errors(self): method get_models (line 169) | def get_models(self, app_mod=None, method get_model (line 221) | def get_model(self, app_label, model_name, method register_models (line 235) | def register_models(self, app_label, *models): FILE: Django-1.5.1/django/db/models/manager.py function ensure_default_manager (line 8) | def ensure_default_manager(sender, **kwargs): class Manager (line 61) | class Manager(object): method __init__ (line 65) | def __init__(self): method contribute_to_class (line 73) | def contribute_to_class(self, model, name): method _set_creation_counter (line 95) | def _set_creation_counter(self): method _copy_to_model (line 104) | def _copy_to_model(self, model): method db_manager (line 117) | def db_manager(self, using): method db (line 123) | def db(self): method get_empty_query_set (line 130) | def get_empty_query_set(self): method get_query_set (line 134) | def get_query_set(self): method none (line 140) | def none(self): method all (line 143) | def all(self): method count (line 146) | def count(self): method dates (line 149) | def dates(self, *args, **kwargs): method distinct (line 152) | def distinct(self, *args, **kwargs): method extra (line 155) | def extra(self, *args, **kwargs): method get (line 158) | def get(self, *args, **kwargs): method get_or_create (line 161) | def get_or_create(self, **kwargs): method create (line 164) | def create(self, **kwargs): method bulk_create (line 167) | def bulk_create(self, *args, **kwargs): method filter (line 170) | def filter(self, *args, **kwargs): method aggregate (line 173) | def aggregate(self, *args, **kwargs): method annotate (line 176) | def annotate(self, *args, **kwargs): method complex_filter (line 179) | def complex_filter(self, *args, **kwargs): method exclude (line 182) | def exclude(self, *args, **kwargs): method in_bulk (line 185) | def in_bulk(self, *args, **kwargs): method iterator (line 188) | def iterator(self, *args, **kwargs): method latest (line 191) | def latest(self, *args, **kwargs): method order_by (line 194) | def order_by(self, *args, **kwargs): method select_for_update (line 197) | def select_for_update(self, *args, **kwargs): method select_related (line 200) | def select_related(self, *args, **kwargs): method prefetch_related (line 203) | def prefetch_related(self, *args, **kwargs): method values (line 206) | def values(self, *args, **kwargs): method values_list (line 209) | def values_list(self, *args, **kwargs): method update (line 212) | def update(self, *args, **kwargs): method reverse (line 216) | def reverse(self, *args, **kwargs): method defer (line 219) | def defer(self, *args, **kwargs): method only (line 222) | def only(self, *args, **kwargs): method using (line 225) | def using(self, *args, **kwargs): method exists (line 228) | def exists(self, *args, **kwargs): method _insert (line 231) | def _insert(self, objs, fields, **kwargs): method _update (line 234) | def _update(self, values, **kwargs): method raw (line 237) | def raw(self, raw_query, params=None, *args, **kwargs): class ManagerDescriptor (line 241) | class ManagerDescriptor(object): method __init__ (line 244) | def __init__(self, manager): method __get__ (line 247) | def __get__(self, instance, type=None): class AbstractManagerDescriptor (line 253) | class AbstractManagerDescriptor(object): method __init__ (line 256) | def __init__(self, model): method __get__ (line 259) | def __get__(self, instance, type=None): class SwappedManagerDescriptor (line 265) | class SwappedManagerDescriptor(object): method __init__ (line 268) | def __init__(self, model): method __get__ (line 271) | def __get__(self, instance, type=None): class EmptyManager (line 277) | class EmptyManager(Manager): method get_query_set (line 278) | def get_query_set(self): FILE: Django-1.5.1/django/db/models/options.py class Options (line 28) | class Options(object): method __init__ (line 30) | def __init__(self, meta, app_label=None): method contribute_to_class (line 84) | def contribute_to_class(self, cls, name): method _prepare (line 150) | def _prepare(self, model): method add_field (line 204) | def add_field(self, field): method add_virtual_field (line 235) | def add_virtual_field(self, field): method setup_pk (line 238) | def setup_pk(self, field): method pk_index (line 243) | def pk_index(self): method setup_proxy (line 250) | def setup_proxy(self, target): method __repr__ (line 259) | def __repr__(self): method __str__ (line 262) | def __str__(self): method verbose_name_raw (line 265) | def verbose_name_raw(self): method _swapped (line 279) | def _swapped(self): method _fields (line 305) | def _fields(self): method get_fields_with_model (line 325) | def get_fields_with_model(self): method _fill_fields_cache (line 340) | def _fill_fields_cache(self): method _many_to_many (line 359) | def _many_to_many(self): method get_m2m_with_model (line 368) | def get_m2m_with_model(self): method _fill_m2m_cache (line 379) | def _fill_m2m_cache(self): method get_field (line 395) | def get_field(self, name, many_to_many=True): method get_field_by_name (line 407) | def get_field_by_name(self, name): method get_all_field_names (line 429) | def get_all_field_names(self): method init_name_map (line 445) | def init_name_map(self): method get_add_permission (line 470) | def get_add_permission(self): method get_change_permission (line 473) | def get_change_permission(self): method get_delete_permission (line 476) | def get_delete_permission(self): function get_all_related_objects (line 484) | def get_all_related_objects(self, local_only=False, include_hidden=False, function get_all_related_objects_with_model (line 490) | def get_all_related_objects_with_model(self, local_only=False, function _fill_related_objects_cache (line 514) | def _fill_related_objects_cache(self): function get_all_related_many_to_many_objects (line 547) | def get_all_related_many_to_many_objects(self, local_only=False): function get_all_related_m2m_objects_with_model (line 556) | def get_all_related_m2m_objects_with_model(self): function _fill_related_many_to_many_cache (line 567) | def _fill_related_many_to_many_cache(self): function get_base_chain (line 589) | def get_base_chain(self, model): function get_parent_list (line 607) | def get_parent_list(self): function get_ancestor_link (line 619) | def get_ancestor_link(self, ancestor): function get_ordered_objects (line 642) | def get_ordered_objects(self): FILE: Django-1.5.1/django/db/models/query.py class QuerySet (line 32) | class QuerySet(object): method __init__ (line 36) | def __init__(self, model=None, query=None, using=None): method __deepcopy__ (line 57) | def __deepcopy__(self, memo): method __getstate__ (line 73) | def __getstate__(self): method __repr__ (line 84) | def __repr__(self): method __len__ (line 91) | def __len__(self): method __iter__ (line 111) | def __iter__(self): method _result_iter (line 134) | def _result_iter(self): method __bool__ (line 161) | def __bool__(self): method __nonzero__ (line 181) | def __nonzero__(self): # Python 2 compatibility method __contains__ (line 184) | def __contains__(self, val): method __getitem__ (line 215) | def __getitem__(self, k): function __and__ (line 272) | def __and__(self, other): function __or__ (line 283) | def __or__(self, other): function iterator (line 296) | def iterator(self): function aggregate (line 405) | def aggregate(self, *args, **kwargs): function count (line 427) | def count(self): function get (line 441) | def get(self, *args, **kwargs): function create (line 467) | def create(self, **kwargs): function bulk_create (line 478) | def bulk_create(self, objs, batch_size=None): function get_or_create (line 540) | def get_or_create(self, **kwargs): function latest (line 577) | def latest(self, field_name=None): function in_bulk (line 595) | def in_bulk(self, id_list): function delete (line 609) | def delete(self): function _raw_delete (line 636) | def _raw_delete(self, using): function update (line 647) | def update(self, **kwargs): function _update (line 681) | def _update(self, values): function exists (line 703) | def exists(self): function _prefetch_related_objects (line 710) | def _prefetch_related_objects(self): function values (line 721) | def values(self, *fields): function values_list (line 724) | def values_list(self, *fields, **kwargs): function dates (line 737) | def dates(self, field_name, kind, order='ASC'): function none (line 751) | def none(self): function all (line 761) | def all(self): function filter (line 769) | def filter(self, *args, **kwargs): function exclude (line 778) | def exclude(self, *args, **kwargs): function _filter_or_exclude (line 785) | def _filter_or_exclude(self, negate, *args, **kwargs): function complex_filter (line 797) | def complex_filter(self, filter_obj): function select_for_update (line 814) | def select_for_update(self, **kwargs): function select_related (line 829) | def select_related(self, *fields, **kwargs): function prefetch_related (line 859) | def prefetch_related(self, *lookups): function dup_select_related (line 877) | def dup_select_related(self, other): function annotate (line 884) | def annotate(self, *args, **kwargs): function order_by (line 916) | def order_by(self, *field_names): function distinct (line 928) | def distinct(self, *field_names): function extra (line 940) | def extra(self, select=None, where=None, params=None, tables=None, function reverse (line 953) | def reverse(self): function defer (line 961) | def defer(self, *fields): function only (line 979) | def only(self, *fields): function using (line 996) | def using(self, alias): function ordered (line 1019) | def ordered(self): function db (line 1035) | def db(self): function _batched_insert (line 1044) | def _batched_insert(self, objs, fields, batch_size): function _clone (line 1061) | def _clone(self, klass=None, setup=False, **kwargs): function _fill_cache (line 1085) | def _fill_cache(self, num=None): function _next_is_sticky (line 1097) | def _next_is_sticky(self): function _merge_sanity_check (line 1111) | def _merge_sanity_check(self, other): function _merge_known_related_objects (line 1119) | def _merge_known_related_objects(self, other): function _setup_aggregate_query (line 1126) | def _setup_aggregate_query(self, aggregates): function _prepare (line 1136) | def _prepare(self): function _as_sql (line 1139) | def _as_sql(self, connection): function __init__ (line 1171) | def __init__(self, *args, **kwargs): function iterator (line 1180) | def iterator(self): function delete (line 1193) | def delete(self): function _setup_query (line 1199) | def _setup_query(self): function _clone (line 1252) | def _clone(self, klass=None, setup=False, **kwargs): function _merge_sanity_check (line 1269) | def _merge_sanity_check(self, other): function _setup_aggregate_query (line 1277) | def _setup_aggregate_query(self, aggregates): function _as_sql (line 1289) | def _as_sql(self, connection): function _prepare (line 1307) | def _prepare(self): function iterator (line 1320) | def iterator(self): function _clone (line 1348) | def _clone(self, *args, **kwargs): function iterator (line 1357) | def iterator(self): function _setup_query (line 1360) | def _setup_query(self): function _clone (line 1372) | def _clone(self, klass=None, setup=False, **kwargs): function __init__ (line 1382) | def __init__(self, model=None, query=None, using=None): function __and__ (line 1386) | def __and__(self, other): function __or__ (line 1389) | def __or__(self, other): function count (line 1392) | def count(self): function delete (line 1395) | def delete(self): function _clone (line 1398) | def _clone(self, klass=None, setup=False, **kwargs): function iterator (line 1403) | def iterator(self): function all (line 1408) | def all(self): function filter (line 1414) | def filter(self, *args, **kwargs): function exclude (line 1420) | def exclude(self, *args, **kwargs): function complex_filter (line 1426) | def complex_filter(self, filter_obj): function select_related (line 1432) | def select_related(self, *fields, **kwargs): function annotate (line 1438) | def annotate(self, *args, **kwargs): function order_by (line 1444) | def order_by(self, *field_names): function distinct (line 1450) | def distinct(self, *field_names): function extra (line 1456) | def extra(self, select=None, where=None, params=None, tables=None, function reverse (line 1465) | def reverse(self): function defer (line 1471) | def defer(self, *fields): function only (line 1477) | def only(self, *fields): function update (line 1483) | def update(self, **kwargs): function aggregate (line 1489) | def aggregate(self, *args, **kwargs): function values (line 1497) | def values(self, *fields): function values_list (line 1503) | def values_list(self, *fields, **kwargs): function __init__ (line 1719) | def __init__(self, raw_query, model=None, query=None, params=None, function __iter__ (line 1728) | def __iter__(self): function __repr__ (line 1795) | def __repr__(self): function __getitem__ (line 1798) | def __getitem__(self, k): function db (line 1802) | def db(self): function using (line 1806) | def using(self, alias): function columns (line 1816) | def columns(self): function model_fields (line 1836) | def model_fields(self): function get_prefetcher (line 1974) | def get_prefetcher(instance, attr): function prefetch_one_level (line 2017) | def prefetch_one_level(instances, prefetcher, attname): FILE: Django-1.5.1/django/db/models/query_utils.py class InvalidQuery (line 15) | class InvalidQuery(Exception): class QueryWrapper (line 22) | class QueryWrapper(object): method __init__ (line 27) | def __init__(self, sql, params): method as_sql (line 30) | def as_sql(self, qn=None, connection=None): class Q (line 33) | class Q(tree.Node): method __init__ (line 43) | def __init__(self, *args, **kwargs): method _combine (line 46) | def _combine(self, other, conn): method __or__ (line 54) | def __or__(self, other): method __and__ (line 57) | def __and__(self, other): method __invert__ (line 60) | def __invert__(self): class DeferredAttribute (line 66) | class DeferredAttribute(object): method __init__ (line 71) | def __init__(self, field_name, model): method __get__ (line 74) | def __get__(self, instance, owner): method __set__ (line 109) | def __set__(self, instance, value): method _check_parent_chain (line 116) | def _check_parent_chain(self, instance, name): function select_related_descend (line 130) | def select_related_descend(field, restricted, requested, load_fields, re... function deferred_class_factory (line 169) | def deferred_class_factory(model, attrs): FILE: Django-1.5.1/django/db/models/related.py class BoundRelatedObject (line 4) | class BoundRelatedObject(object): method __init__ (line 5) | def __init__(self, related_object, field_mapping, original): method template_name (line 9) | def template_name(self): method __repr__ (line 12) | def __repr__(self): class RelatedObject (line 15) | class RelatedObject(object): method __init__ (line 16) | def __init__(self, parent_model, model, field): method get_choices (line 24) | def get_choices(self, include_blank=True, blank_choice=BLANK_CHOICE_DASH, method get_db_prep_lookup (line 40) | def get_db_prep_lookup(self, lookup_type, value, connection, prepared=... method editable_fields (line 45) | def editable_fields(self): method __repr__ (line 49) | def __repr__(self): method bind (line 52) | def bind(self, field_mapping, original, bound_related_object_class=Bou... method get_accessor_name (line 55) | def get_accessor_name(self): method get_cache_name (line 68) | def get_cache_name(self): FILE: Django-1.5.1/django/db/models/sql/aggregates.py class Aggregate (line 11) | class Aggregate(object): method __init__ (line 19) | def __init__(self, col, source=None, is_summary=False, **extra): method relabel_aliases (line 65) | def relabel_aliases(self, change_map): method as_sql (line 70) | def as_sql(self, qn, connection): class Avg (line 89) | class Avg(Aggregate): class Count (line 93) | class Count(Aggregate): method __init__ (line 98) | def __init__(self, col, distinct=False, **extra): class Max (line 101) | class Max(Aggregate): class Min (line 104) | class Min(Aggregate): class StdDev (line 107) | class StdDev(Aggregate): method __init__ (line 110) | def __init__(self, col, sample=False, **extra): class Sum (line 114) | class Sum(Aggregate): class Variance (line 117) | class Variance(Aggregate): method __init__ (line 120) | def __init__(self, col, sample=False, **extra): FILE: Django-1.5.1/django/db/models/sql/compiler.py class SQLCompiler (line 17) | class SQLCompiler(object): method __init__ (line 18) | def __init__(self, query, connection, using): method pre_sql_setup (line 24) | def pre_sql_setup(self): method quote_name_unless_alias (line 42) | def quote_name_unless_alias(self, name): method as_sql (line 58) | def as_sql(self, with_limits=True, with_col_aliases=False): method as_nested_sql (line 148) | def as_nested_sql(self): method get_columns (line 164) | def get_columns(self, with_aliases=False): method get_default_columns (line 244) | def get_default_columns(self, with_aliases=False, col_aliases=None, method get_distinct (line 308) | def get_distinct(self): method get_ordering (line 328) | def get_ordering(self): method find_ordering_name (line 413) | def find_ordering_name(self, name, opts, alias=None, default_order='ASC', method _setup_joins (line 443) | def _setup_joins(self, pieces, opts, alias): method _final_join_removal (line 473) | def _final_join_removal(self, col, alias): method get_from_clause (line 492) | def get_from_clause(self): method get_grouping (line 536) | def get_grouping(self, ordering_group_by): method fill_related_selections (line 582) | def fill_related_selections(self, opts=None, root_alias=None, cur_dept... method deferred_to_columns (line 755) | def deferred_to_columns(self): method results_iter (line 765) | def results_iter(self): method execute_sql (line 818) | def execute_sql(self, result_type=MULTI): class SQLInsertCompiler (line 866) | class SQLInsertCompiler(SQLCompiler): method placeholder (line 867) | def placeholder(self, field, val): method as_sql (line 879) | def as_sql(self): method execute_sql (line 934) | def execute_sql(self, return_id=False): class SQLDeleteCompiler (line 948) | class SQLDeleteCompiler(SQLCompiler): method as_sql (line 949) | def as_sql(self): class SQLUpdateCompiler (line 963) | class SQLUpdateCompiler(SQLCompiler): method as_sql (line 964) | def as_sql(self): method execute_sql (line 1009) | def execute_sql(self, result_type): method pre_sql_setup (line 1027) | def pre_sql_setup(self): class SQLAggregateCompiler (line 1077) | class SQLAggregateCompiler(SQLCompiler): method as_sql (line 1078) | def as_sql(self, qn=None): class SQLDateCompiler (line 1096) | class SQLDateCompiler(SQLCompiler): method results_iter (line 1097) | def results_iter(self): function order_modified_iter (line 1120) | def order_modified_iter(cursor, trim, sentinel): FILE: Django-1.5.1/django/db/models/sql/datastructures.py class EmptyResultSet (line 6) | class EmptyResultSet(Exception): class MultiJoin (line 9) | class MultiJoin(Exception): method __init__ (line 15) | def __init__(self, level): class Empty (line 18) | class Empty(object): class RawValue (line 21) | class RawValue(object): method __init__ (line 22) | def __init__(self, value): class Date (line 25) | class Date(object): method __init__ (line 29) | def __init__(self, col, lookup_type): method relabel_aliases (line 33) | def relabel_aliases(self, change_map): method as_sql (line 38) | def as_sql(self, qn, connection): FILE: Django-1.5.1/django/db/models/sql/expressions.py class SQLEvaluator (line 5) | class SQLEvaluator(object): method __init__ (line 6) | def __init__(self, expression, query, allow_joins=True, reuse=None): method prepare (line 15) | def prepare(self): method as_sql (line 18) | def as_sql(self, qn, connection): method relabel_aliases (line 21) | def relabel_aliases(self, change_map): method prepare_node (line 36) | def prepare_node(self, node, query, allow_joins): method prepare_leaf (line 41) | def prepare_leaf(self, node, query, allow_joins): method evaluate_node (line 69) | def evaluate_node(self, node, qn, connection): method evaluate_leaf (line 89) | def evaluate_leaf(self, node, qn, connection): method evaluate_date_modifier_node (line 102) | def evaluate_date_modifier_node(self, node, qn, connection): FILE: Django-1.5.1/django/db/models/sql/query.py class RawQuery (line 35) | class RawQuery(object): method __init__ (line 40) | def __init__(self, sql, using, params=None): method clone (line 54) | def clone(self, using): method convert_values (line 58) | def convert_values(self, value, field, connection): method get_columns (line 70) | def get_columns(self): method __iter__ (line 79) | def __iter__(self): method __repr__ (line 93) | def __repr__(self): method _execute_query (line 96) | def _execute_query(self): class Query (line 101) | class Query(object): method __init__ (line 129) | def __init__(self, model, where=WhereNode): method __str__ (line 210) | def __str__(self): method sql_with_params (line 222) | def sql_with_params(self): method __deepcopy__ (line 229) | def __deepcopy__(self, memo): method __getstate__ (line 234) | def __getstate__(self): method __setstate__ (line 252) | def __setstate__(self, obj_dict): method prepare (line 265) | def prepare(self): method get_compiler (line 269) | def get_compiler(self, using=None, connection=None): function get_meta (line 286) | def get_meta(self): function clone (line 294) | def clone(self, klass=None, memo=None, **kwargs): function convert_values (line 366) | def convert_values(self, value, field, connection): function resolve_aggregate (line 378) | def resolve_aggregate(self, value, aggregate, connection): function get_aggregation (line 401) | def get_aggregation(self, using): function get_count (line 457) | def get_count(self, using): function has_results (line 505) | def has_results(self, using): function combine (line 519) | def combine(self, rhs, connector): function deferred_to_data (line 655) | def deferred_to_data(self, target, callback): function deferred_to_columns_cb (line 763) | def deferred_to_columns_cb(self, target, model, fields): function table_alias (line 776) | def table_alias(self, table_name, create=False): function ref_alias (line 804) | def ref_alias(self, alias): function unref_alias (line 809) | def unref_alias(self, alias, amount=1): function promote_joins (line 814) | def promote_joins(self, aliases, unconditional=False): function reset_refcounts (line 860) | def reset_refcounts(self, to_counts): function promote_unused_aliases (line 869) | def promote_unused_aliases(self, initial_refcounts, used_aliases): function change_aliases (line 882) | def change_aliases(self, change_map): function bump_prefix (line 942) | def bump_prefix(self, exceptions=()): function get_initial_alias (line 968) | def get_initial_alias(self): function count_active_tables (line 980) | def count_active_tables(self): function join (line 988) | def join(self, connection, always_create=False, exclusions=(), function setup_inherited_models (line 1075) | def setup_inherited_models(self): function remove_inherited_models (line 1102) | def remove_inherited_models(self): function need_force_having (line 1115) | def need_force_having(self, q_object): function add_aggregate (line 1129) | def add_aggregate(self, aggregate, model, alias, is_summary): function add_filter (line 1180) | def add_filter(self, filter_expr, connector=AND, negate=False, trim=False, function add_q (line 1395) | def add_q(self, q_object, used_aliases=None, force_having=False): function setup_joins (line 1453) | def setup_joins(self, names, opts, alias, dupe_multis, allow_many=True, function trim_joins (line 1674) | def trim_joins(self, target, join_list, last, trim, nonnull_check=False): function update_dupe_avoidance (line 1732) | def update_dupe_avoidance(self, opts, col, alias): function split_exclude (line 1745) | def split_exclude(self, filter_expr, prefix, can_reuse): function set_limits (line 1780) | def set_limits(self, low=None, high=None): function clear_limits (line 1801) | def clear_limits(self): function can_filter (line 1807) | def can_filter(self): function clear_select_clause (line 1815) | def clear_select_clause(self): function clear_select_fields (line 1826) | def clear_select_fields(self): function add_distinct_fields (line 1835) | def add_distinct_fields(self, *field_names): function add_fields (line 1842) | def add_fields(self, field_names, allow_m2m=True): function add_ordering (line 1886) | def add_ordering(self, *ordering): function clear_ordering (line 1906) | def clear_ordering(self, force_empty=False): function set_group_by (line 1916) | def set_group_by(self): function add_count_column (line 1930) | def add_count_column(self): function add_select_related (line 1965) | def add_select_related(self, fields): function add_extra (line 1980) | def add_extra(self, select, select_params, where, params, tables, order_... function clear_deferred_loading (line 2012) | def clear_deferred_loading(self): function add_deferred_loading (line 2018) | def add_deferred_loading(self, field_names): function add_immediate_loading (line 2038) | def add_immediate_loading(self, field_names): function get_loaded_field_names (line 2062) | def get_loaded_field_names(self): function get_loaded_field_names_cb (line 2081) | def get_loaded_field_names_cb(self, target, model, fields): function set_aggregate_mask (line 2087) | def set_aggregate_mask(self, names): function set_extra_mask (line 2095) | def set_extra_mask(self, names): function _aggregate_select (line 2107) | def _aggregate_select(self): function _extra_select (line 2125) | def _extra_select(self): function set_start (line 2138) | def set_start(self, start): function is_nullable (line 2175) | def is_nullable(self, field): function add_to_dict (line 2220) | def add_to_dict(data, key, value): function is_reverse_o2o (line 2230) | def is_reverse_o2o(field): FILE: Django-1.5.1/django/db/models/sql/subqueries.py class DeleteQuery (line 22) | class DeleteQuery(Query): method do_query (line 30) | def do_query(self, table, where, using): method delete_batch (line 35) | def delete_batch(self, pk_list, using, field=None): method delete_qs (line 50) | def delete_qs(self, query, using): class UpdateQuery (line 87) | class UpdateQuery(Query): method __init__ (line 94) | def __init__(self, *args, **kwargs): method _setup_query (line 98) | def _setup_query(self): method clone (line 109) | def clone(self, klass=None, **kwargs): method update_batch (line 113) | def update_batch(self, pk_list, values, using): method add_update_values (line 123) | def add_update_values(self, values): method add_update_fields (line 140) | def add_update_fields(self, values_seq): method add_related_update (line 152) | def add_related_update(self, model, field, value): method get_related_updates (line 163) | def get_related_updates(self): class InsertQuery (line 180) | class InsertQuery(Query): method __init__ (line 183) | def __init__(self, *args, **kwargs): method clone (line 188) | def clone(self, klass=None, **kwargs): method insert_values (line 197) | def insert_values(self, fields, objs, raw=False): class DateQuery (line 217) | class DateQuery(Query): method add_date_select (line 226) | def add_date_select(self, field_name, lookup_type, order='ASC'): class AggregateQuery (line 254) | class AggregateQuery(Query): method add_subquery (line 262) | def add_subquery(self, query, using): FILE: Django-1.5.1/django/db/models/sql/where.py class EmptyShortCircuit (line 21) | class EmptyShortCircuit(Exception): class WhereNode (line 28) | class WhereNode(tree.Node): method add (line 41) | def add(self, data, connector): method as_sql (line 76) | def as_sql(self, qn, connection): method make_atom (line 148) | def make_atom(self, child, qn, connection): method sql_for_columns (line 237) | def sql_for_columns(self, data, qn, connection): method relabel_aliases (line 250) | def relabel_aliases(self, change_map, node=None): class EverythingNode (line 275) | class EverythingNode(object): method as_sql (line 280) | def as_sql(self, qn=None, connection=None): method relabel_aliases (line 283) | def relabel_aliases(self, change_map, node=None): class NothingNode (line 286) | class NothingNode(object): method as_sql (line 290) | def as_sql(self, qn=None, connection=None): method relabel_aliases (line 293) | def relabel_aliases(self, change_map, node=None): class ExtraWhere (line 296) | class ExtraWhere(object): method __init__ (line 297) | def __init__(self, sqls, params): method as_sql (line 301) | def as_sql(self, qn=None, connection=None): class Constraint (line 305) | class Constraint(object): method __init__ (line 310) | def __init__(self, alias, col, field): method __getstate__ (line 313) | def __getstate__(self): method __setstate__ (line 327) | def __setstate__(self, data): method prepare (line 337) | def prepare(self, lookup_type, value): method process (line 342) | def process(self, lookup_type, value, connection): method relabel_aliases (line 366) | def relabel_aliases(self, change_map): FILE: Django-1.5.1/django/db/transaction.py class TransactionManagementError (line 20) | class TransactionManagementError(Exception): function abort (line 27) | def abort(using=None): function enter_transaction_management (line 42) | def enter_transaction_management(managed=True, using=None): function leave_transaction_management (line 57) | def leave_transaction_management(using=None): function is_dirty (line 68) | def is_dirty(using=None): function set_dirty (line 78) | def set_dirty(using=None): function set_clean (line 89) | def set_clean(using=None): function clean_savepoints (line 100) | def clean_savepoints(using=None): function is_managed (line 106) | def is_managed(using=None): function managed (line 115) | def managed(flag=True, using=None): function commit_unless_managed (line 127) | def commit_unless_managed(using=None): function rollback_unless_managed (line 136) | def rollback_unless_managed(using=None): function commit (line 145) | def commit(using=None): function rollback (line 154) | def rollback(using=None): function savepoint (line 163) | def savepoint(using=None): function savepoint_rollback (line 174) | def savepoint_rollback(sid, using=None): function savepoint_commit (line 184) | def savepoint_commit(sid, using=None): class Transaction (line 198) | class Transaction(object): method __init__ (line 208) | def __init__(self, entering, exiting, using): method __enter__ (line 213) | def __enter__(self): method __exit__ (line 216) | def __exit__(self, exc_type, exc_value, traceback): method __call__ (line 219) | def __call__(self, func): function _transaction_func (line 226) | def _transaction_func(entering, exiting, using): function autocommit (line 247) | def autocommit(using=None): function commit_on_success (line 262) | def commit_on_success(using=None): function commit_manually (line 290) | def commit_manually(using=None): FILE: Django-1.5.1/django/db/utils.py class DatabaseError (line 17) | class DatabaseError(Exception): class IntegrityError (line 20) | class IntegrityError(DatabaseError): function load_backend (line 24) | def load_backend(backend_name): class ConnectionDoesNotExist (line 57) | class ConnectionDoesNotExist(Exception): class ConnectionHandler (line 61) | class ConnectionHandler(object): method __init__ (line 65) | def __init__(self, databases): method ensure_defaults (line 79) | def ensure_defaults(self, alias): method __getitem__ (line 109) | def __getitem__(self, alias): method __setitem__ (line 126) | def __setitem__(self, key, value): method __iter__ (line 129) | def __iter__(self): method all (line 132) | def all(self): class ConnectionRouter (line 136) | class ConnectionRouter(object): method __init__ (line 137) | def __init__(self, routers): method _router_func (line 160) | def _router_func(action): method allow_relation (line 182) | def allow_relation(self, obj1, obj2, **hints): method allow_syncdb (line 195) | def allow_syncdb(self, db, model): FILE: Django-1.5.1/django/dispatch/dispatcher.py function _make_id (line 9) | def _make_id(target): class Signal (line 14) | class Signal(object): method __init__ (line 24) | def __init__(self, providing_args=None): method connect (line 38) | def connect(self, receiver, sender=None, weak=True, dispatch_uid=None): method disconnect (line 113) | def disconnect(self, receiver=None, sender=None, weak=True, dispatch_u... method has_listeners (line 148) | def has_listeners(self, sender=None): method send (line 151) | def send(self, sender, **named): method send_robust (line 178) | def send_robust(self, sender, **named): method _live_receivers (line 217) | def _live_receivers(self, senderkey): method _remove_receiver (line 239) | def _remove_receiver(self, receiver): function receiver (line 259) | def receiver(signal, **kwargs): FILE: Django-1.5.1/django/dispatch/saferef.py function safeRef (line 11) | def safeRef(target, onDelete = None): class BoundMethodWeakref (line 40) | class BoundMethodWeakref(object): method __new__ (line 77) | def __new__( cls, target, onDelete=None, *arguments,**named ): method __init__ (line 102) | def __init__(self, target, onDelete=None): method calculateKey (line 151) | def calculateKey( cls, target ): 这不是一个类方法, 因为没有 self method __str__ (line 161) | def __str__(self): method __hash__ (line 171) | def __hash__(self): method __bool__ (line 174) | def __bool__( self ): method __nonzero__ (line 178) | def __nonzero__(self): # Python 2 compatibility method __eq__ (line 181) | def __eq__(self, other): method __call__ (line 187) | def __call__(self): class BoundNonDescriptorMethodWeakref (line 205) | class BoundNonDescriptorMethodWeakref(BoundMethodWeakref): method __init__ (line 222) | def __init__(self, target, onDelete=None): method __call__ (line 244) | def __call__(self): function get_bound_method_weakref (line 268) | def get_bound_method_weakref(target, onDelete): FILE: Django-1.5.1/django/forms/extras/widgets.py function _parse_date_fmt (line 21) | def _parse_date_fmt(): class SelectDateWidget (line 41) | class SelectDateWidget(Widget): method __init__ (line 53) | def __init__(self, attrs=None, years=None, required=True): method render (line 63) | def render(self, name, value, attrs=None): method id_for_label (line 97) | def id_for_label(self, id_): method value_from_datadict (line 107) | def value_from_datadict(self, data, files, name): method create_select (line 127) | def create_select(self, name, field, value, val, choices): method _has_changed (line 139) | def _has_changed(self, initial, data): FILE: Django-1.5.1/django/forms/fields.py class Field (line 50) | class Field(object): method __init__ (line 68) | def __init__(self, required=True, widget=None, label=None, initial=None, method prepare_value (line 161) | def prepare_value(self, value): method to_python (line 164) | def to_python(self, value): method validate (line 167) | def validate(self, value): method run_validators (line 172) | def run_validators(self, value): method clean (line 195) | def clean(self, value): method bound_data (line 208) | def bound_data(self, data, initial): method widget_attrs (line 219) | def widget_attrs(self, widget): method __deepcopy__ (line 227) | def __deepcopy__(self, memo): class CharField (line 234) | class CharField(Field): method __init__ (line 235) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method to_python (line 247) | def to_python(self, value): method widget_attrs (line 253) | def widget_attrs(self, widget): class IntegerField (line 262) | class IntegerField(Field): method __init__ (line 269) | def __init__(self, max_value=None, min_value=None, *args, **kwargs): method to_python (line 279) | def to_python(self, value): class FloatField (line 295) | class FloatField(IntegerField): method to_python (line 300) | def to_python(self, value): class DecimalField (line 318) | class DecimalField(Field): method __init__ (line 328) | def __init__(self, max_value=None, min_value=None, max_digits=None, de... method to_python (line 338) | def to_python(self, value): method validate (line 356) | def validate(self, value): class BaseTemporalField (line 386) | class BaseTemporalField(Field): method __init__ (line 388) | def __init__(self, input_formats=None, *args, **kwargs): method to_python (line 393) | def to_python(self, value): method strptime (line 409) | def strptime(self, value, format): class DateField (line 412) | class DateField(BaseTemporalField): method to_python (line 419) | def to_python(self, value): method strptime (line 432) | def strptime(self, value, format): class TimeField (line 435) | class TimeField(BaseTemporalField): method to_python (line 442) | def to_python(self, value): method strptime (line 453) | def strptime(self, value, format): class DateTimeField (line 456) | class DateTimeField(BaseTemporalField): method prepare_value (line 463) | def prepare_value(self, value): method to_python (line 468) | def to_python(self, value): method strptime (line 491) | def strptime(self, value, format): class RegexField (line 494) | class RegexField(CharField): method __init__ (line 495) | def __init__(self, regex, max_length=None, min_length=None, error_mess... method _get_regex (line 509) | def _get_regex(self): method _set_regex (line 512) | def _set_regex(self, regex): class EmailField (line 523) | class EmailField(CharField): method clean (line 529) | def clean(self, value): class FileField (line 533) | class FileField(Field): method __init__ (line 543) | def __init__(self, *args, **kwargs): method to_python (line 548) | def to_python(self, data): method clean (line 569) | def clean(self, data, initial=None): method bound_data (line 588) | def bound_data(self, data, initial): class ImageField (line 593) | class ImageField(FileField): method to_python (line 598) | def to_python(self, data): class URLField (line 639) | class URLField(CharField): method __init__ (line 644) | def __init__(self, max_length=None, min_length=None, *args, **kwargs): method to_python (line 648) | def to_python(self, value): class BooleanField (line 682) | class BooleanField(Field): method to_python (line 685) | def to_python(self, value): class NullBooleanField (line 700) | class NullBooleanField(BooleanField): method to_python (line 707) | def to_python(self, value): method validate (line 721) | def validate(self, value): class ChoiceField (line 724) | class ChoiceField(Field): method __init__ (line 730) | def __init__(self, choices=(), required=True, widget=None, label=None, method __deepcopy__ (line 736) | def __deepcopy__(self, memo): method _get_choices (line 741) | def _get_choices(self): method _set_choices (line 744) | def _set_choices(self, value): method to_python (line 752) | def to_python(self, value): method validate (line 758) | def validate(self, value): method valid_value (line 766) | def valid_value(self, value): class TypedChoiceField (line 779) | class TypedChoiceField(ChoiceField): method __init__ (line 780) | def __init__(self, *args, **kwargs): method to_python (line 785) | def to_python(self, value): method validate (line 800) | def validate(self, value): class MultipleChoiceField (line 803) | class MultipleChoiceField(ChoiceField): method to_python (line 811) | def to_python(self, value): method validate (line 818) | def validate(self, value): class TypedMultipleChoiceField (line 829) | class TypedMultipleChoiceField(MultipleChoiceField): method __init__ (line 830) | def __init__(self, *args, **kwargs): method to_python (line 835) | def to_python(self, value): method validate (line 852) | def validate(self, value): class ComboField (line 855) | class ComboField(Field): method __init__ (line 860) | def __init__(self, fields=(), *args, **kwargs): method clean (line 869) | def clean(self, value): class MultiValueField (line 882) | class MultiValueField(Field): method __init__ (line 903) | def __init__(self, fields=(), *args, **kwargs): method validate (line 912) | def validate(self, value): method clean (line 915) | def clean(self, value): method compress (line 956) | def compress(self, data_list): class FilePathField (line 967) | class FilePathField(ChoiceField): method __init__ (line 968) | def __init__(self, path, match=None, recursive=False, allow_files=True, class SplitDateTimeField (line 1017) | class SplitDateTimeField(MultiValueField): method __init__ (line 1025) | def __init__(self, input_date_formats=None, input_time_formats=None, *... method compress (line 1040) | def compress(self, data_list): class IPAddressField (line 1053) | class IPAddressField(CharField): class GenericIPAddressField (line 1061) | class GenericIPAddressField(CharField): method __init__ (line 1064) | def __init__(self, protocol='both', unpack_ipv4=False, *args, **kwargs): method to_python (line 1071) | def to_python(self, value): class SlugField (line 1080) | class SlugField(CharField): FILE: Django-1.5.1/django/forms/forms.py function pretty_name (line 51) | def pretty_name(name): function get_declared_fields (line 57) | def get_declared_fields(bases, attrs, with_base_fields=True): class DeclarativeFieldsMetaclass (line 85) | class DeclarativeFieldsMetaclass(type): method __new__ (line 90) | def __new__(cls, name, bases, attrs): #object.__new__(cls[, ...]) class BaseForm (line 102) | class BaseForm(object): method __init__ (line 108) | def __init__(self, data=None, files=None, auto_id='id_%s', prefix=None, method __str__ (line 134) | def __str__(self): method __iter__ (line 137) | def __iter__(self): method __getitem__ (line 141) | def __getitem__(self, name): method _get_errors (line 149) | def _get_errors(self): method is_valid (line 156) | def is_valid(self): method add_prefix (line 163) | def add_prefix(self, field_name): method add_initial_prefix (line 172) | def add_initial_prefix(self, field_name): method _html_output (line 178) | def _html_output(self, normal_row, error_row, row_ender, help_text_htm... method as_table (line 258) | def as_table(self): method as_ul (line 269) | def as_ul(self): method as_p (line 279) | def as_p(self): method non_field_errors (line 289) | def non_field_errors(self): method _raw_value (line 298) | def _raw_value(self, fieldname): method full_clean (line 307) | def full_clean(self): method _clean_fields (line 330) | def _clean_fields(self): method _clean_form (line 359) | def _clean_form(self): method _post_clean (line 365) | def _post_clean(self): method clean (line 372) | def clean(self): method has_changed (line 381) | def has_changed(self): method _get_changed_data (line 387) | def _get_changed_data(self): function _get_media (line 415) | def _get_media(self): function is_multipart (line 428) | def is_multipart(self): function hidden_fields (line 440) | def hidden_fields(self): function visible_fields (line 449) | def visible_fields(self): class BoundField (line 465) | class BoundField(object): method __init__ (line 469) | def __init__(self, form, field, name): function __str__ (line 484) | def __str__(self): function __iter__ (line 490) | def __iter__(self): function __len__ (line 500) | def __len__(self): function __getitem__ (line 503) | def __getitem__(self, idx): function _errors (line 506) | def _errors(self): function as_widget (line 515) | def as_widget(self, widget=None, attrs=None, only_initial=False): function as_text (line 538) | def as_text(self, attrs=None, **kwargs): function as_textarea (line 546) | def as_textarea(self, attrs=None, **kwargs): function as_hidden (line 551) | def as_hidden(self, attrs=None, **kwargs): function _data (line 558) | def _data(self): function value (line 566) | def value(self): function label_tag (line 583) | def label_tag(self, contents=None, attrs=None): function css_classes (line 603) | def css_classes(self, extra_classes=None): function _is_hidden (line 621) | def _is_hidden(self): function _auto_id (line 630) | def _auto_id(self): function _id_for_label (line 643) | def _id_for_label(self): FILE: Django-1.5.1/django/forms/formsets.py class ManagementForm (line 27) | class ManagementForm(Form): method __init__ (line 33) | def __init__(self, *args, **kwargs): class BaseFormSet (line 40) | class BaseFormSet(object): method __init__ (line 45) | def __init__(self, data=None, files=None, auto_id='id_%s', prefix=None, method __str__ (line 70) | def __str__(self): method __iter__ (line 73) | def __iter__(self): method __getitem__ (line 77) | def __getitem__(self, index): method __len__ (line 81) | def __len__(self): method __bool__ (line 84) | def __bool__(self): method __nonzero__ (line 88) | def __nonzero__(self): # Python 2 compatibility method management_form (line 92) | def management_form(self): method total_form_count (line 108) | def total_form_count(self): method initial_form_count (line 126) | def initial_form_count(self): method _construct_forms (line 137) | def _construct_forms(self): method _construct_form (line 145) | def _construct_form(self, i, **kwargs): method initial_forms (line 175) | def initial_forms(self): method extra_forms (line 180) | def extra_forms(self): method empty_form (line 185) | def empty_form(self): method cleaned_data (line 196) | def cleaned_data(self): method formset_factory (line 412) | def formset_factory(form, formset=BaseFormSet, extra=1, can_order=False, method all_valid (line 431) | def all_valid(formsets): FILE: Django-1.5.1/django/forms/models.py function construct_instance (line 29) | def construct_instance(form, instance, fields=None, exclude=None): function save_instance (line 65) | def save_instance(form, instance, fields=None, fail_message='saved',comm... function model_to_dict (line 105) | def model_to_dict(instance, fields=None, exclude=None): function fields_for_model (line 155) | def fields_for_model(model, fields=None, exclude=None, widgets=None, for... class ModelFormOptions (line 208) | class ModelFormOptions(object): method __init__ (line 209) | def __init__(self, options=None): class ModelFormMetaclass (line 216) | class ModelFormMetaclass(type): method __new__ (line 217) | def __new__(cls, name, bases, attrs): class BaseModelForm (line 262) | class BaseModelForm(BaseForm): method __init__ (line 263) | def __init__(self, data=None, files=None, auto_id='id_%s', prefix=None, method _update_errors (line 296) | def _update_errors(self, message_dict): method _get_validation_exclusions (line 308) | def _get_validation_exclusions(self): method clean (line 357) | def clean(self): method _post_clean (line 361) | def _post_clean(self): method validate_unique (line 395) | def validate_unique(self): method save (line 406) | def save(self, commit=True): class ModelForm (line 426) | class ModelForm(six.with_metaclass(ModelFormMetaclass, BaseModelForm)): function modelform_factory (line 429) | def modelform_factory(model, form=ModelForm, fields=None, exclude=None,f... class BaseModelFormSet (line 483) | class BaseModelFormSet(BaseFormSet): method __init__ (line 489) | def __init__(self, data=None, files=None, auto_id='id_%s', prefix=None, method initial_form_count (line 499) | def initial_form_count(self): method _existing_object (line 505) | def _existing_object(self, pk): method _construct_form (line 510) | def _construct_form(self, i, **kwargs): method get_queryset (line 540) | def get_queryset(self): method save_new (line 560) | def save_new(self, form, commit=True): method save_existing (line 564) | def save_existing(self, form, instance, commit=True): method save (line 568) | def save(self, commit=True): method clean (line 582) | def clean(self): method validate_unique (line 585) | def validate_unique(self): method get_unique_error_message (line 663) | def get_unique_error_message(self, unique_check): method get_date_error_message (line 674) | def get_date_error_message(self, date_check): method get_form_error (line 682) | def get_form_error(self): method save_existing_objects (line 685) | def save_existing_objects(self, commit=True): method save_new_objects (line 717) | def save_new_objects(self, commit=True): method add_fields (line 731) | def add_fields(self, form, index): function modelformset_factory (line 762) | def modelformset_factory(model, form=ModelForm, formfield_callback=None, class BaseInlineFormSet (line 779) | class BaseInlineFormSet(BaseModelFormSet): method __init__ (line 781) | def __init__(self, data=None, files=None, instance=None, method initial_form_count (line 800) | def initial_form_count(self): method _construct_form (line 806) | def _construct_form(self, i, **kwargs): method get_default_prefix (line 821) | def get_default_prefix(cls): method save_new (line 825) | def save_new(self, form, commit=True): method add_fields (line 838) | def add_fields(self, form, index): method get_unique_error_message (line 862) | def get_unique_error_message(self, unique_check): function _get_foreign_key (line 867) | def _get_foreign_key(parent_model, model, fk_name=None, can_fail=False): function inlineformset_factory (line 907) | def inlineformset_factory(parent_model, model, form=ModelForm, class InlineForeignKeyHiddenInput (line 940) | class InlineForeignKeyHiddenInput(HiddenInput): method _has_changed (line 941) | def _has_changed(self, initial, data): class InlineForeignKeyField (line 944) | class InlineForeignKeyField(Field): method __init__ (line 953) | def __init__(self, parent_instance, *args, **kwargs): method clean (line 966) | def clean(self, value): class ModelChoiceIterator (line 981) | class ModelChoiceIterator(object): method __init__ (line 982) | def __init__(self, field): method __iter__ (line 986) | def __iter__(self): method __len__ (line 1000) | def __len__(self): method choice (line 1003) | def choice(self, obj): class ModelChoiceField (line 1006) | class ModelChoiceField(ChoiceField): method __init__ (line 1015) | def __init__(self, queryset, empty_label="---------", cache_choices=Fa... method __deepcopy__ (line 1032) | def __deepcopy__(self, memo): method _get_queryset (line 1038) | def _get_queryset(self): method _set_queryset (line 1041) | def _set_queryset(self, queryset): method label_from_instance (line 1049) | def label_from_instance(self, obj): method _get_choices (line 1057) | def _get_choices(self): method prepare_value (line 1074) | def prepare_value(self, value): method to_python (line 1082) | def to_python(self, value): method validate (line 1092) | def validate(self, value): class ModelMultipleChoiceField (line 1095) | class ModelMultipleChoiceField(ModelChoiceField): method __init__ (line 1106) | def __init__(self, queryset, cache_choices=False, required=True, method clean (line 1113) | def clean(self, value): method prepare_value (line 1136) | def prepare_value(self, value): FILE: Django-1.5.1/django/forms/util.py function flatatt (line 14) | def flatatt(attrs): class ErrorDict (line 26) | class ErrorDict(dict): method __str__ (line 32) | def __str__(self): method as_ul (line 35) | def as_ul(self): method as_text (line 43) | def as_text(self): class ErrorList (line 47) | class ErrorList(list): method __str__ (line 51) | def __str__(self): method as_ul (line 54) | def as_ul(self): method as_text (line 62) | def as_text(self): method __repr__ (line 66) | def __repr__(self): function from_current_timezone (line 71) | def from_current_timezone(value): function to_current_timezone (line 88) | def to_current_timezone(value): FILE: Django-1.5.1/django/forms/widgets.py class Media (line 38) | class Media(object): method __init__ (line 40) | def __init__(self, media=None, **kwargs): method __str__ (line 57) | def __str__(self): method render (line 60) | def render(self): method render_js (line 67) | def render_js(self): method render_css (line 70) | def render_css(self): function absolute_path (line 81) | def absolute_path(self, path, prefix=None): function __getitem__ (line 95) | def __getitem__(self, name): function add_js (line 101) | def add_js(self, data): function add_css (line 107) | def add_css(self, data): function __add__ (line 114) | def __add__(self, other): function media_property (line 122) | def media_property(cls): class MediaDefiningClass (line 152) | class MediaDefiningClass(type): method __new__ (line 154) | def __new__(cls, name, bases, attrs): class SubWidget (line 162) | class SubWidget(object): method __init__ (line 168) | def __init__(self, parent_widget, name, value, attrs, choices): method __str__ (line 173) | def __str__(self): class Widget (line 179) | class Widget(six.with_metaclass(MediaDefiningClass)): method __init__ (line 185) | def __init__(self, attrs=None): method __deepcopy__ (line 191) | def __deepcopy__(self, memo): method subwidgets (line 198) | def subwidgets(self, name, value, attrs=None, choices=()): method render (line 208) | def render(self, name, value, attrs=None): method build_attrs (line 217) | def build_attrs(self, extra_attrs=None, **kwargs): method value_from_datadict (line 225) | def value_from_datadict(self, data, files, name): method _has_changed (line 233) | def _has_changed(self, initial, data): method id_for_label (line 254) | def id_for_label(self, id_): class Input (line 267) | class Input(Widget): method _format_value (line 276) | def _format_value(self, value): method render (line 281) | def render(self, name, value, attrs=None): class TextInput (line 293) | class TextInput(Input): method __init__ (line 296) | def __init__(self, attrs=None): class PasswordInput (line 302) | class PasswordInput(TextInput): method __init__ (line 305) | def __init__(self, attrs=None, render_value=False): method render (line 309) | def render(self, name, value, attrs=None): class HiddenInput (line 313) | class HiddenInput(Input): class MultipleHiddenInput (line 317) | class MultipleHiddenInput(HiddenInput): method __init__ (line 322) | def __init__(self, attrs=None, choices=()): method render (line 327) | def render(self, name, value, attrs=None, choices=()): method value_from_datadict (line 341) | def value_from_datadict(self, data, files, name): class FileInput (line 346) | class FileInput(Input): method render (line 350) | def render(self, name, value, attrs=None): method value_from_datadict (line 353) | def value_from_datadict(self, data, files, name): method _has_changed (line 357) | def _has_changed(self, initial, data): class ClearableFileInput (line 364) | class ClearableFileInput(FileInput): method clear_checkbox_name (line 373) | def clear_checkbox_name(self, name): method clear_checkbox_id (line 380) | def clear_checkbox_id(self, name): method render (line 386) | def render(self, name, value, attrs=None): method value_from_datadict (line 411) | def value_from_datadict(self, data, files, name): class Textarea (line 424) | class Textarea(Widget): method __init__ (line 425) | def __init__(self, attrs=None): method render (line 434) | def render(self, name, value, attrs=None): class DateInput (line 442) | class DateInput(TextInput): method __init__ (line 443) | def __init__(self, attrs=None, format=None): method _format_value (line 452) | def _format_value(self, value): method _has_changed (line 460) | def _has_changed(self, initial, data): class DateTimeInput (line 472) | class DateTimeInput(TextInput): method __init__ (line 473) | def __init__(self, attrs=None, format=None): method _format_value (line 482) | def _format_value(self, value): method _has_changed (line 490) | def _has_changed(self, initial, data): class TimeInput (line 502) | class TimeInput(TextInput): method __init__ (line 503) | def __init__(self, attrs=None, format=None): method _format_value (line 512) | def _format_value(self, value): method _has_changed (line 519) | def _has_changed(self, initial, data): function boolean_check (line 532) | def boolean_check(v): class CheckboxInput (line 536) | class CheckboxInput(Widget): method __init__ (line 537) | def __init__(self, attrs=None, check_test=None): method render (line 543) | def render(self, name, value, attrs=None): method value_from_datadict (line 552) | def value_from_datadict(self, data, files, name): method _has_changed (line 564) | def _has_changed(self, initial, data): class Select (line 572) | class Select(Widget): method __init__ (line 575) | def __init__(self, attrs=None, choices=()): method render (line 582) | def render(self, name, value, attrs=None, choices=()): method render_option (line 592) | def render_option(self, selected_choices, option_value, option_label): method render_options (line 606) | def render_options(self, choices, selected_choices): class NullBooleanSelect (line 620) | class NullBooleanSelect(Select): method __init__ (line 624) | def __init__(self, attrs=None): method render (line 630) | def render(self, name, value, attrs=None, choices=()): method value_from_datadict (line 637) | def value_from_datadict(self, data, files, name): method _has_changed (line 646) | def _has_changed(self, initial, data): class SelectMultiple (line 655) | class SelectMultiple(Select): method render (line 658) | def render(self, name, value, attrs=None, choices=()): method value_from_datadict (line 668) | def value_from_datadict(self, data, files, name): method _has_changed (line 673) | def _has_changed(self, initial, data): class RadioInput (line 685) | class RadioInput(SubWidget): method __init__ (line 691) | def __init__(self, name, value, attrs, choice, index): method __str__ (line 698) | def __str__(self): method render (line 701) | def render(self, name=None, value=None, attrs=None, choices=()): method is_checked (line 712) | def is_checked(self): method tag (line 715) | def tag(self): class RadioFieldRenderer (line 724) | class RadioFieldRenderer(object): method __init__ (line 729) | def __init__(self, name, value, attrs, choices): method __iter__ (line 733) | def __iter__(self): method __getitem__ (line 737) | def __getitem__(self, idx): method __str__ (line 741) | def __str__(self): method render (line 744) | def render(self): class RadioSelect (line 751) | class RadioSelect(Select): method __init__ (line 754) | def __init__(self, *args, **kwargs): method subwidgets (line 761) | def subwidgets(self, name, value, attrs=None, choices=()): method get_renderer (line 765) | def get_renderer(self, name, value, attrs=None, choices=()): method render (line 773) | def render(self, name, value, attrs=None, choices=()): method id_for_label (line 776) | def id_for_label(self, id_): class CheckboxSelectMultiple (line 785) | class CheckboxSelectMultiple(SelectMultiple): method render (line 786) | def render(self, name, value, attrs=None, choices=()): method id_for_label (line 811) | def id_for_label(self, id_): class MultiWidget (line 817) | class MultiWidget(Widget): method __init__ (line 844) | def __init__(self, widgets, attrs=None): method render (line 848) | def render(self, name, value, attrs=None): method id_for_label (line 869) | def id_for_label(self, id_): method value_from_datadict (line 875) | def value_from_datadict(self, data, files, name): method _has_changed (line 878) | def _has_changed(self, initial, data): method format_output (line 889) | def format_output(self, rendered_widgets): method decompress (line 899) | def decompress(self, value): method _get_media (line 907) | def _get_media(self): method __deepcopy__ (line 915) | def __deepcopy__(self, memo): class SplitDateTimeWidget (line 920) | class SplitDateTimeWidget(MultiWidget): method __init__ (line 925) | def __init__(self, attrs=None, date_format=None, time_format=None): method decompress (line 930) | def decompress(self, value): class SplitHiddenDateTimeWidget (line 936) | class SplitHiddenDateTimeWidget(SplitDateTimeWidget): method __init__ (line 942) | def __init__(self, attrs=None, date_format=None, time_format=None): FILE: Django-1.5.1/django/http/cookie.py class SimpleCookie (line 24) | class SimpleCookie(http_cookies.SimpleCookie): method value_encode (line 26) | def value_encode(self, val): method load (line 51) | def load(self, rawdata): method _BaseCookie__set (line 61) | def _BaseCookie__set(self, key, real_value, coded_value): function parse_cookie (line 72) | def parse_cookie(cookie): FILE: Django-1.5.1/django/http/multipartparser.py class MultiPartParserError (line 23) | class MultiPartParserError(Exception): class InputStreamExhausted (line 26) | class InputStreamExhausted(Exception): class MultiPartParser (line 36) | class MultiPartParser(object): method __init__ (line 43) | def __init__(self, META, input_data, upload_handlers, encoding=None): method parse (line 100) | def parse(self): method handle_file_complete (line 258) | def handle_file_complete(self, old_field_name, counters): method IE_sanitize (line 272) | def IE_sanitize(self, filename): class LazyStream (line 277) | class LazyStream(six.Iterator): method __init__ (line 286) | def __init__(self, producer, length=None): method tell (line 301) | def tell(self): 返回文件指针的位置 method read (line 304) | def read(self, size=None): method __next__ (line 329) | def __next__(self): method close (line 346) | def close(self): method __iter__ (line 355) | def __iter__(self): method unget (line 358) | def unget(self, bytes): method _update_unget_history (line 372) | def _update_unget_history(self, num_bytes): class ChunkIter (line 393) | class ChunkIter(six.Iterator): method __init__ (line 401) | def __init__(self, flo, chunk_size=64 * 1024): method __next__ (line 406) | def __next__(self): method __iter__ (line 416) | def __iter__(self): class InterBoundaryIter (line 420) | class InterBoundaryIter(six.Iterator): method __init__ (line 424) | def __init__(self, stream, boundary): method __iter__ (line 428) | def __iter__(self): method __next__ (line 431) | def __next__(self): class BoundaryIter (line 438) | class BoundaryIter(six.Iterator): method __init__ (line 450) | def __init__(self, stream, boundary): method __iter__ (line 474) | def __iter__(self): method __next__ (line 477) | def __next__(self): method _find_boundary (line 520) | def _find_boundary(self, data, eof = False): function exhaust (line 547) | def exhaust(stream_or_iterable): function parse_boundary_stream (line 565) | def parse_boundary_stream(stream, max_header_size): class Parser (line 625) | class Parser(object): method __init__ (line 626) | def __init__(self, stream, boundary): method __iter__ (line 630) | def __iter__(self): function parse_header (line 636) | def parse_header(line): function _parse_header_params (line 655) | def _parse_header_params(s): FILE: Django-1.5.1/django/http/request.py class UnreadablePostError (line 31) | class UnreadablePostError(IOError): class HttpRequest (line 35) | class HttpRequest(object): method __init__ (line 42) | def __init__(self): method __repr__ (line 51) | def __repr__(self): method get_host (line 56) | def get_host(self): method get_full_path (line 81) | def get_full_path(self): method get_signed_cookie (line 86) | def get_signed_cookie(self, key, default=RAISE_ERROR, salt='', max_age... method build_absolute_uri (line 111) | def build_absolute_uri(self, location=None): method _is_secure (line 126) | def _is_secure(self): method is_secure (line 129) | def is_secure(self): method is_ajax (line 143) | def is_ajax(self): method encoding (line 147) | def encoding(self):返回 encoding method encoding (line 151) | def encoding(self, val): 设置 encoding method _initialize_handlers (line 164) | def _initialize_handlers(self): class QueryDict (line 277) | class QueryDict(MultiValueDict): method __init__ (line 291) | def __init__(self, query_string, mutable=False, encoding=None): method encoding (line 314) | def encoding(self): method encoding (line 320) | def encoding(self, value): method _assert_mutable (line 323) | def _assert_mutable(self): method __setitem__ (line 327) | def __setitem__(self, key, value): method __delitem__ (line 333) | def __delitem__(self, key): method __copy__ (line 337) | def __copy__(self): method __deepcopy__ (line 343) | def __deepcopy__(self, memo): method setlist (line 350) | def setlist(self, key, list_): method setlistdefault (line 356) | def setlistdefault(self, key, default_list=None): method appendlist (line 360) | def appendlist(self, key, value): method pop (line 366) | def pop(self, key, *args): method popitem (line 370) | def popitem(self): method clear (line 374) | def clear(self): method setdefault (line 378) | def setdefault(self, key, default=None): method copy (line 384) | def copy(self): method urlencode (line 388) | def urlencode(self, safe=None): method build_request_repr (line 416) | def build_request_repr(request, path_override=None, GET_override=None, method bytes_to_text (line 465) | def bytes_to_text(s, encoding): method validate_host (line 479) | def validate_host(host, allowed_hosts 允许自定义一些合法的 host): FILE: Django-1.5.1/django/http/response.py class BadHeaderError (line 23) | class BadHeaderError(ValueError): class HttpResponseBase (line 27) | class HttpResponseBase(six.Iterator): method __init__ (line 38) | def __init__(self, content_type=None, status=None, mimetype=None): method serialize_headers (line 68) | def serialize_headers(self): method _convert_to_charset (line 81) | def _convert_to_charset(self, value, charset, mime_encode=False): function __setitem__ (line 120) | def __setitem__(self, header, value): 这是字典的动作 function __delitem__ (line 125) | def __delitem__(self, header): function __getitem__ (line 131) | def __getitem__(self, header): function __getstate__ (line 134) | def __getstate__(self): function __setstate__ (line 141) | def __setstate__(self, state): function has_header (line 145) | def has_header(self, header): function items (line 151) | def items(self): function get (line 154) | def get(self, header, alternate=None): function set_signed_cookie (line 214) | def set_signed_cookie(self, key, value, salt='', **kwargs): function delete_cookie (line 218) | def delete_cookie(self, key, path='/', domain=None): function make_bytes (line 224) | def make_bytes(self, value): function __iter__ (line 245) | def __iter__(self): function __next__ (line 248) | def __next__(self): function close (line 257) | def close(self): function write (line 265) | def write(self, content): function flush (line 268) | def flush(self): function tell (line 271) | def tell(self): function __init__ (line 286) | def __init__(self, content='', *args, **kwargs): function serialize (line 291) | def serialize(self): function _consume_content (line 302) | def _consume_content(self): function content (line 312) | def content(self): class StreamingHttpResponse (line 352) | class StreamingHttpResponse(HttpResponseBase): method __init__ (line 363) | def __init__(self, streaming_content=(), *args, **kwargs): method content (line 370) | def content(self): method streaming_content (line 375) | def streaming_content(self): method streaming_content (line 379) | def streaming_content(self, value): class CompatibleStreamingHttpResponse (line 386) | class CompatibleStreamingHttpResponse(StreamingHttpResponse): method content (line 397) | def content(self): method content (line 407) | def content(self, content): class HttpResponseRedirectBase (line 415) | class HttpResponseRedirectBase(HttpResponse): method __init__ (line 418) | def __init__(self, redirect_to, *args, **kwargs): class HttpResponseRedirect (line 426) | class HttpResponseRedirect(HttpResponseRedirectBase): class HttpResponsePermanentRedirect (line 430) | class HttpResponsePermanentRedirect(HttpResponseRedirectBase): class HttpResponseNotModified (line 434) | class HttpResponseNotModified(HttpResponse): method __init__ (line 437) | def __init__(self, *args, **kwargs): method content (line 442) | def content(self, value): class HttpResponseBadRequest (line 449) | class HttpResponseBadRequest(HttpResponse): class HttpResponseNotFound (line 453) | class HttpResponseNotFound(HttpResponse): class HttpResponseForbidden (line 457) | class HttpResponseForbidden(HttpResponse): class HttpResponseNotAllowed (line 461) | class HttpResponseNotAllowed(HttpResponse): method __init__ (line 464) | def __init__(self, permitted_methods, *args, **kwargs): class HttpResponseGone (line 469) | class HttpResponseGone(HttpResponse): class HttpResponseServerError (line 473) | class HttpResponseServerError(HttpResponse): class Http404 (line 477) | class Http404(Exception): FILE: Django-1.5.1/django/http/utils.py function fix_location_header (line 14) | def fix_location_header(request, response): function conditional_content_removal (line 28) | def conditional_content_removal(request, response): 如果是 head 命令,移除 respo... function fix_IE_for_attach (line 47) | def fix_IE_for_attach(request, response): function fix_IE_for_vary (line 76) | def fix_IE_for_vary(request, response): FILE: Django-1.5.1/django/middleware/cache.py class UpdateCacheMiddleware (line 66) | class UpdateCacheMiddleware(object): method __init__ (line 78) | def __init__(self): method _session_accessed (line 85) | def _session_accessed(self, request): method _should_update_cache (line 91) | def _should_update_cache(self, request, response): method process_response (line 107) | def process_response(self, request, response): class FetchFromCacheMiddleware (line 137) | class FetchFromCacheMiddleware(object): method __init__ (line 147) | def __init__(self): method process_request (line 154) | def process_request(self, request): class CacheMiddleware (line 184) | class CacheMiddleware(UpdateCacheMiddleware, FetchFromCacheMiddleware): method __init__ (line 191) | def __init__(self, cache_timeout=None, cache_anonymous_only=None, **kw... FILE: Django-1.5.1/django/middleware/clickjacking.py class XFrameOptionsMiddleware (line 10) | class XFrameOptionsMiddleware(object): method process_response (line 33) | def process_response(self, request, response): method get_xframe_options_value (line 46) | def get_xframe_options_value(self, request, response): FILE: Django-1.5.1/django/middleware/common.py class CommonMiddleware (line 16) | class CommonMiddleware(object): method process_request (line 41) | def process_request(self, request): method process_response (line 113) | def process_response(self, request, response): function _is_ignorable_404 (line 158) | def _is_ignorable_404(uri): function _is_internal_request (line 182) | def _is_internal_request(domain, referer): FILE: Django-1.5.1/django/middleware/csrf.py function _get_failure_view (line 34) | def _get_failure_view(): function _get_new_csrf_key (line 42) | def _get_new_csrf_key(): function get_token (line 46) | def get_token(request): function _sanitize_token (line 61) | def _sanitize_token(token): # sanitize 使无害消毒 class CsrfViewMiddleware (line 72) | class CsrfViewMiddleware(object): method _accept (line 84) | def _accept(self, request): method _reject (line 92) | def _reject(self, request, reason): method process_view (line 95) | def process_view(self, request, callback, callback_args, callback_kwar... method process_response (line 201) | def process_response(self, request, response): FILE: Django-1.5.1/django/middleware/doc.py class XViewMiddleware (line 4) | class XViewMiddleware(object): method process_view (line 8) | def process_view(self, request, view_func, view_args, view_kwargs): FILE: Django-1.5.1/django/middleware/gzip.py class GZipMiddleware (line 8) | class GZipMiddleware(object): method process_response (line 14) | def process_response(self, request, response): FILE: Django-1.5.1/django/middleware/http.py class ConditionalGetMiddleware (line 3) | class ConditionalGetMiddleware(object): method process_response (line 11) | def process_response(self, request, response): FILE: Django-1.5.1/django/middleware/locale.py class LocaleMiddleware (line 11) | class LocaleMiddleware(object): method process_request (line 20) | def process_request(self, request): method process_response (line 28) | def process_response(self, request, response): method is_language_prefix_patterns_used (line 52) | def is_language_prefix_patterns_used(self): FILE: Django-1.5.1/django/middleware/transaction.py class TransactionMiddleware (line 3) | class TransactionMiddleware(object): method process_request (line 10) | def process_request(self, request): method process_exception (line 15) | def process_exception(self, request, exception): method process_response (line 25) | def process_response(self, request, response): FILE: Django-1.5.1/django/shortcuts/__init__.py function render_to_response (line 16) | def render_to_response(*args, **kwargs): function render (line 31) | def render(request, *args, **kwargs): function redirect (line 58) | def redirect(to, *args, **kwargs): function _get_queryset (line 88) | def _get_queryset(klass): function get_object_or_404 (line 109) | def get_object_or_404(klass, *args, **kwargs): function get_list_or_404 (line 128) | def get_list_or_404(klass, *args, **kwargs): function resolve_url (line 143) | def resolve_url(to, *args, **kwargs): FILE: Django-1.5.1/django/template/base.py class TemplateSyntaxError (line 74) | class TemplateSyntaxError(Exception): class TemplateDoesNotExist (line 77) | class TemplateDoesNotExist(Exception): class TemplateEncodingError (line 80) | class TemplateEncodingError(Exception): class VariableDoesNotExist (line 84) | class VariableDoesNotExist(Exception): method __init__ (line 86) | def __init__(self, msg, params=()): method __str__ (line 90) | def __str__(self): class InvalidTemplateLibrary (line 94) | class InvalidTemplateLibrary(Exception): class Origin (line 97) | class Origin(object): method __init__ (line 98) | def __init__(self, name): method reload (line 101) | def reload(self): method __str__ (line 104) | def __str__(self): class StringOrigin (line 107) | class StringOrigin(Origin): method __init__ (line 108) | def __init__(self, source): method reload (line 112) | def reload(self): class Template (line 115) | class Template(object): method __init__ (line 116) | def __init__(self, template_string, origin=None, method __iter__ (line 128) | def __iter__(self): method _render (line 133) | def _render(self, context): method render (line 136) | def render(self, context): function compile_string (line 144) | def compile_string(template_string, origin): class Token (line 155) | class Token(object): method __init__ (line 156) | def __init__(self, token_type, contents): method __str__ (line 162) | def __str__(self): method split_contents (line 167) | def split_contents(self): class Lexer (line 182) | class Lexer(object): method __init__ (line 183) | def __init__(self, template_string, origin): method tokenize (line 189) | def tokenize(self): method create_token (line 201) | def create_token(self, token_string, in_tag): class Parser (line 233) | class Parser(object): method __init__ (line 234) | def __init__(self, tokens): method parse (line 241) | def parse(self, parse_until=None): method skip_past (line 284) | def skip_past(self, endtag): method create_variable_node (line 291) | def create_variable_node(self, filter_expression): method create_nodelist (line 294) | def create_nodelist(self): method extend_nodelist (line 297) | def extend_nodelist(self, nodelist, node, token): method enter_command (line 309) | def enter_command(self, command, token): method exit_command (line 312) | def exit_command(self): method error (line 315) | def error(self, token, msg): method empty_variable (line 318) | def empty_variable(self, token): method empty_block_tag (line 321) | def empty_block_tag(self, token): method invalid_block_tag (line 324) | def invalid_block_tag(self, token, command, parse_until=None): method unclosed_block_tag (line 330) | def unclosed_block_tag(self, parse_until): method compile_function_error (line 333) | def compile_function_error(self, token, e): method next_token (line 336) | def next_token(self): method prepend_token (line 339) | def prepend_token(self, token): method delete_first_token (line 342) | def delete_first_token(self): method add_library (line 345) | def add_library(self, lib): method compile_filter (line 349) | def compile_filter(self, token): method find_filter (line 355) | def find_filter(self, filter_name): class TokenParser (line 361) | class TokenParser(object): method __init__ (line 370) | def __init__(self, subject): method top (line 376) | def top(self): method more (line 382) | def more(self): method back (line 388) | def back(self): method tag (line 397) | def tag(self): method value (line 416) | def value(self): class FilterExpression (line 514) | class FilterExpression(object): method __init__ (line 531) | def __init__(self, token, parser): method resolve (line 575) | def resolve(self, context, ignore_failures=False): method args_check (line 615) | def args_check(name, func, provided): method __str__ (line 649) | def __str__(self): function resolve_variable (line 652) | def resolve_variable(path, context): class Variable (line 661) | class Variable(object): method __init__ (line 680) | def __init__(self, var): method resolve (line 724) | def resolve(self, context): method __repr__ (line 739) | def __repr__(self): method __str__ (line 742) | def __str__(self): method _resolve_lookup (line 745) | def _resolve_lookup(self, context): class Node (line 792) | class Node(object): method render (line 798) | def render(self, context): method __iter__ (line 804) | def __iter__(self): method get_nodes_by_type (line 807) | def get_nodes_by_type(self, nodetype): class NodeList (line 821) | class NodeList(list): method render (line 826) | def render(self, context): method get_nodes_by_type (line 836) | def get_nodes_by_type(self, nodetype): method render_node (line 843) | def render_node(self, node, context): class TextNode (line 846) | class TextNode(Node): method __init__ (line 847) | def __init__(self, s): method __repr__ (line 850) | def __repr__(self): method render (line 854) | def render(self, context): function _render_value_in_context (line 857) | def _render_value_in_context(value, context): class VariableNode (line 872) | class VariableNode(Node): method __init__ (line 873) | def __init__(self, filter_expression): method __repr__ (line 876) | def __repr__(self): method render (line 879) | def render(self, context): function token_kwargs (line 892) | def token_kwargs(bits, parser, support_legacy=False): function parse_bits (line 941) | def parse_bits(parser, bits, params, varargs, varkw, defaults, function generic_tag_compiler (line 1008) | def generic_tag_compiler(parser, token, params, varargs, varkw, defaults, class TagHelperNode (line 1018) | class TagHelperNode(Node): method __init__ (line 1025) | def __init__(self, takes_context, args, kwargs): method get_resolved_arguments (line 1030) | def get_resolved_arguments(self, context): class Library (line 1038) | class Library(object): method __init__ (line 1039) | def __init__(self): method tag (line 1043) | def tag(self, name=None, compile_function=None): method tag_function (line 1064) | def tag_function(self, func): method filter (line 1068) | def filter(self, name=None, filter_func=None, **flags): method filter_function (line 1102) | def filter_function(self, func, **flags): method simple_tag (line 1106) | def simple_tag(self, func=None, takes_context=None, name=None): method assignment_tag (line 1135) | def assignment_tag(self, func=None, takes_context=None, name=None): method inclusion_tag (line 1177) | def inclusion_tag(self, file_name, context_class=Context, takes_contex... function is_library_missing (line 1222) | def is_library_missing(name): function import_library (line 1238) | def import_library(taglib_module): function get_templatetags_modules (line 1266) | def get_templatetags_modules(): function get_library (line 1288) | def get_library(library_name): function add_to_builtins (line 1319) | def add_to_builtins(module): FILE: Django-1.5.1/django/template/context.py class ContextPopException (line 12) | class ContextPopException(Exception): class BaseContext (line 16) | class BaseContext(object): method __init__ (line 17) | def __init__(self, dict_=None): method _reset_dicts (line 20) | def _reset_dicts(self, value=None): method __copy__ (line 26) | def __copy__(self): method __repr__ (line 31) | def __repr__(self): method __iter__ (line 34) | def __iter__(self): method push (line 38) | def push(self): method pop (line 43) | def pop(self): method __setitem__ (line 48) | def __setitem__(self, key, value): method __getitem__ (line 52) | def __getitem__(self, key): method __delitem__ (line 59) | def __delitem__(self, key): method has_key (line 63) | def has_key(self, key): method __contains__ (line 69) | def __contains__(self, key): method get (line 72) | def get(self, key, otherwise=None): method new (line 78) | def new(self, values=None): class Context (line 87) | class Context(BaseContext): method __init__ (line 89) | def __init__(self, dict_=None, autoescape=True, current_app=None, method __copy__ (line 98) | def __copy__(self): method update (line 103) | def update(self, other_dict): class RenderContext (line 110) | class RenderContext(BaseContext): method __iter__ (line 125) | def __iter__(self): method has_key (line 129) | def has_key(self, key): method get (line 132) | def get(self, key, otherwise=None): function get_standard_processors (line 140) | def get_standard_processors(): class RequestContext (line 163) | class RequestContext(Context): method __init__ (line 170) | def __init__(self, request, dict_=None, processors=None, current_app=N... FILE: Django-1.5.1/django/template/debug.py class DebugLexer (line 9) | class DebugLexer(Lexer): method __init__ (line 10) | def __init__(self, template_string, origin): method tokenize (line 13) | def tokenize(self): method create_token (line 28) | def create_token(self, token_string, source, in_tag): class DebugParser (line 33) | class DebugParser(Parser): method __init__ (line 34) | def __init__(self, lexer): method enter_command (line 38) | def enter_command(self, command, token): method exit_command (line 41) | def exit_command(self): method error (line 44) | def error(self, token, msg): method source_error (line 47) | def source_error(self, source, msg): method create_nodelist (line 52) | def create_nodelist(self): method create_variable_node (line 55) | def create_variable_node(self, contents): method extend_nodelist (line 58) | def extend_nodelist(self, nodelist, node, token): method unclosed_block_tag (line 62) | def unclosed_block_tag(self, parse_until): method compile_function_error (line 67) | def compile_function_error(self, token, e): class DebugNodeList (line 71) | class DebugNodeList(NodeList): method render_node (line 72) | def render_node(self, node, context): class DebugVariableNode (line 81) | class DebugVariableNode(VariableNode): method render (line 82) | def render(self, context): FILE: Django-1.5.1/django/template/defaultfilters.py function stringfilter (line 32) | def stringfilter(func): function addslashes (line 70) | def addslashes(value): function capfirst (line 80) | def capfirst(value): function escapejs_filter (line 86) | def escapejs_filter(value): function fix_ampersands_filter (line 92) | def fix_ampersands_filter(value): function floatformat (line 109) | def floatformat(text, arg=-1): function iriencode (line 193) | def iriencode(value): function linenumbers (line 199) | def linenumbers(value, autoescape=None): function lower (line 215) | def lower(value): function make_list (line 221) | def make_list(value): function slugify (line 232) | def slugify(value): function stringformat (line 242) | def stringformat(value, arg): function title (line 259) | def title(value): function truncatechars (line 266) | def truncatechars(value, arg): function truncatewords (line 280) | def truncatewords(value, arg): function truncatewords_html (line 296) | def truncatewords_html(value, arg): function upper (line 312) | def upper(value): function urlencode (line 318) | def urlencode(value, safe=None): function urlize (line 334) | def urlize(value, autoescape=None): function urlizetrunc (line 340) | def urlizetrunc(value, limit, autoescape=None): function wordcount (line 352) | def wordcount(value): function wordwrap (line 358) | def wordwrap(value, arg): function ljust (line 368) | def ljust(value, arg): function rjust (line 378) | def rjust(value, arg): function center (line 388) | def center(value, arg): function cut (line 394) | def cut(value, arg): function escape_filter (line 410) | def escape_filter(value): function force_escape (line 418) | def force_escape(value): function linebreaks_filter (line 428) | def linebreaks_filter(value, autoescape=None): function linebreaksbr (line 439) | def linebreaksbr(value, autoescape=None): function safe (line 452) | def safe(value): function safeseq (line 459) | def safeseq(value): function removetags (line 469) | def removetags(value, tags): function striptags (line 476) | def striptags(value): function dictsort (line 485) | def dictsort(value, arg): function dictsortreversed (line 496) | def dictsortreversed(value, arg): function first (line 507) | def first(value): function join (line 515) | def join(value, arg, autoescape=None): function last (line 529) | def last(value): function length (line 537) | def length(value): function length_is (line 545) | def length_is(value, arg): function random (line 553) | def random(value): function slice_filter (line 558) | def slice_filter(value, arg): function unordered_list (line 579) | def unordered_list(value, autoescape=None): function add (line 670) | def add(value, arg): function get_digit (line 681) | def get_digit(value, arg): function date (line 705) | def date(value, arg=None): function time (line 720) | def time(value, arg=None): function timesince_filter (line 735) | def timesince_filter(value, arg=None): function timeuntil_filter (line 747) | def timeuntil_filter(value, arg=None): function default (line 761) | def default(value, arg): function default_if_none (line 766) | def default_if_none(value, arg): function divisibleby (line 773) | def divisibleby(value, arg): function yesno (line 778) | def yesno(value, arg=None): function filesizeformat (line 814) | def filesizeformat(bytes): function pluralize (line 845) | def pluralize(value, arg='s'): function phone2numeric_filter (line 889) | def phone2numeric_filter(value): function pprint (line 894) | def pprint(value): FILE: Django-1.5.1/django/template/defaulttags.py class AutoEscapeControlNode (line 25) | class AutoEscapeControlNode(Node): method __init__ (line 27) | def __init__(self, setting, nodelist): method render (line 30) | def render(self, context): class CommentNode (line 40) | class CommentNode(Node): method render (line 41) | def render(self, context): class CsrfTokenNode (line 44) | class CsrfTokenNode(Node): method render (line 45) | def render(self, context): class CycleNode (line 61) | class CycleNode(Node): method __init__ (line 62) | def __init__(self, cyclevars, variable_name=None, silent=False): method render (line 67) | def render(self, context): class DebugNode (line 79) | class DebugNode(Node): method render (line 80) | def render(self, context): class FilterNode (line 87) | class FilterNode(Node): method __init__ (line 88) | def __init__(self, filter_expr, nodelist): method render (line 91) | def render(self, context): class FirstOfNode (line 99) | class FirstOfNode(Node): method __init__ (line 100) | def __init__(self, vars): method render (line 103) | def render(self, context): class ForNode (line 110) | class ForNode(Node): method __init__ (line 113) | def __init__(self, loopvars, sequence, is_reversed, nodelist_loop, nod... method __repr__ (line 122) | def __repr__(self): method __iter__ (line 128) | def __iter__(self): method render (line 134) | def render(self, context): class IfChangedNode (line 206) | class IfChangedNode(Node): method __init__ (line 209) | def __init__(self, nodelist_true, nodelist_false, *varlist): method render (line 215) | def render(self, context): class IfEqualNode (line 237) | class IfEqualNode(Node): method __init__ (line 240) | def __init__(self, var1, var2, nodelist_true, nodelist_false, negate): method __repr__ (line 245) | def __repr__(self): method render (line 248) | def render(self, context): class IfNode (line 255) | class IfNode(Node): method __init__ (line 257) | def __init__(self, conditions_nodelists): method __repr__ (line 260) | def __repr__(self): method __iter__ (line 263) | def __iter__(self): method nodelist (line 269) | def nodelist(self): method render (line 272) | def render(self, context): class RegroupNode (line 288) | class RegroupNode(Node): method __init__ (line 289) | def __init__(self, target, expression, var_name): method resolve_expression (line 293) | def resolve_expression(self, obj, context): method render (line 299) | def render(self, context): function include_is_allowed (line 314) | def include_is_allowed(filepath): class SsiNode (line 320) | class SsiNode(Node): method __init__ (line 321) | def __init__(self, filepath, parsed): method render (line 325) | def render(self, context): class LoadNode (line 349) | class LoadNode(Node): method render (line 350) | def render(self, context): class NowNode (line 353) | class NowNode(Node): method __init__ (line 354) | def __init__(self, format_string): method render (line 357) | def render(self, context): class SpacelessNode (line 361) | class SpacelessNode(Node): method __init__ (line 362) | def __init__(self, nodelist): method render (line 365) | def render(self, context): class TemplateTagNode (line 369) | class TemplateTagNode(Node): method __init__ (line 380) | def __init__(self, tagtype): method render (line 383) | def render(self, context): class URLNode (line 386) | class URLNode(Node): method __init__ (line 387) | def __init__(self, view_name, args, kwargs, asvar): method render (line 393) | def render(self, context): class VerbatimNode (line 435) | class VerbatimNode(Node): method __init__ (line 436) | def __init__(self, content): method render (line 439) | def render(self, context): class WidthRatioNode (line 442) | class WidthRatioNode(Node): method __init__ (line 443) | def __init__(self, val_expr, max_expr, max_width): method render (line 448) | def render(self, context): class WithNode (line 467) | class WithNode(Node): method __init__ (line 468) | def __init__(self, var, name, nodelist, extra_context=None): method __repr__ (line 476) | def __repr__(self): method render (line 479) | def render(self, context): function autoescape (line 488) | def autoescape(parser, token): function comment (line 503) | def comment(parser, token): function cycle (line 511) | def cycle(parser, token): function csrf_token (line 601) | def csrf_token(parser, token): function debug (line 605) | def debug(parser, token): function do_filter (line 619) | def do_filter(parser, token): function firstof (line 646) | def firstof(parser, token): function do_for (line 686) | def do_for(parser, token): function do_ifequal (line 776) | def do_ifequal(parser, token, negate): function ifequal (line 793) | def ifequal(parser, token): function ifnotequal (line 812) | def ifnotequal(parser, token): class TemplateLiteral (line 819) | class TemplateLiteral(Literal): method __init__ (line 820) | def __init__(self, value, text): method display (line 824) | def display(self): method eval (line 827) | def eval(self, context): class TemplateIfParser (line 830) | class TemplateIfParser(IfParser): method __init__ (line 833) | def __init__(self, parser, *args, **kwargs): method create_var (line 837) | def create_var(self, value): function do_if (line 841) | def do_if(parser, token): function ifchanged (line 928) | def ifchanged(parser, token): function ssi (line 969) | def ssi(parser, token): function load (line 999) | def load(parser, token): function now (line 1048) | def now(parser, token): function regroup (line 1066) | def regroup(parser, token): function spaceless (line 1135) | def spaceless(parser, token): function templatetag (line 1165) | def templatetag(parser, token): function url (line 1198) | def url(parser, token): function verbatim (line 1293) | def verbatim(parser, token): function widthratio (line 1315) | def widthratio(parser, token): function do_with (line 1338) | def do_with(parser, token): FILE: Django-1.5.1/django/template/loader.py class BaseLoader (line 36) | class BaseLoader(object): method __init__ (line 39) | def __init__(self, *args, **kwargs): method __call__ (line 42) | def __call__(self, template_name, template_dirs=None): method load_template (line 45) | def load_template(self, template_name, template_dirs=None): method load_template_source (line 58) | def load_template_source(self, template_name, template_dirs=None): method reset (line 66) | def reset(self): class LoaderOrigin (line 74) | class LoaderOrigin(Origin): method __init__ (line 75) | def __init__(self, display_name, loader, name, dirs): method reload (line 79) | def reload(self): function make_origin (line 82) | def make_origin(display_name, loader, name, dirs): function find_template_loader (line 88) | def find_template_loader(loader): function find_template (line 121) | def find_template(name, dirs=None): function get_template (line 141) | def get_template(template_name): function get_template_from_string (line 152) | def get_template_from_string(source, origin=None, name=None): function render_to_string (line 159) | def render_to_string(template_name, dictionary=None, context_instance=No... function select_template (line 181) | def select_template(template_name_list): FILE: Django-1.5.1/django/template/loader_tags.py class ExtendsError (line 12) | class ExtendsError(Exception): class BlockContext (line 15) | class BlockContext(object): method __init__ (line 16) | def __init__(self): method add_blocks (line 20) | def add_blocks(self, blocks): method pop (line 27) | def pop(self, name): method push (line 33) | def push(self, name, block): method get_block (line 36) | def get_block(self, name): class BlockNode (line 42) | class BlockNode(Node): method __init__ (line 43) | def __init__(self, name, nodelist, parent=None): method __repr__ (line 46) | def __repr__(self): method render (line 49) | def render(self, context): method super (line 69) | def super(self): class ExtendsNode (line 76) | class ExtendsNode(Node): method __init__ (line 79) | def __init__(self, nodelist, parent_name, template_dirs=None): method __repr__ (line 85) | def __repr__(self): method get_parent (line 88) | def get_parent(self, context): method render (line 101) | def render(self, context): class BaseIncludeNode (line 126) | class BaseIncludeNode(Node): method __init__ (line 127) | def __init__(self, *args, **kwargs): method render_template (line 132) | def render_template(self, template, context): class ConstantIncludeNode (line 142) | class ConstantIncludeNode(BaseIncludeNode): method __init__ (line 143) | def __init__(self, template_path, *args, **kwargs): method render (line 153) | def render(self, context): class IncludeNode (line 158) | class IncludeNode(BaseIncludeNode): method __init__ (line 159) | def __init__(self, template_name, *args, **kwargs): method render (line 163) | def render(self, context): function do_block (line 174) | def do_block(parser, token): function do_extends (line 201) | def do_extends(parser, token): function do_include (line 221) | def do_include(parser, token): FILE: Django-1.5.1/django/template/loaders/app_directories.py class Loader (line 35) | class Loader(BaseLoader): method get_template_sources (line 38) | def get_template_sources(self, template_name, template_dirs=None): method load_template_source (line 56) | def load_template_source(self, template_name, template_dirs=None): FILE: Django-1.5.1/django/template/loaders/cached.py class Loader (line 11) | class Loader(BaseLoader): method __init__ (line 14) | def __init__(self, loaders): method loaders (line 20) | def loaders(self): method find_template (line 31) | def find_template(self, name, dirs=None): method load_template (line 40) | def load_template(self, template_name, template_dirs=None): method reset (line 60) | def reset(self): FILE: Django-1.5.1/django/template/loaders/eggs.py class Loader (line 14) | class Loader(BaseLoader): method load_template_source (line 17) | def load_template_source(self, template_name, template_dirs=None): FILE: Django-1.5.1/django/template/loaders/filesystem.py class Loader (line 10) | class Loader(BaseLoader): method get_template_sources (line 13) | def get_template_sources(self, template_name, template_dirs=None): method load_template_source (line 33) | def load_template_source(self, template_name, template_dirs=None): FILE: Django-1.5.1/django/template/response.py class ContentNotRenderedError (line 6) | class ContentNotRenderedError(Exception): class SimpleTemplateResponse (line 10) | class SimpleTemplateResponse(HttpResponse): method __init__ (line 13) | def __init__(self, template, context=None, content_type=None, status=N... method __getstate__ (line 36) | def __getstate__(self): method resolve_template (line 53) | def resolve_template(self, template): method resolve_context (line 62) | def resolve_context(self, context): method rendered_content (line 72) | def rendered_content(self): method add_post_render_callback (line 85) | def add_post_render_callback(self, callback): method render (line 96) | def render(self): method is_rendered (line 113) | def is_rendered(self): method __iter__ (line 116) | def __iter__(self): method content (line 123) | def content(self): method content (line 130) | def content(self, value): class TemplateResponse (line 137) | class TemplateResponse(SimpleTemplateResponse): method __init__ (line 141) | def __init__(self, request, template, context=None, content_type=None, method resolve_context (line 153) | def resolve_context(self, context): FILE: Django-1.5.1/django/template/smartif.py class TokenBase (line 11) | class TokenBase(object): method nud (line 20) | def nud(self, parser): method led (line 26) | def led(self, left, parser): method display (line 32) | def display(self): method __repr__ (line 38) | def __repr__(self): function infix (line 43) | def infix(bp, func): function prefix (line 68) | def prefix(bp, func): class Literal (line 115) | class Literal(TokenBase): method __init__ (line 125) | def __init__(self, value): method display (line 128) | def display(self): method nud (line 131) | def nud(self, parser): method eval (line 134) | def eval(self, context): method __repr__ (line 137) | def __repr__(self): class EndToken (line 141) | class EndToken(TokenBase): method nud (line 144) | def nud(self, parser): class IfParser (line 150) | class IfParser(object): method __init__ (line 153) | def __init__(self, tokens): method translate_token (line 170) | def translate_token(self, token): method next_token (line 178) | def next_token(self): method parse (line 186) | def parse(self): method expression (line 194) | def expression(self, rbp=0): method create_var (line 204) | def create_var(self, value): FILE: Django-1.5.1/django/templatetags/cache.py class CacheNode (line 12) | class CacheNode(Node): method __init__ (line 13) | def __init__(self, nodelist, expire_time_var, fragment_name, vary_on): method render (line 19) | def render(self, context): function do_cache (line 39) | def do_cache(parser, token): FILE: Django-1.5.1/django/templatetags/future.py function ssi (line 7) | def ssi(parser, token): function url (line 12) | def url(parser, token): FILE: Django-1.5.1/django/templatetags/i18n.py class GetAvailableLanguagesNode (line 15) | class GetAvailableLanguagesNode(Node): method __init__ (line 16) | def __init__(self, variable): method render (line 19) | def render(self, context): class GetLanguageInfoNode (line 25) | class GetLanguageInfoNode(Node): method __init__ (line 26) | def __init__(self, lang_code, variable): method render (line 30) | def render(self, context): class GetLanguageInfoListNode (line 36) | class GetLanguageInfoListNode(Node): method __init__ (line 37) | def __init__(self, languages, variable): method get_language_info (line 41) | def get_language_info(self, language): method render (line 49) | def render(self, context): class GetCurrentLanguageNode (line 55) | class GetCurrentLanguageNode(Node): method __init__ (line 56) | def __init__(self, variable): method render (line 59) | def render(self, context): class GetCurrentLanguageBidiNode (line 64) | class GetCurrentLanguageBidiNode(Node): method __init__ (line 65) | def __init__(self, variable): method render (line 68) | def render(self, context): class TranslateNode (line 73) | class TranslateNode(Node): method __init__ (line 74) | def __init__(self, filter_expression, noop, asvar=None, method render (line 84) | def render(self, context): class BlockTranslateNode (line 98) | class BlockTranslateNode(Node): method __init__ (line 99) | def __init__(self, extra_context, singular, plural=None, countervar=None, method render_token_list (line 108) | def render_token_list(self, tokens): method render (line 119) | def render(self, context, nested=False): class LanguageNode (line 160) | class LanguageNode(Node): method __init__ (line 161) | def __init__(self, nodelist, language): method render (line 165) | def render(self, context): function do_get_available_languages (line 172) | def do_get_available_languages(parser, token): function do_get_language_info (line 194) | def do_get_language_info(parser, token): function do_get_language_info_list (line 213) | def do_get_language_info_list(parser, token): function language_name (line 236) | def language_name(lang_code): function language_name_local (line 240) | def language_name_local(lang_code): function language_bidi (line 244) | def language_bidi(lang_code): function do_get_current_language (line 248) | def do_get_current_language(parser, token): function do_get_current_language_bidi (line 266) | def do_get_current_language_bidi(parser, token): function do_translate (line 284) | def do_translate(parser, token): function do_block_translate (line 363) | def do_block_translate(parser, token): function language (line 462) | def language(parser, token): FILE: Django-1.5.1/django/templatetags/l10n.py function localize (line 9) | def localize(value): function unlocalize (line 17) | def unlocalize(value): class LocalizeNode (line 24) | class LocalizeNode(Node): method __init__ (line 25) | def __init__(self, nodelist, use_l10n): method __repr__ (line 29) | def __repr__(self): method render (line 32) | def render(self, context): function localize_tag (line 40) | def localize_tag(parser, token): FILE: Django-1.5.1/django/templatetags/static.py class PrefixNode (line 13) | class PrefixNode(template.Node): method __repr__ (line 15) | def __repr__(self): method __init__ (line 18) | def __init__(self, varname=None, name=None): method handle_token (line 26) | def handle_token(cls, parser, token, name): method handle_simple (line 41) | def handle_simple(cls, name): method render (line 50) | def render(self, context): function get_static_prefix (line 59) | def get_static_prefix(parser, token): function get_media_prefix (line 78) | def get_media_prefix(parser, token): class StaticNode (line 96) | class StaticNode(Node): method __init__ (line 97) | def __init__(self, varname=None, path=None): method url (line 104) | def url(self, context): method render (line 108) | def render(self, context): method handle_simple (line 116) | def handle_simple(cls, path): method handle_token (line 120) | def handle_token(cls, parser, token): function do_static (line 141) | def do_static(parser, token): function static (line 160) | def static(path): FILE: Django-1.5.1/django/templatetags/tz.py class datetimeobject (line 18) | class datetimeobject(datetime, object): function localtime (line 25) | def localtime(value): function utc (line 35) | def utc(value): function do_timezone (line 43) | def do_timezone(value, arg): class LocalTimeNode (line 89) | class LocalTimeNode(Node): method __init__ (line 93) | def __init__(self, nodelist, use_tz): method render (line 97) | def render(self, context): class TimezoneNode (line 105) | class TimezoneNode(Node): method __init__ (line 109) | def __init__(self, nodelist, tz): method render (line 113) | def render(self, context): class GetCurrentTimezoneNode (line 119) | class GetCurrentTimezoneNode(Node): method __init__ (line 123) | def __init__(self, variable): method render (line 126) | def render(self, context): function localtime_tag (line 132) | def localtime_tag(parser, token): function timezone_tag (line 156) | def timezone_tag(parser, token): function get_current_timezone_tag (line 182) | def get_current_timezone_tag(parser, token): FILE: Django-1.5.1/django/test/_doctest.py function patch_isclass (line 112) | def patch_isclass(isclass): function register_optionflag (line 140) | def register_optionflag(name): function _extract_future_flags (line 190) | def _extract_future_flags(globs): function _normalize_module (line 202) | def _normalize_module(module, depth=2): function _load_testfile (line 221) | def _load_testfile(filename, package, module_relative): function _indent (line 234) | def _indent(s, indent=4): function _exception_traceback (line 242) | def _exception_traceback(exc_info): class _SpoofOut (line 254) | class _SpoofOut(StringIO): method getvalue (line 255) | def getvalue(self): method truncate (line 268) | def truncate(self, size=None): function _ellipsis_match (line 274) | def _ellipsis_match(want, got): function _comment_line (line 323) | def _comment_line(line): class _OutputRedirectingPdb (line 331) | class _OutputRedirectingPdb(pdb.Pdb): method __init__ (line 337) | def __init__(self, out): method set_trace (line 342) | def set_trace(self, frame=None): method set_continue (line 348) | def set_continue(self): method trace_dispatch (line 354) | def trace_dispatch(self, *args): function _module_relative_path (line 365) | def _module_relative_path(module, path): class Example (line 401) | class Example: method __init__ (line 436) | def __init__(self, source, want, exc_msg=None, lineno=0, indent=0, class DocTest (line 454) | class DocTest: method __init__ (line 478) | def __init__(self, examples, globs, name, filename, lineno, docstring): method __repr__ (line 492) | def __repr__(self): method _cmpkey (line 504) | def _cmpkey(self): method __cmp__ (line 506) | def __cmp__(self, other): method __lt__ (line 511) | def __lt__(self, other): method __le__ (line 514) | def __le__(self, other): method __gt__ (line 517) | def __gt__(self, other): method __ge__ (line 520) | def __ge__(self, other): method __eq__ (line 523) | def __eq__(self, other): method __ne__ (line 526) | def __ne__(self, other): class DocTestParser (line 534) | class DocTestParser: method parse (line 582) | def parse(self, string, name=''): method get_doctest (line 621) | def get_doctest(self, string, globs, name, filename, lineno): method get_examples (line 633) | def get_examples(self, string, name=''): method _parse_example (line 647) | def _parse_example(self, m, name, lineno): method _find_options (line 701) | def _find_options(self, source, name, lineno): method _min_indent (line 731) | def _min_indent(self, s): method _check_prompt_blank (line 739) | def _check_prompt_blank(self, lines, indent, name, lineno): method _check_prefix (line 753) | def _check_prefix(self, lines, prefix, name, lineno): class DocTestFinder (line 769) | class DocTestFinder: method __init__ (line 778) | def __init__(self, verbose=False, parser=DocTestParser(), method find (line 800) | def find(self, obj, name=None, module=None, globs=None, extraglobs=None): method _from_module (line 878) | def _from_module(self, module, object): method _find (line 898) | def _find(self, tests, obj, name, module, source_lines, globs, seen): method _get_test (line 961) | def _get_test(self, obj, name, module, globs, source_lines): method _find_lineno (line 998) | def _find_lineno(self, obj, source_lines): class DocTestRunner (line 1050) | class DocTestRunner: method __init__ (line 1109) | def __init__(self, checker=None, verbose=None, optionflags=0): method report_start (line 1145) | def report_start(self, out, test, example): method report_success (line 1158) | def report_success(self, out, test, example, got): method report_failure (line 1166) | def report_failure(self, out, test, example, got): method report_unexpected_exception (line 1173) | def report_unexpected_exception(self, out, test, example, exc_info): method _failure_header (line 1180) | def _failure_header(self, test, example): method __run (line 1200) | def __run(self, test, compileflags, out): method __record_outcome (line 1391) | def __record_outcome(self, test, f, t): method __patched_linecache_getlines (line 1404) | def __patched_linecache_getlines(self, filename, module_globals=None): method run (line 1412) | def run(self, test, compileflags=None, out=None, clear_globs=True): method summarize (line 1469) | def summarize(self, verbose=None): method merge (line 1526) | def merge(self, other): class OutputChecker (line 1537) | class OutputChecker: method check_output (line 1545) | def check_output(self, want, got, optionflags): method _do_a_fancy_diff (line 1599) | def _do_a_fancy_diff(self, want, got, optionflags): method output_difference (line 1622) | def output_difference(self, example, got, optionflags): class DocTestFailure (line 1670) | class DocTestFailure(Exception): method __init__ (line 1681) | def __init__(self, test, example, got): method __str__ (line 1686) | def __str__(self): class UnexpectedException (line 1689) | class UnexpectedException(Exception): method __init__ (line 1700) | def __init__(self, test, example, exc_info): method __str__ (line 1705) | def __str__(self): class DebugRunner (line 1708) | class DebugRunner(DocTestRunner): method run (line 1799) | def run(self, test, compileflags=None, out=None, clear_globs=True): method report_unexpected_exception (line 1805) | def report_unexpected_exception(self, out, test, example, exc_info): method report_failure (line 1808) | def report_failure(self, out, test, example, got): function testmod (line 1820) | def testmod(m=None, name=None, globs=None, verbose=None, function testfile (line 1924) | def testfile(filename, module_relative=True, name=None, package=None, function run_docstring_examples (line 2047) | def run_docstring_examples(f, globs, verbose=False, name="NoName", class Tester (line 2076) | class Tester: method __init__ (line 2077) | def __init__(self, mod=None, globs=None, verbose=None, optionflags=0): method runstring (line 2097) | def runstring(self, s, name): method rundoc (line 2106) | def rundoc(self, object, name=None, module=None): method rundict (line 2115) | def rundict(self, d, name, module=None): method run__test__ (line 2123) | def run__test__(self, d, name): method summarize (line 2129) | def summarize(self, verbose=None): method merge (line 2132) | def merge(self, other): function set_unittest_reportflags (line 2141) | def set_unittest_reportflags(flags): class DocTestCase (line 2177) | class DocTestCase(unittest.TestCase): method __init__ (line 2179) | def __init__(self, test, optionflags=0, setUp=None, tearDown=None, method setUp (line 2190) | def setUp(self): method tearDown (line 2196) | def tearDown(self): method runTest (line 2204) | def runTest(self): method format_failure (line 2228) | def format_failure(self, err): method debug (line 2240) | def debug(self): method id (line 2312) | def id(self): method __repr__ (line 2315) | def __repr__(self): method shortDescription (line 2321) | def shortDescription(self): function DocTestSuite (line 2324) | def DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=N... class DocFileCase (line 2387) | class DocFileCase(DocTestCase): method id (line 2389) | def id(self): method __repr__ (line 2392) | def __repr__(self): method format_failure (line 2396) | def format_failure(self, err): function DocFileTest (line 2401) | def DocFileTest(path, module_relative=True, package=None, function DocFileSuite (line 2430) | def DocFileSuite(*paths, **kw): function script_from_examples (line 2503) | def script_from_examples(s): function testsource (line 2583) | def testsource(module, name): function debug_src (line 2599) | def debug_src(src, pm=False, globs=None): function debug_script (line 2604) | def debug_script(src, pm=False, globs=None): function debug (line 2635) | def debug(module, name, pm=False): class _TestClass (line 2649) | class _TestClass: method __init__ (line 2663) | def __init__(self, val): method square (line 2673) | def square(self): method get (line 2683) | def get(self): function _test (line 2743) | def _test(): FILE: Django-1.5.1/django/test/client.py class FakePayload (line 40) | class FakePayload(object): method __init__ (line 47) | def __init__(self, content=None): method __len__ (line 54) | def __len__(self): method read (line 57) | def read(self, num_bytes=None): method write (line 68) | def write(self, content): function closing_iterator_wrapper (line 76) | def closing_iterator_wrapper(iterable, close): class ClientHandler (line 86) | class ClientHandler(BaseHandler): method __init__ (line 92) | def __init__(self, enforce_csrf_checks=True, *args, **kwargs): method __call__ (line 96) | def __call__(self, environ): function store_rendered_templates (line 124) | def store_rendered_templates(store, signal, sender, template, context, *... function encode_multipart (line 134) | def encode_multipart(boundary, data): function encode_file (line 179) | def encode_file(boundary, key, file): class RequestFactory (line 194) | class RequestFactory(object): method __init__ (line 207) | def __init__(self, **defaults): method _base_environ (line 212) | def _base_environ(self, **request): method request (line 241) | def request(self, **request): method _encode_data (line 245) | def _encode_data(self, data, content_type, ): method _get_path (line 257) | def _get_path(self, parsed): method get (line 268) | def get(self, path, data={}, **extra): method post (line 281) | def post(self, path, data={}, content_type=MULTIPART_CONTENT, method head (line 299) | def head(self, path, data={}, **extra): method options (line 312) | def options(self, path, data='', content_type='application/octet-stream', method put (line 317) | def put(self, path, data='', content_type='application/octet-stream', method delete (line 322) | def delete(self, path, data='', content_type='application/octet-stream', method generic (line 327) | def generic(self, method, path, class Client (line 345) | class Client(RequestFactory): method __init__ (line 363) | def __init__(self, enforce_csrf_checks=False, **defaults): method store_exc_info (line 368) | def store_exc_info(self, **kwargs): method _session (line 374) | def _session(self): method request (line 387) | def request(self, **request): method get (line 449) | def get(self, path, data={}, follow=False, **extra): method post (line 458) | def post(self, path, data={}, content_type=MULTIPART_CONTENT, method head (line 468) | def head(self, path, data={}, follow=False, **extra): method options (line 477) | def options(self, path, data='', content_type='application/octet-stream', method put (line 488) | def put(self, path, data='', content_type='application/octet-stream', method delete (line 499) | def delete(self, path, data='', content_type='application/octet-stream', method login (line 510) | def login(self, **credentials): method logout (line 550) | def logout(self): method _handle_redirects (line 562) | def _handle_redirects(self, response, **extra): FILE: Django-1.5.1/django/test/html.py function normalize_whitespace (line 17) | def normalize_whitespace(string): class Element (line 22) | class Element(object): method __init__ (line 23) | def __init__(self, name, attributes): method append (line 28) | def append(self, element): method finalize (line 47) | def finalize(self): method __eq__ (line 64) | def __eq__(self, element): method __hash__ (line 88) | def __hash__(self): method __ne__ (line 91) | def __ne__(self, element): method _count (line 94) | def _count(self, element, count=True): method __contains__ (line 114) | def __contains__(self, element): method count (line 117) | def count(self, element): method __getitem__ (line 120) | def __getitem__(self, key): method __str__ (line 123) | def __str__(self): method __repr__ (line 138) | def __repr__(self): class RootElement (line 143) | class RootElement(Element): method __init__ (line 144) | def __init__(self): method __str__ (line 147) | def __str__(self): class Parser (line 151) | class Parser(HTMLParser): method __init__ (line 155) | def __init__(self): method error (line 161) | def error(self, msg): method format_position (line 164) | def format_position(self, position=None, element=None): method current (line 174) | def current(self): method handle_startendtag (line 180) | def handle_startendtag(self, tag, attrs): method handle_starttag (line 185) | def handle_starttag(self, tag, attrs): method handle_endtag (line 200) | def handle_endtag(self, tag): method handle_data (line 211) | def handle_data(self, data): method handle_charref (line 214) | def handle_charref(self, name): method handle_entityref (line 217) | def handle_entityref(self, name): function parse_html (line 221) | def parse_html(html): FILE: Django-1.5.1/django/test/signals.py function update_connections_time_zone (line 19) | def update_connections_time_zone(**kwargs): function clear_context_processors_cache (line 49) | def clear_context_processors_cache(**kwargs): function clear_template_loaders_cache (line 56) | def clear_template_loaders_cache(**kwargs): function clear_serializers_cache (line 63) | def clear_serializers_cache(**kwargs): function language_changed (line 70) | def language_changed(**kwargs): function file_storage_changed (line 78) | def file_storage_changed(**kwargs): FILE: Django-1.5.1/django/test/simple.py function get_tests (line 21) | def get_tests(app_module): function build_suite (line 45) | def build_suite(app_module): function build_test (line 87) | def build_test(label): function partition_suite (line 156) | def partition_suite(suite, classes, bins): function reorder_suite (line 178) | def reorder_suite(suite, classes): function dependency_ordered (line 195) | def dependency_ordered(test_databases, dependencies): class DjangoTestSuiteRunner (line 237) | class DjangoTestSuiteRunner(object): method __init__ (line 238) | def __init__(self, verbosity=1, interactive=True, failfast=True, **kwa... method setup_test_environment (line 243) | def setup_test_environment(self, **kwargs): method build_suite (line 248) | def build_suite(self, test_labels, extra_tests=None, **kwargs): method setup_databases (line 268) | def setup_databases(self, **kwargs): method run_suite (line 326) | def run_suite(self, suite, **kwargs): method teardown_databases (line 330) | def teardown_databases(self, old_config, **kwargs): method teardown_test_environment (line 339) | def teardown_test_environment(self, **kwargs): method suite_result (line 343) | def suite_result(self, suite, result, **kwargs): method run_tests (line 346) | def run_tests(self, test_labels, extra_tests=None, **kwargs): FILE: Django-1.5.1/django/test/testcases.py function to_list (line 57) | def to_list(value): function nop (line 75) | def nop(*args, **kwargs): function disable_transaction_methods (line 78) | def disable_transaction_methods(): function restore_transaction_methods (line 86) | def restore_transaction_methods(): function assert_and_parse_html (line 95) | def assert_and_parse_html(self, html, user_msg, msg): class OutputChecker (line 104) | class OutputChecker(doctest.OutputChecker): method check_output (line 105) | def check_output(self, want, got, optionflags): method check_output_default (line 119) | def check_output_default(self, want, got, optionflags): method check_output_numeric (line 126) | def check_output_numeric(self, want, got, optionflags): method check_output_xml (line 138) | def check_output_xml(self, want, got, optionsflags): method check_output_json (line 144) | def check_output_json(self, want, got, optionsflags): class DocTestRunner (line 157) | class DocTestRunner(doctest.DocTestRunner): method __init__ (line 158) | def __init__(self, *args, **kwargs): method report_unexpected_exception (line 162) | def report_unexpected_exception(self, out, test, example, exc_info): class _AssertNumQueriesContext (line 171) | class _AssertNumQueriesContext(object): method __init__ (line 172) | def __init__(self, test_case, num, connection): method __enter__ (line 177) | def __enter__(self): method __exit__ (line 184) | def __exit__(self, exc_type, exc_value, traceback): class _AssertTemplateUsedContext (line 200) | class _AssertTemplateUsedContext(object): method __init__ (line 201) | def __init__(self, test_case, template_name): method on_template_render (line 208) | def on_template_render(self, sender, signal, template, context, **kwar... method test (line 213) | def test(self): method message (line 216) | def message(self): method __enter__ (line 219) | def __enter__(self): method __exit__ (line 223) | def __exit__(self, exc_type, exc_value, traceback): class _AssertTemplateNotUsedContext (line 238) | class _AssertTemplateNotUsedContext(_AssertTemplateUsedContext): method test (line 239) | def test(self): method message (line 242) | def message(self): class SimpleTestCase (line 246) | class SimpleTestCase(ut2.TestCase): method __call__ (line 247) | def __call__(self, result=None): method _pre_setup (line 275) | def _pre_setup(self): method _post_teardown (line 278) | def _post_teardown(self): method save_warnings_state (line 281) | def save_warnings_state(self): method restore_warnings_state (line 287) | def restore_warnings_state(self): method settings (line 294) | def settings(self, **kwargs): method assertRaisesMessage (line 301) | def assertRaisesMessage(self, expected_exception, expected_message, method assertFieldOutput (line 317) | def assertFieldOutput(self, fieldclass, valid, invalid, field_args=None, method assertHTMLEqual (line 367) | def assertHTMLEqual(self, html1, html2, msg=None): method assertHTMLNotEqual (line 387) | def assertHTMLNotEqual(self, html1, html2, msg=None): method assertInHTML (line 399) | def assertInHTML(self, needle, haystack, count = None, msg_prefix=''): method assertJSONEqual (line 413) | def assertJSONEqual(self, raw, expected_data, msg=None): method assertXMLEqual (line 425) | def assertXMLEqual(self, xml1, xml2, msg=None): method assertXMLNotEqual (line 441) | def assertXMLNotEqual(self, xml1, xml2, msg=None): class TransactionTestCase (line 458) | class TransactionTestCase(SimpleTestCase): method _pre_setup (line 468) | def _pre_setup(self): method _databases_names (line 483) | def _databases_names(self, include_mirrors=True): method _reset_sequences (line 492) | def _reset_sequences(self, db_name): method _fixture_setup (line 508) | def _fixture_setup(self): method _urlconf_setup (line 520) | def _urlconf_setup(self): method _post_teardown (line 526) | def _post_teardown(self): method _fixture_teardown (line 545) | def _fixture_teardown(self): method _urlconf_teardown (line 555) | def _urlconf_teardown(self): method assertRedirects (line 560) | def assertRedirects(self, response, expected_url, status_code=302, method assertContains (line 619) | def assertContains(self, response, text, count=None, status_code=200, method assertNotContains (line 661) | def assertNotContains(self, response, text, status_code=200, method assertFormError (line 691) | def assertFormError(self, response, form, field, errors, msg_prefix=''): method assertTemplateUsed (line 742) | def assertTemplateUsed(self, response=None, template_name=None, msg_pr... method assertTemplateNotUsed (line 769) | def assertTemplateNotUsed(self, response=None, template_name=None, msg... method assertQuerysetEqual (line 793) | def assertQuerysetEqual(self, qs, values, transform=repr, ordered=True): method assertNumQueries (line 799) | def assertNumQueries(self, num, func=None, *args, **kwargs): function connections_support_transactions (line 811) | def connections_support_transactions(): class TestCase (line 819) | class TestCase(TransactionTestCase): method _fixture_setup (line 828) | def _fixture_setup(self): method _fixture_teardown (line 852) | def _fixture_teardown(self): function _deferredSkip (line 862) | def _deferredSkip(condition, reason): function skipIfDBFeature (line 879) | def skipIfDBFeature(feature): function skipUnlessDBFeature (line 887) | def skipUnlessDBFeature(feature): class QuietWSGIRequestHandler (line 895) | class QuietWSGIRequestHandler(WSGIRequestHandler): method log_message (line 902) | def log_message(*args): class _ImprovedEvent (line 911) | class _ImprovedEvent(threading._Event): method wait (line 920) | def wait(self, timeout=None): class StoppableWSGIServer (line 930) | class StoppableWSGIServer(WSGIServer): method __init__ (line 943) | def __init__(self, *args, **kwargs): method serve_forever (line 948) | def serve_forever(self, poll_interval=0.5): method shutdown (line 962) | def shutdown(self): method handle_request (line 976) | def handle_request(self): method _handle_request_noblock (line 984) | def _handle_request_noblock(self): class _MediaFilesHandler (line 1004) | class _MediaFilesHandler(StaticFilesHandler): method get_base_dir (line 1010) | def get_base_dir(self): method get_base_url (line 1013) | def get_base_url(self): method serve (line 1016) | def serve(self, request): class LiveServerThread (line 1021) | class LiveServerThread(threading.Thread): method __init__ (line 1026) | def __init__(self, host, possible_ports, connections_override=None): method run (line 1035) | def run(self): method join (line 1080) | def join(self, timeout=None): class LiveServerTestCase (line 1088) | class LiveServerTestCase(TransactionTestCase): method live_server_url (line 1101) | def live_server_url(self): method setUpClass (line 1106) | def setUpClass(cls): method tearDownClass (line 1154) | def tearDownClass(cls): FILE: Django-1.5.1/django/test/utils.py class Approximate (line 24) | class Approximate(object): method __init__ (line 25) | def __init__(self, val, places=7): method __repr__ (line 29) | def __repr__(self): method __eq__ (line 32) | def __eq__(self, other): class ContextList (line 38) | class ContextList(list): method __getitem__ (line 42) | def __getitem__(self, key): method __contains__ (line 51) | def __contains__(self, key): function instrumented_test_render (line 59) | def instrumented_test_render(self, context): function setup_test_environment (line 68) | def setup_test_environment(): function teardown_test_environment (line 89) | def teardown_test_environment(): function get_warnings_state (line 108) | def get_warnings_state(): function restore_warnings_state (line 118) | def restore_warnings_state(state): function get_runner (line 126) | def get_runner(settings, test_runner_class=None): function setup_test_template_loader (line 141) | def setup_test_template_loader(templates_dict, use_cached_loader=False): function restore_template_loaders (line 170) | def restore_template_loaders(): class override_settings (line 179) | class override_settings(object): method __init__ (line 186) | def __init__(self, **kwargs): method __enter__ (line 190) | def __enter__(self): method __exit__ (line 193) | def __exit__(self, exc_type, exc_value, traceback): method __call__ (line 196) | def __call__(self, test_func): method enable (line 223) | def enable(self): method disable (line 232) | def disable(self): function compare_xml (line 240) | def compare_xml(want, got): function strip_quotes (line 305) | def strip_quotes(want, got): function str_prefix (line 335) | def str_prefix(s): FILE: Django-1.5.1/django/utils/2to3_fixes/fix_unicode.py class FixUnicode (line 14) | class FixUnicode(fixer_base.BaseFix): method transform (line 25) | def transform(self, node, results): FILE: Django-1.5.1/django/utils/_os.py class WindowsError (line 12) | class WindowsError(Exception): function abspathu (line 27) | def abspathu(path): function upath (line 37) | def upath(path): function npath (line 45) | def npath(path): function safe_join (line 54) | def safe_join(base, *paths): function rmtree_errorhandler (line 81) | def rmtree_errorhandler(func, path, exc_info): FILE: Django-1.5.1/django/utils/archive.py class ArchiveException (line 32) | class ArchiveException(Exception): class UnrecognizedArchiveFormat (line 38) | class UnrecognizedArchiveFormat(ArchiveException): function extract (line 44) | def extract(path, to_path=''): class Archive (line 53) | class Archive(object): method __init__ (line 57) | def __init__(self, file): method _archive_cls (line 61) | def _archive_cls(file): method __enter__ (line 81) | def __enter__(self): method __exit__ (line 84) | def __exit__(self, exc_type, exc_value, traceback): method extract (line 87) | def extract(self, to_path=''): method list (line 90) | def list(self): method close (line 93) | def close(self): class BaseArchive (line 97) | class BaseArchive(object): method split_leading_dir (line 101) | def split_leading_dir(self, path): method has_leading_dir (line 112) | def has_leading_dir(self, paths): method extract (line 128) | def extract(self): method list (line 131) | def list(self): class TarArchive (line 135) | class TarArchive(BaseArchive): method __init__ (line 137) | def __init__(self, file): method list (line 140) | def list(self, *args, **kwargs): method extract (line 143) | def extract(self, to_path): method close (line 174) | def close(self): class ZipArchive (line 178) | class ZipArchive(BaseArchive): method __init__ (line 180) | def __init__(self, file): method list (line 183) | def list(self, *args, **kwargs): method extract (line 186) | def extract(self, to_path): method close (line 205) | def close(self): FILE: Django-1.5.1/django/utils/autoreload.py function code_changed (line 55) | def code_changed(): function ensure_echo_on (line 77) | def ensure_echo_on(): function reloader_thread (line 92) | def reloader_thread(): function restart_with_reloader (line 99) | def restart_with_reloader(): function python_reloader (line 110) | def python_reloader(main_func, args, kwargs): function jython_reloader (line 127) | def jython_reloader(main_func, args, kwargs): function main (line 136) | def main(main_func, args=None, kwargs=None): FILE: Django-1.5.1/django/utils/baseconv.py class BaseConverter (line 47) | class BaseConverter(object): method __init__ (line 50) | def __init__(self, digits, sign='-'): method __repr__ (line 56) | def __repr__(self): method encode (line 59) | def encode(self, i): method decode (line 65) | def decode(self, s): method convert (line 71) | def convert(self, number, from_digits, to_digits, sign): FILE: Django-1.5.1/django/utils/cache.py function patch_cache_control (line 34) | def patch_cache_control(response, **kwargs): function get_max_age (line 82) | def get_max_age(response): function _set_response_etag (line 97) | def _set_response_etag(response): function patch_response_headers (line 102) | def patch_response_headers(response, cache_timeout=None): function add_never_cache_headers (line 127) | def add_never_cache_headers(response): function patch_vary_headers (line 133) | def patch_vary_headers(response, newheaders): function has_vary_header (line 152) | def has_vary_header(response, header_query): function _i18n_cache_key_suffix (line 162) | def _i18n_cache_key_suffix(request, cache_key): function _generate_cache_key (line 178) | def _generate_cache_key(request, method, headerlist, key_prefix): function _generate_cache_header_key (line 190) | def _generate_cache_header_key(key_prefix, request): function get_cache_key (line 197) | def get_cache_key(request, key_prefix=None, method='GET', cache=None): function learn_cache_key (line 218) | def learn_cache_key(request, response, cache_timeout=None, key_prefix=No... function _to_tuple (line 250) | def _to_tuple(s): FILE: Django-1.5.1/django/utils/checksums.py function luhn (line 11) | def luhn(candidate): FILE: Django-1.5.1/django/utils/crypto.py function salted_hmac (line 35) | def salted_hmac(key_salt, value, secret=None): function get_random_string (line 57) | def get_random_string(length=12, function constant_time_compare (line 83) | def constant_time_compare(val1, val2): function _bin_to_long (line 101) | def _bin_to_long(x): function _long_to_bin (line 110) | def _long_to_bin(x, hex_format_string): function _fast_hmac (line 118) | def _fast_hmac(key, msg, digest): function pbkdf2 (line 135) | def pbkdf2(password, salt, iterations, dklen=0, digest=None): FILE: Django-1.5.1/django/utils/daemonize.py function become_daemon (line 5) | def become_daemon(our_home_dir='.', out_log='/dev/null', function become_daemon (line 36) | def become_daemon(our_home_dir='.', out_log=None, err_log=None, umask=0o... class NullDevice (line 55) | class NullDevice: method write (line 57) | def write(self, s): FILE: Django-1.5.1/django/utils/datastructures.py class MergeDict (line 6) | class MergeDict(object): method __init__ (line 14) | def __init__(self, *dicts): method __getitem__ (line 17) | def __getitem__(self, key): method __copy__ (line 25) | def __copy__(self): method get (line 28) | def get(self, key, default=None): method getlist (line 35) | def getlist(self, key): method _iteritems (line 41) | def _iteritems(self): method _iterkeys (line 51) | def _iterkeys(self): method _itervalues (line 55) | def _itervalues(self): method items (line 68) | def items(self): method keys (line 71) | def keys(self): method values (line 74) | def values(self): method has_key (line 77) | def has_key(self, key): method copy (line 87) | def copy(self): method __str__ (line 91) | def __str__(self): method __repr__ (line 101) | def __repr__(self): class SortedDict (line 112) | class SortedDict(dict): method __new__ (line 116) | def __new__(cls, *args, **kwargs): method __init__ (line 121) | def __init__(self, data=None): method __deepcopy__ (line 136) | def __deepcopy__(self, memo): method __copy__ (line 140) | def __copy__(self): method __setitem__ (line 146) | def __setitem__(self, key, value): method __delitem__ (line 151) | def __delitem__(self, key): method __iter__ (line 155) | def __iter__(self): method __reversed__ (line 158) | def __reversed__(self): method pop (line 161) | def pop(self, k, *args): method popitem (line 170) | def popitem(self): method _iteritems (line 175) | def _iteritems(self): method _iterkeys (line 179) | def _iterkeys(self): method _itervalues (line 183) | def _itervalues(self): method items (line 196) | def items(self): method keys (line 199) | def keys(self): method values (line 202) | def values(self): method update (line 205) | def update(self, dict_): method setdefault (line 209) | def setdefault(self, key, default): method value_for_index (line 214) | def value_for_index(self, index): method insert (line 225) | def insert(self, index, key, value): method copy (line 239) | def copy(self): method __repr__ (line 244) | def __repr__(self): method clear (line 251) | def clear(self): class MultiValueDictKeyError (line 255) | class MultiValueDictKeyError(KeyError): class MultiValueDict (line 258) | class MultiValueDict(dict): method __init__ (line 280) | def __init__(self, key_to_list_mapping=()): method __repr__ (line 283) | def __repr__(self): method __getitem__ (line 287) | def __getitem__(self, key): method __setitem__ (line 302) | def __setitem__(self, key, value): method __copy__ (line 305) | def __copy__(self): method __deepcopy__ (line 311) | def __deepcopy__(self, memo=None): method __getstate__ (line 321) | def __getstate__(self): method __setstate__ (line 326) | def __setstate__(self, obj_dict): method get (line 332) | def get(self, key, default=None): method getlist (line 345) | def getlist(self, key, default=None): method setlist (line 357) | def setlist(self, key, list_): method setdefault (line 360) | def setdefault(self, key, default=None): method setlistdefault (line 367) | def setlistdefault(self, key, default_list=None): method appendlist (line 376) | def appendlist(self, key, value): method _iteritems (line 380) | def _iteritems(self): method _iterlists (line 388) | def _iterlists(self): method _itervalues (line 392) | def _itervalues(self): method items (line 406) | def items(self): method lists (line 409) | def lists(self): method values (line 412) | def values(self): method copy (line 415) | def copy(self): method update (line 419) | def update(self, *args, **kwargs): method dict (line 440) | def dict(self): class ImmutableList (line 447) | class ImmutableList(tuple): method __new__ (line 460) | def __new__(cls, *args, **kwargs): method complain (line 470) | def complain(self, *wargs, **kwargs): class DictWrapper (line 491) | class DictWrapper(dict): method __init__ (line 500) | def __init__(self, data, func, prefix): method __getitem__ (line 505) | def __getitem__(self, key): FILE: Django-1.5.1/django/utils/dateformat.py class Formatter (line 30) | class Formatter(object): method format (line 31) | def format(self, formatstr): class TimeFormat (line 40) | class TimeFormat(Formatter): method __init__ (line 41) | def __init__(self, t): method a (line 44) | def a(self): method A (line 50) | def A(self): method B (line 56) | def B(self): method f (line 60) | def f(self): method g (line 71) | def g(self): method G (line 79) | def G(self): method h (line 83) | def h(self): method H (line 87) | def H(self): method i (line 91) | def i(self): method P (line 95) | def P(self): method s (line 108) | def s(self): method u (line 112) | def u(self): class DateFormat (line 117) | class DateFormat(TimeFormat): method __init__ (line 120) | def __init__(self, dt): method b (line 130) | def b(self): method c (line 134) | def c(self): method d (line 141) | def d(self): method D (line 145) | def D(self): method e (line 149) | def e(self): method E (line 160) | def E(self): method F (line 164) | def F(self): method I (line 168) | def I(self): method j (line 175) | def j(self): method l (line 179) | def l(self): method L (line 183) | def L(self): method m (line 187) | def m(self): method M (line 191) | def M(self): method n (line 195) | def n(self): method N (line 199) | def N(self): method o (line 203) | def o(self): method O (line 207) | def O(self): method r (line 214) | def r(self): method S (line 218) | def S(self): method t (line 231) | def t(self): method T (line 235) | def T(self): method U (line 242) | def U(self): method w (line 249) | def w(self): method W (line 253) | def W(self): method y (line 279) | def y(self): method Y (line 283) | def Y(self): method z (line 287) | def z(self): method Z (line 294) | def Z(self): function format (line 309) | def format(value, format_string): function time_format (line 314) | def time_format(value, format_string): FILE: Django-1.5.1/django/utils/dateparse.py function parse_date (line 30) | def parse_date(value): function parse_time (line 41) | def parse_time(value): function parse_datetime (line 58) | def parse_datetime(value): FILE: Django-1.5.1/django/utils/datetime_safe.py class date (line 14) | class date(real_date): method strftime (line 15) | def strftime(self, fmt): class datetime (line 18) | class datetime(real_datetime): method strftime (line 19) | def strftime(self, fmt): method combine (line 22) | def combine(self, date, time): method date (line 25) | def date(self): function new_date (line 28) | def new_date(d): function new_datetime (line 32) | def new_datetime(d): function _findall (line 45) | def _findall(text, substr): function strftime (line 57) | def strftime(dt, fmt): FILE: Django-1.5.1/django/utils/decorators.py class classonlymethod (line 5) | class classonlymethod(classmethod): method __get__ (line 6) | def __get__(self, instance, owner): function method_decorator (line 11) | def method_decorator(decorator): function decorator_from_middleware_with_args (line 43) | def decorator_from_middleware_with_args(middleware_class): function decorator_from_middleware (line 59) | def decorator_from_middleware(middleware_class): function available_attrs (line 68) | def available_attrs(fn): function make_middleware_decorator (line 76) | def make_middleware_decorator(middleware_class): FILE: Django-1.5.1/django/utils/dictconfig.py function valid_ident (line 30) | def valid_ident(s): function _checkLevel (line 42) | def _checkLevel(level): class ConvertingDict (line 63) | class ConvertingDict(dict): method __getitem__ (line 66) | def __getitem__(self, key): method get (line 78) | def get(self, key, default=None): method pop (line 90) | def pop(self, key, default=None): class ConvertingList (line 100) | class ConvertingList(list): method __getitem__ (line 102) | def __getitem__(self, key): method pop (line 114) | def pop(self, idx=-1): class ConvertingTuple (line 123) | class ConvertingTuple(tuple): method __getitem__ (line 125) | def __getitem__(self, key): class BaseConfigurator (line 135) | class BaseConfigurator(object): method __init__ (line 155) | def __init__(self, config): method resolve (line 159) | def resolve(self, s): method ext_convert (line 182) | def ext_convert(self, value): method cfg_convert (line 186) | def cfg_convert(self, value): method convert (line 220) | def convert(self, value): method configure_custom (line 248) | def configure_custom(self, config): method as_tuple (line 262) | def as_tuple(self, value): class DictConfigurator (line 268) | class DictConfigurator(BaseConfigurator): method configure (line 274) | def configure(self): method configure_formatter (line 420) | def configure_formatter(self, config): method configure_filter (line 442) | def configure_filter(self, config): method add_filters (line 451) | def add_filters(self, filterer, filters): method configure_handler (line 459) | def configure_handler(self, config): method add_handlers (line 512) | def add_handlers(self, logger, handlers): method common_logger_config (line 520) | def common_logger_config(self, logger, config, incremental=False): method configure_logger (line 538) | def configure_logger(self, name, config, incremental=False): method configure_root (line 546) | def configure_root(self, config, incremental=False): function dictConfig (line 553) | def dictConfig(config): FILE: Django-1.5.1/django/utils/encoding.py class DjangoUnicodeDecodeError (line 16) | class DjangoUnicodeDecodeError(UnicodeDecodeError): method __init__ (line 17) | def __init__(self, obj, *args): method __str__ (line 21) | def __str__(self): class StrAndUnicode (line 26) | class StrAndUnicode(object): method __init__ (line 36) | def __init__(self, *args, **kwargs): method __str__ (line 43) | def __str__(self): method __str__ (line 46) | def __str__(self): function python_2_unicode_compatible (line 49) | def python_2_unicode_compatible(klass): function smart_text (line 62) | def smart_text(s, encoding='utf-8', strings_only=False, errors='strict'): function is_protected_type (line 74) | def is_protected_type(obj): function force_text (line 83) | def force_text(s, encoding='utf-8', strings_only=False, errors='strict'): function smart_bytes (line 126) | def smart_bytes(s, encoding='utf-8', strings_only=False, errors='strict'): function force_bytes (line 138) | def force_bytes(s, encoding='utf-8', strings_only=False, errors='strict'): function iri_to_uri (line 191) | def iri_to_uri(iri): function filepath_to_uri (line 218) | def filepath_to_uri(path): FILE: Django-1.5.1/django/utils/feedgenerator.py function rfc2822_date (line 38) | def rfc2822_date(date): function rfc3339_date (line 59) | def rfc3339_date(date): function get_tag_uri (line 73) | def get_tag_uri(url, date): class SyndicationFeed (line 85) | class SyndicationFeed(object): method __init__ (line 87) | def __init__(self, title, link, description, language=None, author_ema... method add_item (line 114) | def add_item(self, title, link, description, author_email=None, method num_items (line 147) | def num_items(self): method root_attributes (line 150) | def root_attributes(self): method add_root_elements (line 157) | def add_root_elements(self, handler): method item_attributes (line 164) | def item_attributes(self, item): method add_item_elements (line 170) | def add_item_elements(self, handler, item): method write (line 176) | def write(self, outfile, encoding): method writeString (line 183) | def writeString(self, encoding): method latest_post_date (line 191) | def latest_post_date(self): class Enclosure (line 203) | class Enclosure(object): method __init__ (line 205) | def __init__(self, url, length, mime_type): class RssFeed (line 210) | class RssFeed(SyndicationFeed): method write (line 212) | def write(self, outfile, encoding): method rss_attributes (line 222) | def rss_attributes(self): method write_items (line 226) | def write_items(self, handler): method add_root_elements (line 232) | def add_root_elements(self, handler): method endChannelElement (line 249) | def endChannelElement(self, handler): class RssUserland091Feed (line 252) | class RssUserland091Feed(RssFeed): method add_item_elements (line 254) | def add_item_elements(self, handler, item): class Rss201rev2Feed (line 260) | class Rss201rev2Feed(RssFeed): method add_item_elements (line 263) | def add_item_elements(self, handler, item): class Atom1Feed (line 297) | class Atom1Feed(SyndicationFeed): method write (line 302) | def write(self, outfile, encoding): method root_attributes (line 310) | def root_attributes(self): method add_root_elements (line 316) | def add_root_elements(self, handler): method write_items (line 338) | def write_items(self, handler): method add_item_elements (line 344) | def add_item_elements(self, handler, item): FILE: Django-1.5.1/django/utils/formats.py function reset_format_cache (line 30) | def reset_format_cache(): function iter_format_modules (line 40) | def iter_format_modules(lang): function get_format_modules (line 60) | def get_format_modules(lang=None, reverse=False): function get_format (line 71) | def get_format(format_type, lang=None, use_l10n=None): function date_format (line 110) | def date_format(value, format=None, use_l10n=None): function time_format (line 120) | def time_format(value, format=None, use_l10n=None): function number_format (line 129) | def number_format(value, decimal_pos=None, use_l10n=None, force_grouping... function localize (line 149) | def localize(value, use_l10n=None): function localize_input (line 170) | def localize_input(value, default=None): function sanitize_separators (line 194) | def sanitize_separators(value): FILE: Django-1.5.1/django/utils/functional.py function curry (line 11) | def curry(_curried_func, *args, **kwargs): function memoize (line 16) | def memoize(func, cache, num_args): class cached_property (line 34) | class cached_property(object): method __init__ (line 39) | def __init__(self, func): method __get__ (line 42) | def __get__(self, instance, type): class Promise (line 46) | class Promise(object): function lazy (line 54) | def lazy(func, *resultclasses): function _lazy_proxy_unpickle (line 178) | def _lazy_proxy_unpickle(func, args, kwargs, *resultclasses): function allow_lazy (line 181) | def allow_lazy(func, *resultclasses): function new_method_proxy (line 199) | def new_method_proxy(func): class LazyObject (line 206) | class LazyObject(object): method __init__ (line 214) | def __init__(self): method __setattr__ (line 219) | def __setattr__(self, name, value): method __delattr__ (line 228) | def __delattr__(self, name): method _setup (line 235) | def _setup(self): class SimpleLazyObject (line 248) | class SimpleLazyObject(LazyObject): method __init__ (line 255) | def __init__(self, func): method _setup (line 267) | def _setup(self): method __deepcopy__ (line 277) | def __deepcopy__(self, memo): method __getstate__ (line 292) | def __getstate__(self): method __newobj__ (line 301) | def __newobj__(cls, *args): method __reduce__ (line 304) | def __reduce__(self): class lazy_property (line 316) | class lazy_property(property): method __new__ (line 321) | def __new__(cls, fget=None, fset=None, fdel=None, doc=None): function partition (line 336) | def partition(predicate, values): function total_ordering (line 356) | def total_ordering(cls): FILE: Django-1.5.1/django/utils/html.py function escape (line 39) | def escape(text): function escapejs (line 63) | def escapejs(value): function conditional_escape (line 68) | def conditional_escape(text): function format_html (line 77) | def format_html(format_string, *args, **kwargs): function format_html_join (line 88) | def format_html_join(sep, format_string, args_generator): function linebreaks (line 108) | def linebreaks(value, autoescape=False): function strip_tags (line 119) | def strip_tags(value): function remove_tags (line 124) | def remove_tags(html, tags): function strip_spaces_between_tags (line 135) | def strip_spaces_between_tags(value): function strip_entities (line 140) | def strip_entities(value): function fix_ampersands (line 145) | def fix_ampersands(value): function smart_urlquote (line 150) | def smart_urlquote(url): function urlize (line 169) | def urlize(text, trim_url_limit=None, nofollow=False, autoescape=False): function clean_html (line 244) | def clean_html(text): FILE: Django-1.5.1/django/utils/html_parser.py class HTMLParser (line 19) | class HTMLParser(_html_parser.HTMLParser): method __init__ (line 24) | def __init__(self): method set_cdata_mode (line 28) | def set_cdata_mode(self, tag): method clear_cdata_mode (line 35) | def clear_cdata_mode(self): method parse_starttag (line 40) | def parse_starttag(self, i): method parse_endtag (line 91) | def parse_endtag(self, i): FILE: Django-1.5.1/django/utils/http.py function urlquote (line 35) | def urlquote(url, safe='/'): function urlquote_plus (line 45) | def urlquote_plus(url, safe=''): function urlunquote (line 55) | def urlunquote(quoted_url): function urlunquote_plus (line 63) | def urlunquote_plus(quoted_url): function urlencode (line 71) | def urlencode(query, doseq=0): function cookie_date (line 87) | def cookie_date(epoch_seconds=None): function http_date (line 100) | def http_date(epoch_seconds=None): function parse_http_date (line 114) | def parse_http_date(date): function parse_http_date_safe (line 149) | def parse_http_date_safe(date): function base36_to_int (line 160) | def base36_to_int(s): function int_to_base36 (line 177) | def int_to_base36(i): function parse_etags (line 205) | def parse_etags(etag_str): function quote_etag (line 218) | def quote_etag(etag): function same_origin (line 224) | def same_origin(url1, url2): function is_safe_url (line 231) | def is_safe_url(url, host=None): FILE: Django-1.5.1/django/utils/importlib.py function _resolve_name (line 4) | def _resolve_name(name, package, level): function import_module (line 18) | def import_module(name, package=None): FILE: Django-1.5.1/django/utils/ipv6.py function clean_ipv6_address (line 7) | def clean_ipv6_address(ip_str, unpack_ipv4=False, function _sanitize_ipv4_mapping (line 89) | def _sanitize_ipv4_mapping(ip_str): function _unpack_ipv4 (line 125) | def _unpack_ipv4(ip_str): function is_valid_ipv6_address (line 144) | def is_valid_ipv6_address(ip_str): function _explode_shorthand_ip_string (line 209) | def _explode_shorthand_ip_string(ip_str): function _is_shorthand_ip (line 254) | def _is_shorthand_ip(ip_str): FILE: Django-1.5.1/django/utils/itercompat.py function is_iterable (line 13) | def is_iterable(x): function is_iterator (line 22) | def is_iterator(x): function product (line 33) | def product(*args, **kwds): function all (line 38) | def all(iterable): function any (line 43) | def any(iterable): FILE: Django-1.5.1/django/utils/jslex.py class Tok (line 5) | class Tok(object): method __init__ (line 11) | def __init__(self, name, regex, next=None): function literals (line 18) | def literals(choices, prefix="", suffix=""): class Lexer (line 29) | class Lexer(object): method __init__ (line 34) | def __init__(self, states, first): method lex (line 48) | def lex(self, text): class JsLexer (line 75) | class JsLexer(Lexer): method __init__ (line 180) | def __init__(self): function prepare_js_for_gettext (line 184) | def prepare_js_for_gettext(js): FILE: Django-1.5.1/django/utils/log.py class NullHandler (line 14) | class NullHandler(logging.Handler): method emit (line 15) | def emit(self, record): class AdminEmailHandler (line 72) | class AdminEmailHandler(logging.Handler): method __init__ (line 79) | def __init__(self, include_html=False): method emit (line 83) | def emit(self, record): method format_subject (line 115) | def format_subject(self, subject): class CallbackFilter (line 125) | class CallbackFilter(logging.Filter): method __init__ (line 132) | def __init__(self, callback): method filter (line 135) | def filter(self, record): class RequireDebugFalse (line 141) | class RequireDebugFalse(logging.Filter): method filter (line 142) | def filter(self, record): class RequireDebugTrue (line 146) | class RequireDebugTrue(logging.Filter): method filter (line 147) | def filter(self, record): FILE: Django-1.5.1/django/utils/module_loading.py function module_has_submodule (line 6) | def module_has_submodule(package, module_name): FILE: Django-1.5.1/django/utils/numberformat.py function format (line 6) | def format(number, decimal_sep, decimal_pos=None, grouping=0, thousand_s... FILE: Django-1.5.1/django/utils/regex_helper.py class Choice (line 29) | class Choice(list): class Group (line 36) | class Group(list): class NonCapture (line 41) | class NonCapture(list): function normalize (line 46) | def normalize(pattern): function next_char (line 201) | def next_char(input_iter): function walk_to_end (line 221) | def walk_to_end(ch, input_iter): function get_quantifier (line 241) | def get_quantifier(ch, input_iter): function contains (line 277) | def contains(source, inst): function flatten_result (line 290) | def flatten_result(source): FILE: Django-1.5.1/django/utils/safestring.py class EscapeData (line 10) | class EscapeData(object): class EscapeBytes (line 13) | class EscapeBytes(bytes, EscapeData): class EscapeText (line 19) | class EscapeText(six.text_type, EscapeData): class SafeData (line 32) | class SafeData(object): class SafeBytes (line 35) | class SafeBytes(bytes, SafeData): method __add__ (line 40) | def __add__(self, rhs): method _proxy_method (line 52) | def _proxy_method(self, *args, **kwargs): class SafeText (line 67) | class SafeText(six.text_type, SafeData): method __add__ (line 72) | def __add__(self, rhs): method _proxy_method (line 82) | def _proxy_method(self, *args, **kwargs): function mark_safe (line 104) | def mark_safe(s): function mark_for_escaping (line 119) | def mark_for_escaping(s): FILE: Django-1.5.1/django/utils/six.py class X (line 53) | class X(object): method __len__ (line 54) | def __len__(self): function _add_doc (line 67) | def _add_doc(func, doc): function _import_module (line 72) | def _import_module(name): class _LazyDescr (line 78) | class _LazyDescr(object): method __init__ (line 80) | def __init__(self, name): method __get__ (line 83) | def __get__(self, obj, tp): class MovedModule (line 91) | class MovedModule(_LazyDescr): method __init__ (line 93) | def __init__(self, name, old, new=None): method _resolve (line 102) | def _resolve(self): class MovedAttribute (line 106) | class MovedAttribute(_LazyDescr): method __init__ (line 108) | def __init__(self, name, old_mod, new_mod, old_attr=None, new_attr=None): method _resolve (line 126) | def _resolve(self): class _MovedItems (line 132) | class _MovedItems(types.ModuleType): function add_move (line 192) | def add_move(move): function remove_move (line 197) | def remove_move(name): function advance_iterator (line 239) | def advance_iterator(it): function callable (line 247) | def callable(obj): function get_unbound_function (line 252) | def get_unbound_function(unbound): function get_unbound_function (line 257) | def get_unbound_function(unbound): class Iterator (line 260) | class Iterator(object): method next (line 262) | def next(self): function iterkeys (line 278) | def iterkeys(d, **kw): function itervalues (line 282) | def itervalues(d, **kw): function iteritems (line 286) | def iteritems(d, **kw): function iterlists (line 290) | def iterlists(d, **kw): function b (line 296) | def b(s): function u (line 298) | def u(s): function int2byte (line 301) | def int2byte(i): function b (line 310) | def b(s): function u (line 312) | def u(s): function reraise (line 326) | def reraise(tp, value, tb=None): function exec_ (line 336) | def exec_(_code_, _globs_=None, _locs_=None): function print_ (line 354) | def print_(*args, **kwargs): function with_metaclass (line 402) | def with_metaclass(meta, base=object): function assertRaisesRegex (line 415) | def assertRaisesRegex(self, *args, **kwargs): FILE: Django-1.5.1/django/utils/synch.py class RWLock (line 16) | class RWLock(object): method __init__ (line 29) | def __init__(self): method reader_enters (line 38) | def reader_enters(self): method reader_leaves (line 47) | def reader_leaves(self): method reader (line 56) | def reader(self): method writer_enters (line 63) | def writer_enters(self): method writer_leaves (line 72) | def writer_leaves(self): method writer (line 88) | def writer(self): FILE: Django-1.5.1/django/utils/termcolors.py function colorize (line 14) | def colorize(text='', opts=(), **kwargs): function make_style (line 58) | def make_style(opts=(), **kwargs): function parse_color_setting (line 123) | def parse_color_setting(config_string): FILE: Django-1.5.1/django/utils/text.py function wrap (line 30) | def wrap(text, width): class Truncator (line 59) | class Truncator(SimpleLazyObject): method __init__ (line 63) | def __init__(self, text): method add_truncation_text (line 66) | def add_truncation_text(self, text, truncate=None): method chars (line 82) | def chars(self, num, truncate=None): method words (line 121) | def words(self, num, truncate=None, html=False): method _text_words (line 133) | def _text_words(self, length, truncate): method _html_words (line 145) | def _html_words(self, length, truncate): function truncate_words (line 212) | def truncate_words(s, num, end_text='...'): function truncate_html_words (line 219) | def truncate_html_words(s, num, end_text='...'): function get_valid_filename (line 226) | def get_valid_filename(s): function get_text_list (line 239) | def get_text_list(list_, last_word=ugettext_lazy('or')): function normalize_newlines (line 260) | def normalize_newlines(text): function recapitalize (line 264) | def recapitalize(text): function phone2numeric (line 272) | def phone2numeric(phone): function compress_string (line 284) | def compress_string(s): class StreamingBuffer (line 291) | class StreamingBuffer(object): method __init__ (line 292) | def __init__(self): method write (line 295) | def write(self, val): method read (line 298) | def read(self): method flush (line 303) | def flush(self): method close (line 306) | def close(self): function compress_sequence (line 310) | def compress_sequence(sequence): function javascript_quote (line 324) | def javascript_quote(s, quote_double_quotes=False): function smart_split (line 355) | def smart_split(text): function _replace_entity (line 375) | def _replace_entity(match): function unescape_entities (line 395) | def unescape_entities(text): function unescape_string_literal (line 399) | def unescape_string_literal(s): function slugify (line 419) | def slugify(value): FILE: Django-1.5.1/django/utils/timesince.py function timesince (line 8) | def timesince(d, now=None, reversed=False): function timeuntil (line 57) | def timeuntil(d, now=None): FILE: Django-1.5.1/django/utils/timezone.py class UTC (line 29) | class UTC(tzinfo): method __repr__ (line 36) | def __repr__(self): method utcoffset (line 39) | def utcoffset(self, dt): method tzname (line 42) | def tzname(self, dt): method dst (line 45) | def dst(self, dt): class LocalTimezone (line 48) | class LocalTimezone(tzinfo): method __init__ (line 56) | def __init__(self): method __repr__ (line 67) | def __repr__(self): method utcoffset (line 70) | def utcoffset(self, dt): method dst (line 76) | def dst(self, dt): method tzname (line 82) | def tzname(self, dt): method _isdst (line 85) | def _isdst(self, dt): function get_default_timezone (line 101) | def get_default_timezone(): function get_default_timezone_name (line 119) | def get_default_timezone_name(): function get_current_timezone (line 127) | def get_current_timezone(): function get_current_timezone_name (line 133) | def get_current_timezone_name(): function _get_timezone_name (line 139) | def _get_timezone_name(timezone): function activate (line 156) | def activate(timezone): function deactivate (line 170) | def deactivate(): class override (line 179) | class override(object): method __init__ (line 191) | def __init__(self, timezone): method __enter__ (line 195) | def __enter__(self): method __exit__ (line 201) | def __exit__(self, exc_type, exc_value, traceback): function template_localtime (line 210) | def template_localtime(value, use_tz=None): function localtime (line 228) | def localtime(value, timezone=None): function now (line 243) | def now(): function is_aware (line 256) | def is_aware(value): function is_naive (line 265) | def is_naive(value): function make_aware (line 274) | def make_aware(value, timezone): function make_naive (line 285) | def make_naive(value, timezone): FILE: Django-1.5.1/django/utils/translation/__init__.py class Trans (line 32) | class Trans(object): method __getattr__ (line 45) | def __getattr__(self, real_name): function gettext_noop (line 59) | def gettext_noop(message): function gettext (line 64) | def gettext(message): function ngettext (line 67) | def ngettext(singular, plural, number): function ugettext (line 70) | def ugettext(message): function ungettext (line 73) | def ungettext(singular, plural, number): function pgettext (line 76) | def pgettext(context, message): function npgettext (line 79) | def npgettext(context, singular, plural, number): function activate (line 89) | def activate(language): function deactivate (line 92) | def deactivate(): class override (line 95) | class override(object): method __init__ (line 96) | def __init__(self, language, deactivate=False): method __enter__ (line 101) | def __enter__(self): method __exit__ (line 107) | def __exit__(self, exc_type, exc_value, traceback): function get_language (line 113) | def get_language(): function get_language_bidi (line 116) | def get_language_bidi(): function check_for_language (line 119) | def check_for_language(lang_code): function to_locale (line 122) | def to_locale(language): function get_language_from_request (line 125) | def get_language_from_request(request, check_path=False): function get_language_from_path (line 128) | def get_language_from_path(path): function templatize (line 131) | def templatize(src, origin=None): function deactivate_all (line 134) | def deactivate_all(): function _string_concat (line 137) | def _string_concat(*strings): function get_language_info (line 145) | def get_language_info(lang_code): FILE: Django-1.5.1/django/utils/translation/trans_null.py function ngettext (line 9) | def ngettext(singular, plural, number): function ungettext (line 14) | def ungettext(singular, plural, number): function pgettext (line 17) | def pgettext(context, message): function npgettext (line 20) | def npgettext(context, singular, plural, number): function gettext (line 40) | def gettext(message): function ugettext (line 46) | def ugettext(message): function to_locale (line 51) | def to_locale(language): function get_language_from_request (line 58) | def get_language_from_request(request, check_path=False): function get_language_from_path (line 61) | def get_language_from_path(request): FILE: Django-1.5.1/django/utils/translation/trans_real.py function to_locale (line 44) | def to_locale(language, to_lower=False): function to_language (line 61) | def to_language(locale): class DjangoTranslation (line 69) | class DjangoTranslation(gettext_module.GNUTranslations): method __init__ (line 74) | def __init__(self, *args, **kw): method merge (line 80) | def merge(self, other): method set_language (line 83) | def set_language(self, language): method language (line 87) | def language(self): method to_language (line 90) | def to_language(self): method __repr__ (line 93) | def __repr__(self): function translation (line 96) | def translation(language): function activate (line 177) | def activate(language): function deactivate (line 185) | def deactivate(): function deactivate_all (line 193) | def deactivate_all(): function get_language (line 201) | def get_language(): function get_language_bidi (line 213) | def get_language_bidi(): function catalog (line 225) | def catalog(): function do_translate (line 241) | def do_translate(message, translation_function): function gettext (line 264) | def gettext(message): function ugettext (line 275) | def ugettext(message): function pgettext (line 278) | def pgettext(context, message): function gettext_noop (line 286) | def gettext_noop(message): function do_ntranslate (line 295) | def do_ntranslate(singular, plural, number, translation_function): function ngettext (line 306) | def ngettext(singular, plural, number): function ungettext (line 318) | def ungettext(singular, plural, number): function npgettext (line 325) | def npgettext(context, singular, plural, number): function all_locale_paths (line 335) | def all_locale_paths(): function check_for_language (line 344) | def check_for_language(lang_code): function get_language_from_path (line 356) | def get_language_from_path(path, supported=None): function get_language_from_request (line 370) | def get_language_from_request(request, check_path=False): function blankout (line 437) | def blankout(src, char): function templatize (line 453) | def templatize(src, origin=None): function parse_accept_lang_header (line 594) | def parse_accept_lang_header(lang_string): FILE: Django-1.5.1/django/utils/tree.py class Node (line 8) | class Node(object): method __init__ (line 18) | def __init__(self, children=None, connector=None, negated=False): method _new_instance (line 34) | def _new_instance(cls, children=None, connector=None, negated=False): method __str__ (line 48) | def __str__(self): method __deepcopy__ (line 55) | def __deepcopy__(self, memodict): method __len__ (line 65) | def __len__(self): method __bool__ (line 71) | def __bool__(self): method __nonzero__ (line 77) | def __nonzero__(self): # Python 2 compatibility method __contains__ (line 80) | def __contains__(self, other): method add (line 86) | def add(self, node, conn_type): method negate (line 109) | def negate(self): method start_subtree (line 123) | def start_subtree(self, conn_type): method end_subtree (line 143) | def end_subtree(self): FILE: Django-1.5.1/django/utils/tzinfo.py class FixedOffset (line 15) | class FixedOffset(tzinfo): method __init__ (line 17) | def __init__(self, offset): method __repr__ (line 27) | def __repr__(self): method __getinitargs__ (line 30) | def __getinitargs__(self): method utcoffset (line 33) | def utcoffset(self, dt): method tzname (line 36) | def tzname(self, dt): method dst (line 39) | def dst(self, dt): class LocalTimezone (line 48) | class LocalTimezone(tzinfo): method __init__ (line 50) | def __init__(self, dt): method __repr__ (line 55) | def __repr__(self): method __getinitargs__ (line 58) | def __getinitargs__(self): method utcoffset (line 61) | def utcoffset(self, dt): method dst (line 67) | def dst(self, dt): method tzname (line 73) | def tzname(self, dt): method _isdst (line 80) | def _isdst(self, dt): FILE: Django-1.5.1/django/utils/unittest/case.py class SkipTest (line 23) | class SkipTest(Exception): class _ExpectedFailure (line 31) | class _ExpectedFailure(Exception): method __init__ (line 38) | def __init__(self, exc_info): class _UnexpectedSuccess (line 43) | class _UnexpectedSuccess(Exception): function _id (line 48) | def _id(obj): function skip (line 51) | def skip(reason): function skipIf (line 67) | def skipIf(condition, reason): function skipUnless (line 75) | def skipUnless(condition, reason): function expectedFailure (line 84) | def expectedFailure(func): class _AssertRaisesContext (line 95) | class _AssertRaisesContext(object): method __init__ (line 98) | def __init__(self, expected, test_case, expected_regexp=None): method __enter__ (line 103) | def __enter__(self): method __exit__ (line 106) | def __exit__(self, exc_type, exc_value, tb): class _TypeEqualityDict (line 130) | class _TypeEqualityDict(object): method __init__ (line 132) | def __init__(self, testcase): method __setitem__ (line 136) | def __setitem__(self, key, value): method __getitem__ (line 139) | def __getitem__(self, key): method get (line 145) | def get(self, key, default=None): class TestCase (line 151) | class TestCase(unittest.TestCase): method __init__ (line 195) | def __init__(self, methodName='runTest'): method addTypeEqualityFunc (line 221) | def addTypeEqualityFunc(self, typeobj, function): method addCleanup (line 236) | def addCleanup(self, function, *args, **kwargs): method setUpClass (line 245) | def setUpClass(cls): method tearDownClass (line 249) | def tearDownClass(cls): method countTestCases (line 252) | def countTestCases(self): method defaultTestResult (line 255) | def defaultTestResult(self): method shortDescription (line 258) | def shortDescription(self): method id (line 269) | def id(self): method __eq__ (line 272) | def __eq__(self, other): method __ne__ (line 278) | def __ne__(self, other): method __hash__ (line 281) | def __hash__(self): method __str__ (line 284) | def __str__(self): method __repr__ (line 287) | def __repr__(self): method _addSkip (line 291) | def _addSkip(self, result, reason): method run (line 300) | def run(self, result=None): method doCleanups (line 376) | def doCleanups(self): method __call__ (line 390) | def __call__(self, *args, **kwds): method debug (line 393) | def debug(self): method skipTest (line 402) | def skipTest(self, reason): method fail (line 406) | def fail(self, msg=None): method assertFalse (line 410) | def assertFalse(self, expr, msg=None): method assertTrue (line 416) | def assertTrue(self, expr, msg=None): method _formatMessage (line 422) | def _formatMessage(self, msg, standardMsg): method assertRaises (line 442) | def assertRaises(self, excClass, callableObj=None, *args, **kwargs): method _getAssertEqualityFunc (line 478) | def _getAssertEqualityFunc(self, first, second): method _baseAssertEqual (line 502) | def _baseAssertEqual(self, first, second, msg=None): method assertEqual (line 509) | def assertEqual(self, first, second, msg=None): method assertNotEqual (line 516) | def assertNotEqual(self, first, second, msg=None): method assertAlmostEqual (line 525) | def assertAlmostEqual(self, first, second, places=None, msg=None, delt... method assertNotAlmostEqual (line 563) | def assertNotAlmostEqual(self, first, second, places=None, msg=None, d... method _deprecate (line 607) | def _deprecate(original_func): method assertSequenceEqual (line 623) | def assertSequenceEqual(self, seq1, seq2, method _truncateMessage (line 729) | def _truncateMessage(self, message, diff): method assertListEqual (line 735) | def assertListEqual(self, list1, list2, msg=None): method assertTupleEqual (line 747) | def assertTupleEqual(self, tuple1, tuple2, msg=None): method assertSetEqual (line 758) | def assertSetEqual(self, set1, set2, msg=None): method assertIn (line 801) | def assertIn(self, member, container, msg=None): method assertNotIn (line 808) | def assertNotIn(self, member, container, msg=None): method assertIs (line 815) | def assertIs(self, expr1, expr2, msg=None): method assertIsNot (line 821) | def assertIsNot(self, expr1, expr2, msg=None): method assertDictEqual (line 827) | def assertDictEqual(self, d1, d2, msg=None): method assertDictContainsSubset (line 839) | def assertDictContainsSubset(self, expected, actual, msg=None): method assertItemsEqual (line 865) | def assertItemsEqual(self, expected_seq, actual_seq, msg=None): method assertMultiLineEqual (line 904) | def assertMultiLineEqual(self, first, second, msg=None): method assertLess (line 918) | def assertLess(self, a, b, msg=None): method assertLessEqual (line 924) | def assertLessEqual(self, a, b, msg=None): method assertGreater (line 930) | def assertGreater(self, a, b, msg=None): method assertGreaterEqual (line 936) | def assertGreaterEqual(self, a, b, msg=None): method assertIsNone (line 942) | def assertIsNone(self, obj, msg=None): method assertIsNotNone (line 948) | def assertIsNotNone(self, obj, msg=None): method assertIsInstance (line 954) | def assertIsInstance(self, obj, cls, msg=None): method assertNotIsInstance (line 961) | def assertNotIsInstance(self, obj, cls, msg=None): method assertRaisesRegexp (line 967) | def assertRaisesRegexp(self, expected_exception, expected_regexp, method assertRegexpMatches (line 996) | def assertRegexpMatches(self, text, expected_regexp, msg=None): method assertNotRegexpMatches (line 1005) | def assertNotRegexpMatches(self, text, unexpected_regexp, msg=None): class FunctionTestCase (line 1018) | class FunctionTestCase(TestCase): method __init__ (line 1027) | def __init__(self, testFunc, setUp=None, tearDown=None, description=No... method setUp (line 1034) | def setUp(self): method tearDown (line 1038) | def tearDown(self): method runTest (line 1042) | def runTest(self): method id (line 1045) | def id(self): method __eq__ (line 1048) | def __eq__(self, other): method __ne__ (line 1057) | def __ne__(self, other): method __hash__ (line 1060) | def __hash__(self): method __str__ (line 1064) | def __str__(self): method __repr__ (line 1068) | def __repr__(self): method shortDescription (line 1072) | def shortDescription(self): FILE: Django-1.5.1/django/utils/unittest/collector.py function collector (line 5) | def collector(): FILE: Django-1.5.1/django/utils/unittest/compatibility.py function wraps (line 8) | def wraps(_): function _relpath_nt (line 15) | def _relpath_nt(path, start=os.path.curdir): function _relpath_posix (line 44) | def _relpath_posix(path, start=os.path.curdir): FILE: Django-1.5.1/django/utils/unittest/loader.py function _CmpToKey (line 22) | def _CmpToKey(mycmp): function _make_failed_import_test (line 38) | def _make_failed_import_test(name, suiteClass): function _make_failed_load_tests (line 47) | def _make_failed_load_tests(name, exception, suiteClass): function _make_failed_test (line 50) | def _make_failed_test(classname, methodname, exception, suiteClass): class TestLoader (line 58) | class TestLoader(unittest.TestLoader): method loadTestsFromTestCase (line 68) | def loadTestsFromTestCase(self, testCaseClass): method loadTestsFromModule (line 79) | def loadTestsFromModule(self, module, use_load_tests=True): method loadTestsFromName (line 97) | def loadTestsFromName(self, name, module=None): method loadTestsFromNames (line 144) | def loadTestsFromNames(self, names, module=None): method getTestCaseNames (line 151) | def getTestCaseNames(self, testCaseClass): method discover (line 163) | def discover(self, start_dir, pattern='test*.py', top_level_dir=None): method _get_name_from_path (line 227) | def _get_name_from_path(self, path): method _get_module_from_name (line 237) | def _get_module_from_name(self, name): method _match_path (line 241) | def _match_path(self, path, full_path, pattern): method _find_tests (line 245) | def _find_tests(self, start_dir, pattern): function _makeLoader (line 305) | def _makeLoader(prefix, sortUsing, suiteClass=None): function getTestCaseNames (line 313) | def getTestCaseNames(testCaseClass, prefix, sortUsing=cmp): function makeSuite (line 316) | def makeSuite(testCaseClass, prefix='test', sortUsing=cmp, function findTestCases (line 320) | def findTestCases(module, prefix='test', sortUsing=cmp, FILE: Django-1.5.1/django/utils/unittest/main.py class TestProgram (line 66) | class TestProgram(object): method __init__ (line 75) | def __init__(self, module='__main__', defaultTest=None, method usageExit (line 100) | def usageExit(self, msg=None): method parseArgs (line 114) | def parseArgs(self, argv): method createTests (line 156) | def createTests(self): method _do_discovery (line 163) | def _do_discovery(self, argv, Loader=loader.TestLoader): method runTests (line 216) | def runTests(self): function main_ (line 238) | def main_(): FILE: Django-1.5.1/django/utils/unittest/result.py function failfast (line 14) | def failfast(method): class TestResult (line 26) | class TestResult(unittest.TestResult): method __init__ (line 40) | def __init__(self): method startTest (line 56) | def startTest(self, test): method startTestRun (line 67) | def startTestRun(self): method stopTest (line 73) | def stopTest(self, test): method stopTestRun (line 97) | def stopTestRun(self): method addError (line 104) | def addError(self, test, err): method addFailure (line 112) | def addFailure(self, test, err): method addSuccess (line 118) | def addSuccess(self, test): method addSkip (line 122) | def addSkip(self, test, reason): method addExpectedFailure (line 126) | def addExpectedFailure(self, test, err): method addUnexpectedSuccess (line 132) | def addUnexpectedSuccess(self, test): method wasSuccessful (line 136) | def wasSuccessful(self): method stop (line 140) | def stop(self): method _exc_info_to_string (line 144) | def _exc_info_to_string(self, err, test): method _is_relevant_tb_level (line 170) | def _is_relevant_tb_level(self, tb): method _count_relevant_tb_levels (line 173) | def _count_relevant_tb_levels(self, tb): method __repr__ (line 180) | def __repr__(self): FILE: Django-1.5.1/django/utils/unittest/runner.py function registerResult (line 12) | def registerResult(_): class _WritelnDecorator (line 18) | class _WritelnDecorator(object): method __init__ (line 20) | def __init__(self,stream): method __getattr__ (line 23) | def __getattr__(self, attr): method writeln (line 28) | def writeln(self, arg=None): class TextTestResult (line 34) | class TextTestResult(result.TestResult): method __init__ (line 42) | def __init__(self, stream, descriptions, verbosity): method getDescription (line 49) | def getDescription(self, test): method startTest (line 56) | def startTest(self, test): method addSuccess (line 63) | def addSuccess(self, test): method addError (line 71) | def addError(self, test, err): method addFailure (line 79) | def addFailure(self, test, err): method addSkip (line 87) | def addSkip(self, test, reason): method addExpectedFailure (line 95) | def addExpectedFailure(self, test, err): method addUnexpectedSuccess (line 103) | def addUnexpectedSuccess(self, test): method printErrors (line 111) | def printErrors(self): method printErrorList (line 117) | def printErrorList(self, flavour, errors): method stopTestRun (line 124) | def stopTestRun(self): class TextTestRunner (line 129) | class TextTestRunner(unittest.TextTestRunner): method __init__ (line 137) | def __init__(self, stream=sys.stderr, descriptions=True, verbosity=1, method _makeResult (line 147) | def _makeResult(self): method run (line 150) | def run(self, test): FILE: Django-1.5.1/django/utils/unittest/signals.py class _InterruptHandler (line 9) | class _InterruptHandler(object): method __init__ (line 10) | def __init__(self, default_handler): method __call__ (line 14) | def __call__(self, signum, frame): function registerResult (line 28) | def registerResult(result): function removeResult (line 31) | def removeResult(result): function installHandler (line 35) | def installHandler(): function removeHandler (line 43) | def removeHandler(method=None): FILE: Django-1.5.1/django/utils/unittest/suite.py class BaseTestSuite (line 10) | class BaseTestSuite(unittest.TestSuite): method __init__ (line 13) | def __init__(self, tests=()): method __repr__ (line 17) | def __repr__(self): method __eq__ (line 20) | def __eq__(self, other): method __ne__ (line 25) | def __ne__(self, other): method __iter__ (line 31) | def __iter__(self): method countTestCases (line 34) | def countTestCases(self): method addTest (line 40) | def addTest(self, test): method addTests (line 50) | def addTests(self, tests): method run (line 56) | def run(self, result): method __call__ (line 63) | def __call__(self, *args, **kwds): method debug (line 66) | def debug(self): class TestSuite (line 72) | class TestSuite(BaseTestSuite): method run (line 83) | def run(self, result): method debug (line 89) | def debug(self): method _wrapped_run (line 98) | def _wrapped_run(self, result, debug=False): method _handleClassSetUp (line 120) | def _handleClassSetUp(self, test, result): method _get_previous_module (line 149) | def _get_previous_module(self, result): method _handleModuleFixture (line 157) | def _handleModuleFixture(self, test, result): method _addClassOrModuleLevelException (line 182) | def _addClassOrModuleLevelException(self, result, exception, errorName): method _handleModuleTearDown (line 190) | def _handleModuleTearDown(self, result): method _tearDownPreviousClass (line 212) | def _tearDownPreviousClass(self, test, result): class _ErrorHolder (line 236) | class _ErrorHolder(object): method __init__ (line 248) | def __init__(self, description): method id (line 251) | def id(self): method shortDescription (line 254) | def shortDescription(self): method __repr__ (line 257) | def __repr__(self): method __str__ (line 260) | def __str__(self): method run (line 263) | def run(self, result): method __call__ (line 268) | def __call__(self, result): method countTestCases (line 271) | def countTestCases(self): function _isnotsuite (line 274) | def _isnotsuite(test): class _DebugResult (line 283) | class _DebugResult(object): FILE: Django-1.5.1/django/utils/unittest/util.py function safe_repr (line 7) | def safe_repr(obj, short=False): function safe_str (line 16) | def safe_str(obj): function strclass (line 22) | def strclass(cls): function sorted_list_difference (line 25) | def sorted_list_difference(expected, actual): function unorderable_list_difference (line 65) | def unorderable_list_difference(expected, actual, ignore_duplicate=False): FILE: Django-1.5.1/django/utils/version.py function get_version (line 7) | def get_version(version=None): function get_git_changeset (line 35) | def get_git_changeset(): FILE: Django-1.5.1/django/utils/xmlutils.py class SimplerXMLGenerator (line 7) | class SimplerXMLGenerator(XMLGenerator): method addQuickElement (line 8) | def addQuickElement(self, name, contents=None, attrs=None): FILE: Django-1.5.1/django/views/csrf.py function csrf_failure (line 95) | def csrf_failure(request, reason=""): FILE: Django-1.5.1/django/views/debug.py function linebreak_iter (line 28) | def linebreak_iter(template_source): function cleanse_setting (line 36) | def cleanse_setting(key, value): function get_safe_settings (line 55) | def get_safe_settings(): function technical_500_response (line 64) | def technical_500_response(request, exc_type, exc_value, tb): function get_exception_reporter_filter (line 80) | def get_exception_reporter_filter(request): class ExceptionReporterFilter (line 103) | class ExceptionReporterFilter(object): method get_request_repr (line 109) | def get_request_repr(self, request): method get_post_parameters (line 115) | def get_post_parameters(self, request): method get_traceback_frame_variables (line 121) | def get_traceback_frame_variables(self, request, tb_frame): class SafeExceptionReporterFilter (line 125) | class SafeExceptionReporterFilter(ExceptionReporterFilter): method is_active (line 131) | def is_active(self, request): method get_post_parameters (line 141) | def get_post_parameters(self, request): method get_traceback_frame_variables (line 169) | def get_traceback_frame_variables(self, request, tb_frame): class ExceptionReporter (line 222) | class ExceptionReporter(object): method __init__ (line 226) | def __init__(self, request, exc_type, exc_value, tb, is_email=False): method get_traceback_data (line 243) | def get_traceback_data(self): method get_traceback_html (line 307) | def get_traceback_html(self): method get_traceback_text (line 313) | def get_traceback_text(self): method get_template_exception_info (line 319) | def get_template_exception_info(self): method _get_lines_from_file (line 359) | def _get_lines_from_file(self, filename, lineno, context_lines, loader... method get_traceback_frames (line 401) | def get_traceback_frames(self): method format_exception (line 434) | def format_exception(self): function technical_404_response (line 447) | def technical_404_response(request, exception): function empty_urlconf (line 475) | def empty_urlconf(request): FILE: Django-1.5.1/django/views/decorators/cache.py function cache_page (line 8) | def cache_page(*args, **kwargs): function cache_control (line 72) | def cache_control(**kwargs): function never_cache (line 83) | def never_cache(view_func): FILE: Django-1.5.1/django/views/decorators/clickjacking.py function xframe_options_deny (line 7) | def xframe_options_deny(view_func): function xframe_options_sameorigin (line 28) | def xframe_options_sameorigin(view_func): function xframe_options_exempt (line 49) | def xframe_options_exempt(view_func): FILE: Django-1.5.1/django/views/decorators/csrf.py class _EnsureCsrfToken (line 17) | class _EnsureCsrfToken(CsrfViewMiddleware): 继承自 CsrfViewMiddleware function _reject (line 20) | def _reject(self, request, reason): class _EnsureCsrfCookie (line 33) | class _EnsureCsrfCookie(CsrfViewMiddleware): 继承自 CsrfViewMiddleware function _reject (line 34) | def _reject(self, request, reason): function process_view (line 37) | def process_view(self, request, callback, callback_args, callback_kwargs): function csrf_response_exempt (line 52) | def csrf_response_exempt(view_func): function csrf_view_exempt (line 63) | def csrf_view_exempt(view_func): function csrf_exempt (line 72) | def csrf_exempt(view_func): FILE: Django-1.5.1/django/views/decorators/debug.py function sensitive_variables (line 4) | def sensitive_variables(*variables): function sensitive_post_parameters (line 40) | def sensitive_post_parameters(*parameters): FILE: Django-1.5.1/django/views/decorators/http.py function require_http_methods (line 19) | def require_http_methods(request_method_list): function condition (line 55) | def condition(etag_func=None, last_modified_func=None): function etag (line 176) | def etag(etag_func): function last_modified (line 179) | def last_modified(last_modified_func): FILE: Django-1.5.1/django/views/decorators/vary.py function vary_on_headers (line 6) | def vary_on_headers(*headers): function vary_on_cookie (line 27) | def vary_on_cookie(func): FILE: Django-1.5.1/django/views/defaults.py function page_not_found (line 13) | def page_not_found(request, template_name='404.html'): function server_error (line 32) | def server_error(request, template_name='500.html'): function permission_denied (line 50) | def permission_denied(request, template_name='403.html'): function shortcut (line 67) | def shortcut(request, content_type_id, object_id): FILE: Django-1.5.1/django/views/generic/__init__.py class GenericViewError (line 10) | class GenericViewError(Exception): FILE: Django-1.5.1/django/views/generic/base.py class ContextMixin (line 15) | class ContextMixin(object): method get_context_data (line 21) | def get_context_data(self, **kwargs): class View (line 27) | class View(object): method __init__ (line 36) | def __init__(self, **kwargs): method as_view (line 48) | def as_view(cls, **initkwargs): method dispatch (line 90) | def dispatch(self, request, *args, **kwargs): method http_method_not_allowed (line 104) | def http_method_not_allowed(self, request, *args, **kwargs): method options (line 113) | def options(self, request, *args, **kwargs): method _allowed_methods (line 123) | def _allowed_methods(self): 产生允许的 http 命令 class TemplateResponseMixin (line 127) | class TemplateResponseMixin(object): method render_to_response (line 136) | def render_to_response(self, context, **response_kwargs): method get_template_names (line 155) | def get_template_names(self): class TemplateView (line 168) | class TemplateView(TemplateResponseMixin, ContextMixin, View): method get (line 174) | def get(self, request, *args, **kwargs): class RedirectView (line 179) | class RedirectView(View): method get_redirect_url (line 188) | def get_redirect_url(self, **kwargs): method get (line 203) | def get(self, request, *args, **kwargs): method head (line 220) | def head(self, request, *args, **kwargs): method post (line 223) | def post(self, request, *args, **kwargs): method options (line 226) | def options(self, request, *args, **kwargs): method delete (line 229) | def delete(self, request, *args, **kwargs): method put (line 232) | def put(self, request, *args, **kwargs): FILE: Django-1.5.1/django/views/generic/dates.py class YearMixin (line 16) | class YearMixin(object): method get_year_format (line 23) | def get_year_format(self): method get_year (line 30) | def get_year(self): method get_next_year (line 45) | def get_next_year(self, date): method get_previous_year (line 51) | def get_previous_year(self, date): method _get_next_year (line 57) | def _get_next_year(self, date): method _get_current_year (line 65) | def _get_current_year(self, date): class MonthMixin (line 72) | class MonthMixin(object): method get_month_format (line 79) | def get_month_format(self): method get_month (line 86) | def get_month(self): method get_next_month (line 101) | def get_next_month(self, date): method get_previous_month (line 107) | def get_previous_month(self, date): method _get_next_month (line 113) | def _get_next_month(self, date): method _get_current_month (line 124) | def _get_current_month(self, date): class DayMixin (line 131) | class DayMixin(object): method get_day_format (line 138) | def get_day_format(self): method get_day (line 145) | def get_day(self): method get_next_day (line 160) | def get_next_day(self, date): method get_previous_day (line 166) | def get_previous_day(self, date): method _get_next_day (line 172) | def _get_next_day(self, date): method _get_current_day (line 180) | def _get_current_day(self, date): class WeekMixin (line 187) | class WeekMixin(object): method get_week_format (line 194) | def get_week_format(self): method get_week (line 201) | def get_week(self): method get_next_week (line 216) | def get_next_week(self, date): method get_previous_week (line 222) | def get_previous_week(self, date): method _get_next_week (line 228) | def _get_next_week(self, date): method _get_current_week (line 236) | def _get_current_week(self, date): method _get_weekday (line 242) | def _get_weekday(self, date): class DateMixin (line 257) | class DateMixin(object): method get_date_field (line 264) | def get_date_field(self): method get_allow_future (line 272) | def get_allow_future(self): method uses_datetime_field (line 283) | def uses_datetime_field(self): method _make_date_lookup_arg (line 292) | def _make_date_lookup_arg(self, value): method _make_single_date_lookup (line 305) | def _make_single_date_lookup(self, date): class BaseDateListView (line 325) | class BaseDateListView(MultipleObjectMixin, DateMixin, View): method get (line 332) | def get(self, request, *args, **kwargs): method get_dated_items (line 339) | def get_dated_items(self): method get_dated_queryset (line 345) | def get_dated_queryset(self, ordering=None, **lookup): method get_date_list_period (line 374) | def get_date_list_period(self): method get_date_list (line 380) | def get_date_list(self, queryset, date_type=None, ordering='ASC'): class BaseArchiveIndexView (line 399) | class BaseArchiveIndexView(BaseDateListView): method get_dated_items (line 407) | def get_dated_items(self): class ArchiveIndexView (line 420) | class ArchiveIndexView(MultipleObjectTemplateResponseMixin, BaseArchiveI... class BaseYearArchiveView (line 427) | class BaseYearArchiveView(YearMixin, BaseDateListView): method get_dated_items (line 434) | def get_dated_items(self): method get_make_object_list (line 464) | def get_make_object_list(self): class YearArchiveView (line 472) | class YearArchiveView(MultipleObjectTemplateResponseMixin, BaseYearArchi... class BaseMonthArchiveView (line 479) | class BaseMonthArchiveView(YearMixin, MonthMixin, BaseDateListView): method get_dated_items (line 485) | def get_dated_items(self): class MonthArchiveView (line 513) | class MonthArchiveView(MultipleObjectTemplateResponseMixin, BaseMonthArc... class BaseWeekArchiveView (line 520) | class BaseWeekArchiveView(YearMixin, WeekMixin, BaseDateListView): method get_dated_items (line 525) | def get_dated_items(self): class WeekArchiveView (line 558) | class WeekArchiveView(MultipleObjectTemplateResponseMixin, BaseWeekArchi... class BaseDayArchiveView (line 565) | class BaseDayArchiveView(YearMixin, MonthMixin, DayMixin, BaseDateListVi... method get_dated_items (line 569) | def get_dated_items(self): method _get_dated_items (line 583) | def _get_dated_items(self, date): class DayArchiveView (line 600) | class DayArchiveView(MultipleObjectTemplateResponseMixin, BaseDayArchive... class BaseTodayArchiveView (line 607) | class BaseTodayArchiveView(BaseDayArchiveView): method get_dated_items (line 612) | def get_dated_items(self): class TodayArchiveView (line 619) | class TodayArchiveView(MultipleObjectTemplateResponseMixin, BaseTodayArc... class BaseDateDetailView (line 626) | class BaseDateDetailView(YearMixin, MonthMixin, DayMixin, DateMixin, Bas... method get_object (line 631) | def get_object(self, queryset=None): class DateDetailView (line 660) | class DateDetailView(SingleObjectTemplateResponseMixin, BaseDateDetailVi... function _date_from_string (line 668) | def _date_from_string(year, year_format, month='', month_format='', day=... function _get_next_prev (line 684) | def _get_next_prev(generic_view, date, is_previous, period): function timezone_today (line 775) | def timezone_today(): FILE: Django-1.5.1/django/views/generic/detail.py function get_object (line 23) | def get_object(self, queryset=None): function get_queryset (line 60) | def get_queryset(self): function get_slug_field (line 76) | def get_slug_field(self): function get_context_object_name (line 82) | def get_context_object_name(self, obj): function get_context_data (line 93) | def get_context_data(self, **kwargs): class BaseDetailView (line 107) | class BaseDetailView(SingleObjectMixin, View): method get (line 111) | def get(self, request, *args, **kwargs): class SingleObjectTemplateResponseMixin (line 117) | class SingleObjectTemplateResponseMixin(TemplateResponseMixin): method get_template_names (line 121) | def get_template_names(self): 重写 get_template_names 推断模板的名字 class DetailView (line 163) | class DetailView(SingleObjectTemplateResponseMixin, BaseDetailView): FILE: Django-1.5.1/django/views/generic/edit.py class FormMixin (line 13) | class FormMixin(ContextMixin): method get_initial (line 22) | def get_initial(self): method get_form_class (line 28) | def get_form_class(self): method get_form (line 34) | def get_form(self, form_class): method get_form_kwargs (line 41) | def get_form_kwargs(self):keyword argument function get_success_url (line 58) | def get_success_url(self): function form_valid (line 71) | def form_valid(self, form): function form_invalid (line 77) | def form_invalid(self, form): function get_form_class (line 90) | def get_form_class(self): function get_form_kwargs (line 110) | def get_form_kwargs(self): function get_success_url (line 118) | def get_success_url(self): function form_valid (line 133) | def form_valid(self, form): function get_context_data (line 140) | def get_context_data(self, **kwargs): class ProcessFormView (line 155) | class ProcessFormView(View): 这是笔误么? method get (line 159) | def get(self, request, *args, **kwargs): method post (line 167) | def post(self, request, *args, **kwargs): method put (line 181) | def put(self, *args, **kwargs): class BaseFormView (line 185) | class BaseFormView(FormMixin, ProcessFormView): class FormView (line 191) | class FormView(TemplateResponseMixin, BaseFormView): class BaseCreateView (line 197) | class BaseCreateView(ModelFormMixin, ProcessFormView): method get (line 203) | def get(self, request, *args, **kwargs): method post (line 207) | def post(self, request, *args, **kwargs): class CreateView (line 212) | class CreateView(SingleObjectTemplateResponseMixin, BaseCreateView): class BaseUpdateView (line 220) | class BaseUpdateView(ModelFormMixin, ProcessFormView): method get (line 226) | def get(self, request, *args, **kwargs): method post (line 230) | def post(self, request, *args, **kwargs): class UpdateView (line 235) | class UpdateView(SingleObjectTemplateResponseMixin, BaseUpdateView): class DeletionMixin (line 243) | class DeletionMixin(object): method delete (line 249) | def delete(self, request, *args, **kwargs): method post (line 259) | def post(self, *args, **kwargs): method get_success_url (line 262) | def get_success_url(self): class BaseDeleteView (line 270) | class BaseDeleteView(DeletionMixin, BaseDetailView): class DeleteView (line 278) | class DeleteView(SingleObjectTemplateResponseMixin, BaseDeleteView): FILE: Django-1.5.1/django/views/generic/list.py class MultipleObjectMixin (line 10) | class MultipleObjectMixin(ContextMixin): method get_queryset (line 23) | def get_queryset(self): method paginate_queryset (line 44) | def paginate_queryset(self, queryset, page_size): method get_paginate_by (line 71) | def get_paginate_by(self, queryset): method get_paginator (line 77) | def get_paginator(self, queryset, per_page, orphans=0, allow_empty_fir... method get_allow_empty (line 83) | def get_allow_empty(self): method get_context_object_name (line 90) | def get_context_object_name(self, object_list): method get_context_data (line 101) | def get_context_data(self, **kwargs): class BaseListView (line 138) | class BaseListView(MultipleObjectMixin, View): method get (line 142) | def get(self, request, *args, **kwargs): class MultipleObjectTemplateResponseMixin (line 165) | class MultipleObjectTemplateResponseMixin(TemplateResponseMixin): method get_template_names (line 172) | def get_template_names(self): class ListView (line 195) | class ListView(MultipleObjectTemplateResponseMixin, BaseListView): FILE: Django-1.5.1/django/views/i18n.py function set_language (line 17) | def set_language(request): function get_formats (line 43) | def get_formats(): function null_javascript_catalog (line 165) | def null_javascript_catalog(request, domain=None, packages=None): function javascript_catalog (line 173) | def javascript_catalog(request, domain='djangojs', packages=None): FILE: Django-1.5.1/django/views/static.py function serve (line 25) | def serve(request, path, document_root=None, show_indexes=False): function directory_index (line 113) | def directory_index(path, fullpath): function was_modified_since (line 135) | def was_modified_since(header=None, mtime=0, size=0): FILE: Django-1.5.1/docs/_ext/applyxrefs.py function target_name (line 12) | def target_name(fn): function process_file (line 17) | def process_file(fn, lines): function has_target (line 26) | def has_target(fn): function main (line 42) | def main(argv=None): FILE: Django-1.5.1/docs/_ext/djangodocs.py function setup (line 20) | def setup(app): class VersionDirective (line 59) | class VersionDirective(Directive): method run (line 66) | def run(self): class DjangoHTMLTranslator (line 86) | class DjangoHTMLTranslator(SmartyPantsHTMLTranslator): method visit_table (line 92) | def visit_table(self, node): method visit_desc_parameterlist (line 97) | def visit_desc_parameterlist(self, node): method depart_desc_parameterlist (line 102) | def depart_desc_parameterlist(self, node): method visit_literal_block (line 109) | def visit_literal_block(self, node): method depart_literal_block (line 113) | def depart_literal_block(self, node): method visit_versionmodified (line 132) | def visit_versionmodified(self, node): method depart_versionmodified (line 142) | def depart_versionmodified(self, node): method visit_section (line 146) | def visit_section(self, node): function parse_django_admin_node (line 153) | def parse_django_admin_node(env, sig, signode): function parse_django_adminopt_node (line 160) | def parse_django_adminopt_node(env, sig, signode): class DjangoStandaloneHTMLBuilder (line 189) | class DjangoStandaloneHTMLBuilder(StandaloneHTMLBuilder): method finish (line 196) | def finish(self): FILE: Django-1.5.1/docs/_ext/literals_to_xrefs.py function fixliterals (line 40) | def fixliterals(fname): function colorize (line 117) | def colorize(text='', opts=(), **kwargs): FILE: Django-1.5.1/extras/csrf_migration_helper.py function get_template_dirs (line 140) | def get_template_dirs(): function make_template_info (line 156) | def make_template_info(filename, root_dirs): class Template (line 165) | class Template(object): method __init__ (line 166) | def __init__(self, absolute_filename, relative_filenames): method content (line 169) | def content(self): method post_form_info (line 184) | def post_form_info(self): method includes_template (line 206) | def includes_template(self, t): method related_templates (line 215) | def related_templates(self): method __repr__ (line 235) | def __repr__(self): method __eq__ (line 238) | def __eq__(self, other): method __hash__ (line 241) | def __hash__(self): function get_templates (line 244) | def get_templates(dirs): function get_python_code (line 260) | def get_python_code(paths): function search_python_list (line 278) | def search_python_list(python_code, template_names): function search_python (line 291) | def search_python(python_code, template_name): function main (line 305) | def main(pythonpaths): FILE: Django-1.5.1/scripts/manage_translations.py function _get_locale_dirs (line 30) | def _get_locale_dirs(include_core=True): function _tx_resource_for_name (line 47) | def _tx_resource_for_name(name): function _check_diff (line 54) | def _check_diff(cat_name, base_path): function update_catalogs (line 67) | def update_catalogs(resources=None, languages=None): function lang_stats (line 92) | def lang_stats(resources=None, languages=None): function fetch (line 119) | def fetch(resources=None, languages=None): FILE: Django-1.5.1/setup.py class osx_install_data (line 23) | class osx_install_data(install_data): method finalize_options (line 29) | def finalize_options(self): function fullsplit (line 41) | def fullsplit(path, result=None): FILE: Django-1.5.1/tests/modeltests/aggregation/models.py class Author (line 7) | class Author(models.Model): method __str__ (line 12) | def __str__(self): class Publisher (line 16) | class Publisher(models.Model): method __str__ (line 20) | def __str__(self): class Book (line 24) | class Book(models.Model): method __str__ (line 35) | def __str__(self): class Store (line 39) | class Store(models.Model): method __str__ (line 45) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/aggregation/tests.py class BaseAggregateTestCase (line 12) | class BaseAggregateTestCase(TestCase): method test_empty_aggregate (line 15) | def test_empty_aggregate(self): method test_single_aggregate (line 18) | def test_single_aggregate(self): method test_multiple_aggregates (line 22) | def test_multiple_aggregates(self): method test_filter_aggregate (line 26) | def test_filter_aggregate(self): method test_related_aggregate (line 31) | def test_related_aggregate(self): method test_aggregate_multi_join (line 52) | def test_aggregate_multi_join(self): method test_aggregate_alias (line 61) | def test_aggregate_alias(self): method test_annotate_basic (line 66) | def test_annotate_basic(self): method test_annotate_m2m (line 87) | def test_annotate_m2m(self): method test_backwards_m2m_annotate (line 112) | def test_backwards_m2m_annotate(self): method test_reverse_fkey_annotate (line 142) | def test_reverse_fkey_annotate(self): method test_annotate_values (line 168) | def test_annotate_values(self): method test_count (line 268) | def test_count(self): method test_fkey_aggregate (line 275) | def test_fkey_aggregate(self): method test_annotate_ordering (line 280) | def test_annotate_ordering(self): method test_aggregate_annotation (line 325) | def test_aggregate_annotation(self): method test_filtering (line 329) | def test_filtering(self): method test_annotation (line 438) | def test_annotation(self): method test_more_aggregation (line 484) | def test_more_aggregation(self): method test_even_more_aggregate (line 493) | def test_even_more_aggregate(self): method test_annotate_values_list (line 533) | def test_annotate_values_list(self): method test_dates_with_aggregation (line 569) | def test_dates_with_aggregation(self): FILE: Django-1.5.1/tests/modeltests/base/models.py class CustomBaseModel (line 12) | class CustomBaseModel(models.base.ModelBase): class MyModel (line 16) | class MyModel(six.with_metaclass(CustomBaseModel, models.Model)): class MyModel (line 21) | class MyModel(models.Model): FILE: Django-1.5.1/tests/modeltests/basic/models.py class Article (line 12) | class Article(models.Model): class Meta (line 16) | class Meta: method __str__ (line 19) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/basic/tests.py class ModelTest (line 14) | class ModelTest(TestCase): method test_lookup (line 16) | def test_lookup(self): method test_object_creation (line 165) | def test_object_creation(self): method test_microsecond_precision (line 473) | def test_microsecond_precision(self): method test_microsecond_precision_not_supported (line 484) | def test_microsecond_precision_not_supported(self): method test_manually_specify_primary_key (line 495) | def test_manually_specify_primary_key(self): method test_create_method (line 506) | def test_create_method(self): method test_year_lookup_edge_case (line 514) | def test_year_lookup_edge_case(self): method test_unicode_data (line 528) | def test_unicode_data(self): method test_hash_function (line 538) | def test_hash_function(self): method test_field_ordering (line 558) | def test_field_ordering(self): method test_extra_method_select_argument_with_dashes_and_values (line 574) | def test_extra_method_select_argument_with_dashes_and_values(self): method test_extra_method_select_argument_with_dashes (line 597) | def test_extra_method_select_argument_with_dashes(self): method test_create_relation_with_ugettext_lazy (line 619) | def test_create_relation_with_ugettext_lazy(self): FILE: Django-1.5.1/tests/modeltests/choices/models.py class Person (line 22) | class Person(models.Model): method __str__ (line 26) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/choices/tests.py class ChoicesTests (line 8) | class ChoicesTests(TestCase): method test_display (line 9) | def test_display(self): FILE: Django-1.5.1/tests/modeltests/custom_columns/models.py class Author (line 25) | class Author(models.Model): method __str__ (line 29) | def __str__(self): class Meta (line 32) | class Meta: class Article (line 37) | class Article(models.Model): method __str__ (line 41) | def __str__(self): class Meta (line 44) | class Meta: FILE: Django-1.5.1/tests/modeltests/custom_columns/tests.py class CustomColumnsTests (line 10) | class CustomColumnsTests(TestCase): method test_db_column (line 11) | def test_db_column(self): FILE: Django-1.5.1/tests/modeltests/custom_managers/models.py class PersonManager (line 19) | class PersonManager(models.Manager): method get_fun_people (line 20) | def get_fun_people(self): class Person (line 24) | class Person(models.Model): method __str__ (line 30) | def __str__(self): class PublishedBookManager (line 35) | class PublishedBookManager(models.Manager): method get_query_set (line 36) | def get_query_set(self): class Book (line 40) | class Book(models.Model): method __str__ (line 47) | def __str__(self): class FastCarManager (line 52) | class FastCarManager(models.Manager): method get_query_set (line 53) | def get_query_set(self): class Car (line 57) | class Car(models.Model): method __str__ (line 64) | def __str__(self): class ObjectQuerySet (line 69) | class ObjectQuerySet(models.query.QuerySet): class ObjectManager (line 72) | class ObjectManager(models.Manager): method get_query_set (line 75) | def get_query_set(self): class RelatedObject (line 79) | class RelatedObject(models.Model): class Object (line 83) | class Object(models.Model): FILE: Django-1.5.1/tests/modeltests/custom_managers/tests.py class CustomManagerTests (line 10) | class CustomManagerTests(TestCase): method test_manager (line 11) | def test_manager(self): method test_related_manager (line 77) | def test_related_manager(self): FILE: Django-1.5.1/tests/modeltests/custom_methods/models.py class Article (line 14) | class Article(models.Model): method __str__ (line 18) | def __str__(self): method was_published_today (line 21) | def was_published_today(self): method articles_from_same_day_1 (line 24) | def articles_from_same_day_1(self): method articles_from_same_day_2 (line 27) | def articles_from_same_day_2(self): FILE: Django-1.5.1/tests/modeltests/custom_methods/tests.py class MethodsTests (line 10) | class MethodsTests(TestCase): method test_custom_methods (line 11) | def test_custom_methods(self): FILE: Django-1.5.1/tests/modeltests/custom_pk/fields.py class MyWrapper (line 10) | class MyWrapper(object): method __init__ (line 11) | def __init__(self, value): method __repr__ (line 14) | def __repr__(self): method __str__ (line 17) | def __str__(self): method __eq__ (line 20) | def __eq__(self, other): class MyAutoField (line 25) | class MyAutoField(six.with_metaclass(models.SubfieldBase, models.CharFie... method __init__ (line 27) | def __init__(self, *args, **kwargs): method pre_save (line 31) | def pre_save(self, instance, add): method to_python (line 38) | def to_python(self, value): method get_db_prep_save (line 45) | def get_db_prep_save(self, value, connection): method get_db_prep_value (line 52) | def get_db_prep_value(self, value, connection, prepared=False): FILE: Django-1.5.1/tests/modeltests/custom_pk/models.py class Employee (line 18) | class Employee(models.Model): class Meta (line 22) | class Meta: method __str__ (line 25) | def __str__(self): class Business (line 29) | class Business(models.Model): class Meta (line 32) | class Meta: method __str__ (line 35) | def __str__(self): class Bar (line 39) | class Bar(models.Model): method __str__ (line 42) | def __str__(self): class Foo (line 46) | class Foo(models.Model): FILE: Django-1.5.1/tests/modeltests/custom_pk/tests.py class CustomPKTests (line 11) | class CustomPKTests(TestCase): method test_custom_pk (line 12) | def test_custom_pk(self): method test_unicode_pk (line 142) | def test_unicode_pk(self): method test_unique_pk (line 146) | def test_unique_pk(self): method test_custom_field_pk (line 158) | def test_custom_field_pk(self): method test_required_pk (line 175) | def test_required_pk(self): FILE: Django-1.5.1/tests/modeltests/defer/models.py class Secondary (line 9) | class Secondary(models.Model): class Primary (line 14) | class Primary(models.Model): method __str__ (line 19) | def __str__(self): class Child (line 22) | class Child(Primary): class BigChild (line 25) | class BigChild(Primary): class ChildProxy (line 28) | class ChildProxy(Child): class Meta (line 29) | class Meta: FILE: Django-1.5.1/tests/modeltests/defer/tests.py class DeferTests (line 9) | class DeferTests(TestCase): method assert_delayed (line 10) | def assert_delayed(self, obj, num): method test_defer (line 18) | def test_defer(self): method test_defer_proxy (line 158) | def test_defer_proxy(self): method test_defer_inheritance_pk_chaining (line 172) | def test_defer_inheritance_pk_chaining(self): FILE: Django-1.5.1/tests/modeltests/delete/models.py class R (line 8) | class R(models.Model): method __str__ (line 11) | def __str__(self): class S (line 18) | class S(models.Model): class T (line 22) | class T(models.Model): class U (line 26) | class U(models.Model): class RChild (line 30) | class RChild(R): class A (line 34) | class A(models.Model): function create_a (line 66) | def create_a(name): class M (line 79) | class M(models.Model): class MR (line 87) | class MR(models.Model): class MRNull (line 92) | class MRNull(models.Model): class Avatar (line 97) | class Avatar(models.Model): class User (line 101) | class User(models.Model): class HiddenUser (line 105) | class HiddenUser(models.Model): class HiddenUserProfile (line 109) | class HiddenUserProfile(models.Model): class M2MTo (line 112) | class M2MTo(models.Model): class M2MFrom (line 115) | class M2MFrom(models.Model): class Parent (line 118) | class Parent(models.Model): class Child (line 121) | class Child(Parent): class Base (line 124) | class Base(models.Model): class RelToBase (line 127) | class RelToBase(models.Model): FILE: Django-1.5.1/tests/modeltests/delete/tests.py class OnDeleteTests (line 12) | class OnDeleteTests(TestCase): method setUp (line 13) | def setUp(self): method test_auto (line 16) | def test_auto(self): method test_auto_nullable (line 21) | def test_auto_nullable(self): method test_setvalue (line 26) | def test_setvalue(self): method test_setnull (line 32) | def test_setnull(self): method test_setdefault (line 38) | def test_setdefault(self): method test_setdefault_none (line 44) | def test_setdefault_none(self): method test_cascade (line 50) | def test_cascade(self): method test_cascade_nullable (line 55) | def test_cascade_nullable(self): method test_protect (line 60) | def test_protect(self): method test_do_nothing (line 64) | def test_do_nothing(self): method test_do_nothing_qscount (line 78) | def test_do_nothing_qscount(self): method test_inheritance_cascade_up (line 88) | def test_inheritance_cascade_up(self): method test_inheritance_cascade_down (line 93) | def test_inheritance_cascade_down(self): method test_cascade_from_child (line 99) | def test_cascade_from_child(self): method test_cascade_from_parent (line 105) | def test_cascade_from_parent(self): method test_setnull_from_child (line 111) | def test_setnull_from_child(self): method test_setnull_from_parent (line 119) | def test_setnull_from_parent(self): method test_o2o_setnull (line 127) | def test_o2o_setnull(self): class DeletionTests (line 134) | class DeletionTests(TestCase): method test_m2m (line 135) | def test_m2m(self): method test_bulk (line 166) | def test_bulk(self): method test_instance_update (line 178) | def test_instance_update(self): method test_deletion_order (line 203) | def test_deletion_order(self): method test_can_defer_constraint_checks (line 233) | def test_can_defer_constraint_checks(self): method test_cannot_defer_constraint_checks (line 257) | def test_cannot_defer_constraint_checks(self): method test_hidden_related (line 281) | def test_hidden_related(self): class FastDeleteTests (line 289) | class FastDeleteTests(TestCase): method test_fast_delete_fk (line 291) | def test_fast_delete_fk(self): method test_fast_delete_m2m (line 302) | def test_fast_delete_m2m(self): method test_fast_delete_revm2m (line 309) | def test_fast_delete_revm2m(self): method test_fast_delete_qs (line 316) | def test_fast_delete_qs(self): method test_fast_delete_joined_qs (line 323) | def test_fast_delete_joined_qs(self): method test_fast_delete_inheritance (line 333) | def test_fast_delete_inheritance(self): FILE: Django-1.5.1/tests/modeltests/distinct_on_fields/models.py class Tag (line 7) | class Tag(models.Model): class Meta (line 12) | class Meta: method __str__ (line 15) | def __str__(self): class Celebrity (line 19) | class Celebrity(models.Model): method __str__ (line 23) | def __str__(self): class Fan (line 26) | class Fan(models.Model): class Staff (line 30) | class Staff(models.Model): method __str__ (line 37) | def __str__(self): class StaffTag (line 41) | class StaffTag(models.Model): method __str__ (line 45) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/distinct_on_fields/tests.py class DistinctOnTests (line 9) | class DistinctOnTests(TestCase): method setUp (line 10) | def setUp(self): method test_basic_distinct_on (line 33) | def test_basic_distinct_on(self): method test_distinct_not_implemented_checks (line 105) | def test_distinct_not_implemented_checks(self): FILE: Django-1.5.1/tests/modeltests/empty/models.py class Empty (line 11) | class Empty(models.Model): FILE: Django-1.5.1/tests/modeltests/empty/no_models/tests.py class NoModelTests (line 4) | class NoModelTests(TestCase): FILE: Django-1.5.1/tests/modeltests/empty/tests.py class EmptyModelTests (line 12) | class EmptyModelTests(TestCase): method test_empty (line 13) | def test_empty(self): class NoModelTests (line 24) | class NoModelTests(TestCase): method test_no_models (line 35) | def test_no_models(self): FILE: Django-1.5.1/tests/modeltests/expressions/models.py class Employee (line 11) | class Employee(models.Model): method __str__ (line 15) | def __str__(self): class Company (line 19) | class Company(models.Model): method __str__ (line 31) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/expressions/tests.py class ExpressionsTests (line 11) | class ExpressionsTests(TestCase): method test_filter (line 12) | def test_filter(self): method test_ticket_18375_join_reuse (line 223) | def test_ticket_18375_join_reuse(self): method test_ticket_18375_kwarg_ordering (line 231) | def test_ticket_18375_kwarg_ordering(self): method test_ticket_18375_kwarg_ordering_2 (line 241) | def test_ticket_18375_kwarg_ordering_2(self): method test_ticket_18375_chained_filters (line 253) | def test_ticket_18375_chained_filters(self): FILE: Django-1.5.1/tests/modeltests/field_defaults/models.py class Article (line 20) | class Article(models.Model): method __str__ (line 24) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/field_defaults/tests.py class DefaultTests (line 11) | class DefaultTests(TestCase): method test_field_defaults (line 12) | def test_field_defaults(self): FILE: Django-1.5.1/tests/modeltests/field_subclassing/fields.py class Small (line 12) | class Small(object): method __init__ (line 17) | def __init__(self, first, second): method __str__ (line 20) | def __str__(self): class SmallField (line 23) | class SmallField(six.with_metaclass(models.SubfieldBase, models.Field)): method __init__ (line 30) | def __init__(self, *args, **kwargs): method get_internal_type (line 34) | def get_internal_type(self): method to_python (line 37) | def to_python(self, value): method get_db_prep_save (line 42) | def get_db_prep_save(self, value, connection): method get_prep_lookup (line 45) | def get_prep_lookup(self, lookup_type, value): class SmallerField (line 54) | class SmallerField(SmallField): class JSONField (line 58) | class JSONField(six.with_metaclass(models.SubfieldBase, models.TextField)): method to_python (line 63) | def to_python(self, value): method get_db_prep_save (line 71) | def get_db_prep_save(self, value, connection): FILE: Django-1.5.1/tests/modeltests/field_subclassing/models.py class MyModel (line 15) | class MyModel(models.Model): method __str__ (line 19) | def __str__(self): class OtherModel (line 22) | class OtherModel(models.Model): class DataModel (line 25) | class DataModel(models.Model): FILE: Django-1.5.1/tests/modeltests/field_subclassing/tests.py class CustomField (line 10) | class CustomField(TestCase): method test_defer (line 11) | def test_defer(self): method test_custom_field (line 31) | def test_custom_field(self): method test_field_subclassing (line 87) | def test_field_subclassing(self): FILE: Django-1.5.1/tests/modeltests/files/models.py class Storage (line 18) | class Storage(models.Model): method custom_upload_to (line 19) | def custom_upload_to(self, filename): method random_upload_to (line 22) | def random_upload_to(self, filename): FILE: Django-1.5.1/tests/modeltests/files/tests.py class FileStorageTests (line 17) | class FileStorageTests(TestCase): method tearDown (line 18) | def tearDown(self): method test_files (line 21) | def test_files(self): class FileTests (line 106) | class FileTests(unittest.TestCase): method test_context_manager (line 107) | def test_context_manager(self): method test_file_mode (line 116) | def test_file_mode(self): FILE: Django-1.5.1/tests/modeltests/fixtures/models.py class Category (line 19) | class Category(models.Model): method __str__ (line 23) | def __str__(self): class Meta (line 26) | class Meta: class Article (line 30) | class Article(models.Model): method __str__ (line 34) | def __str__(self): class Meta (line 37) | class Meta: class Blog (line 41) | class Blog(models.Model): method __str__ (line 47) | def __str__(self): class Tag (line 52) | class Tag(models.Model): method __str__ (line 59) | def __str__(self): class PersonManager (line 63) | class PersonManager(models.Manager): method get_by_natural_key (line 64) | def get_by_natural_key(self, name): class Person (line 68) | class Person(models.Model): method __str__ (line 71) | def __str__(self): class Meta (line 74) | class Meta: method natural_key (line 77) | def natural_key(self): class SpyManager (line 80) | class SpyManager(PersonManager): method get_query_set (line 81) | def get_query_set(self): class Spy (line 84) | class Spy(Person): class Visa (line 89) | class Visa(models.Model): method __str__ (line 93) | def __str__(self): class Book (line 98) | class Book(models.Model): method __str__ (line 102) | def __str__(self): class Meta (line 106) | class Meta: FILE: Django-1.5.1/tests/modeltests/fixtures/tests.py class TestCaseFixtureLoadingTests (line 12) | class TestCaseFixtureLoadingTests(TestCase): method testClassFixtures (line 15) | def testClassFixtures(self): class DumpDataAssertMixin (line 25) | class DumpDataAssertMixin(object): method _dumpdata_assert (line 27) | def _dumpdata_assert(self, args, output, format='json', natural_keys=F... class FixtureLoadingTests (line 45) | class FixtureLoadingTests(DumpDataAssertMixin, TestCase): method test_initial_data (line 47) | def test_initial_data(self): method test_loading_and_dumping (line 53) | def test_loading_and_dumping(self): method test_dumpdata_with_excludes (line 164) | def test_dumpdata_with_excludes(self): method test_dumpdata_with_filtering_manager (line 203) | def test_dumpdata_with_filtering_manager(self): method test_compress_format_loading (line 214) | def test_compress_format_loading(self): method test_compressed_specified_loading (line 221) | def test_compressed_specified_loading(self): method test_compressed_loading (line 228) | def test_compressed_loading(self): method test_ambiguous_compressed_fixture (line 235) | def test_ambiguous_compressed_fixture(self): method test_db_loading (line 241) | def test_db_loading(self): method test_loaddata_error_message (line 250) | def test_loaddata_error_message(self): method test_loading_using (line 265) | def test_loading_using(self): method test_unmatched_identifier_loading (line 274) | def test_unmatched_identifier_loading(self): method test_output_formats (line 282) | def test_output_formats(self): class FixtureTransactionTests (line 301) | class FixtureTransactionTests(DumpDataAssertMixin, TransactionTestCase): method test_format_discovery (line 304) | def test_format_discovery(self): FILE: Django-1.5.1/tests/modeltests/fixtures_model_package/models/__init__.py class Article (line 6) | class Article(models.Model): method __str__ (line 10) | def __str__(self): class Meta (line 13) | class Meta: class Book (line 17) | class Book(models.Model): class Meta (line 20) | class Meta: FILE: Django-1.5.1/tests/modeltests/fixtures_model_package/tests.py class SampleTestCase (line 10) | class SampleTestCase(TestCase): method testClassFixtures (line 13) | def testClassFixtures(self): class TestNoInitialDataLoading (line 26) | class TestNoInitialDataLoading(TransactionTestCase): method test_syncdb (line 27) | def test_syncdb(self): method test_flush (line 39) | def test_flush(self): class FixtureTestCase (line 60) | class FixtureTestCase(TestCase): method test_initial_data (line 61) | def test_initial_data(self): method test_loaddata (line 71) | def test_loaddata(self): FILE: Django-1.5.1/tests/modeltests/force_insert_update/models.py class Counter (line 8) | class Counter(models.Model): class InheritedCounter (line 12) | class InheritedCounter(Counter): class ProxyCounter (line 15) | class ProxyCounter(Counter): class Meta (line 16) | class Meta: class SubCounter (line 19) | class SubCounter(Counter): class WithCustomPK (line 22) | class WithCustomPK(models.Model): FILE: Django-1.5.1/tests/modeltests/force_insert_update/tests.py class ForceTests (line 10) | class ForceTests(TestCase): method test_force_update (line 11) | def test_force_update(self): class InheritanceTests (line 44) | class InheritanceTests(TestCase): method test_force_update_on_inherited_model (line 45) | def test_force_update_on_inherited_model(self): method test_force_update_on_proxy_model (line 50) | def test_force_update_on_proxy_model(self): method test_force_update_on_inherited_model_without_fields (line 55) | def test_force_update_on_inherited_model_without_fields(self): FILE: Django-1.5.1/tests/modeltests/generic_relations/models.py class TaggedItem (line 21) | class TaggedItem(models.Model): class Meta (line 29) | class Meta: method __str__ (line 32) | def __str__(self): class ValuableTaggedItem (line 35) | class ValuableTaggedItem(TaggedItem): class Comparison (line 39) | class Comparison(models.Model): method __str__ (line 54) | def __str__(self): class Animal (line 58) | class Animal(models.Model): method __str__ (line 67) | def __str__(self): class Vegetable (line 71) | class Vegetable(models.Model): method __str__ (line 77) | def __str__(self): class Mineral (line 81) | class Mineral(models.Model): method __str__ (line 87) | def __str__(self): class GeckoManager (line 90) | class GeckoManager(models.Manager): method get_query_set (line 91) | def get_query_set(self): class Gecko (line 94) | class Gecko(models.Model): FILE: Django-1.5.1/tests/modeltests/generic_relations/tests.py class GenericRelationsTests (line 12) | class GenericRelationsTests(TestCase): method test_generic_relations (line 13) | def test_generic_relations(self): method test_multiple_gfk (line 147) | def test_multiple_gfk(self): method test_gfk_subclasses (line 192) | def test_gfk_subclasses(self): method test_generic_inline_formsets (line 200) | def test_generic_inline_formsets(self): method test_gfk_manager (line 228) | def test_gfk_manager(self): class CustomWidget (line 234) | class CustomWidget(forms.TextInput): class TaggedItemForm (line 237) | class TaggedItemForm(forms.ModelForm): class Meta (line 238) | class Meta: class GenericInlineFormsetTest (line 242) | class GenericInlineFormsetTest(TestCase): method test_generic_inlineformset_factory (line 248) | def test_generic_inlineformset_factory(self): FILE: Django-1.5.1/tests/modeltests/get_latest/models.py class Article (line 16) | class Article(models.Model): class Meta (line 20) | class Meta: method __str__ (line 23) | def __str__(self): class Person (line 27) | class Person(models.Model): method __str__ (line 33) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/get_latest/tests.py class LatestTests (line 10) | class LatestTests(TestCase): method test_latest (line 11) | def test_latest(self): method test_latest_manual (line 51) | def test_latest_manual(self): FILE: Django-1.5.1/tests/modeltests/get_object_or_404/models.py class Author (line 18) | class Author(models.Model): method __str__ (line 21) | def __str__(self): class ArticleManager (line 24) | class ArticleManager(models.Manager): method get_query_set (line 25) | def get_query_set(self): class Article (line 29) | class Article(models.Model): method __str__ (line 35) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/get_object_or_404/tests.py class GetObjectOr404Tests (line 10) | class GetObjectOr404Tests(TestCase): method test_get_object_or_404 (line 11) | def test_get_object_or_404(self): method test_bad_class (line 84) | def test_bad_class(self): FILE: Django-1.5.1/tests/modeltests/get_or_create/models.py class Person (line 16) | class Person(models.Model): method __str__ (line 21) | def __str__(self): class ManualPrimaryKeyTest (line 24) | class ManualPrimaryKeyTest(models.Model): FILE: Django-1.5.1/tests/modeltests/get_or_create/tests.py class GetOrCreateTests (line 12) | class GetOrCreateTests(TestCase): method test_get_or_create (line 13) | def test_get_or_create(self): FILE: Django-1.5.1/tests/modeltests/invalid_models/invalid_models/models.py class FieldErrors (line 13) | class FieldErrors(models.Model): class Target (line 30) | class Target(models.Model): class Clash1 (line 38) | class Clash1(models.Model): class Clash2 (line 45) | class Clash2(models.Model): class Target2 (line 55) | class Target2(models.Model): class Clash3 (line 64) | class Clash3(models.Model): class ClashForeign (line 74) | class ClashForeign(models.Model): class ClashM2M (line 78) | class ClashM2M(models.Model): class SelfClashForeign (line 82) | class SelfClashForeign(models.Model): class ValidM2M (line 91) | class ValidM2M(models.Model): class SelfClashM2M (line 107) | class SelfClashM2M(models.Model): class Model (line 122) | class Model(models.Model): class Car (line 129) | class Car(models.Model): class MissingRelations (line 134) | class MissingRelations(models.Model): class MissingManualM2MModel (line 139) | class MissingManualM2MModel(models.Model): class Person (line 144) | class Person(models.Model): class Group (line 148) | class Group(models.Model): class GroupTwo (line 155) | class GroupTwo(models.Model): class Membership (line 161) | class Membership(models.Model): class MembershipMissingFK (line 167) | class MembershipMissingFK(models.Model): class PersonSelfRefM2M (line 171) | class PersonSelfRefM2M(models.Model): class PersonSelfRefM2MExplicit (line 177) | class PersonSelfRefM2MExplicit(models.Model): class Relationship (line 182) | class Relationship(models.Model): class ExplicitRelationship (line 188) | class ExplicitRelationship(models.Model): class RelationshipTripleFK (line 194) | class RelationshipTripleFK(models.Model): class RelationshipDoubleFK (line 201) | class RelationshipDoubleFK(models.Model): class AbstractModel (line 208) | class AbstractModel(models.Model): class Meta (line 211) | class Meta: class AbstractRelationModel (line 215) | class AbstractRelationModel(models.Model): class UniqueM2M (line 220) | class UniqueM2M(models.Model): class NonUniqueFKTarget1 (line 225) | class NonUniqueFKTarget1(models.Model): class UniqueFKTarget1 (line 230) | class UniqueFKTarget1(models.Model): class FKTarget (line 235) | class FKTarget(models.Model): class NonUniqueFKTarget2 (line 240) | class NonUniqueFKTarget2(models.Model): class UniqueFKTarget2 (line 245) | class UniqueFKTarget2(models.Model): class NonExistingOrderingWithSingleUnderscore (line 250) | class NonExistingOrderingWithSingleUnderscore(models.Model): class Meta (line 251) | class Meta: class InvalidSetNull (line 255) | class InvalidSetNull(models.Model): class InvalidSetDefault (line 259) | class InvalidSetDefault(models.Model): class UnicodeForeignKeys (line 263) | class UnicodeForeignKeys(models.Model): class PrimaryKeyNull (line 274) | class PrimaryKeyNull(models.Model): class OrderByPKModel (line 278) | class OrderByPKModel(models.Model): class Meta (line 285) | class Meta: class SwappableModel (line 289) | class SwappableModel(models.Model): class Meta (line 296) | class Meta: class SwappedModel (line 300) | class SwappedModel(models.Model): class Meta (line 316) | class Meta: class ReplacementModel (line 320) | class ReplacementModel(models.Model): class BadSwappableValue (line 328) | class BadSwappableValue(models.Model): class Meta (line 334) | class Meta: class BadSwappableModel (line 338) | class BadSwappableModel(models.Model): class Meta (line 344) | class Meta: class HardReferenceModel (line 348) | class HardReferenceModel(models.Model): class BadIndexTogether1 (line 359) | class BadIndexTogether1(models.Model): class Meta (line 360) | class Meta: FILE: Django-1.5.1/tests/modeltests/invalid_models/tests.py class InvalidModelTestCase (line 12) | class InvalidModelTestCase(unittest.TestCase): method setUp (line 15) | def setUp(self): method tearDown (line 29) | def tearDown(self): method test_invalid_models (line 44) | def test_invalid_models(self): FILE: Django-1.5.1/tests/modeltests/known_related_objects/models.py class Tournament (line 9) | class Tournament(models.Model): class Organiser (line 12) | class Organiser(models.Model): class Pool (line 15) | class Pool(models.Model): class PoolStyle (line 20) | class PoolStyle(models.Model): FILE: Django-1.5.1/tests/modeltests/known_related_objects/tests.py class ExistingRelatedInstancesTests (line 7) | class ExistingRelatedInstancesTests(TestCase): method test_foreign_key (line 10) | def test_foreign_key(self): method test_foreign_key_prefetch_related (line 16) | def test_foreign_key_prefetch_related(self): method test_foreign_key_multiple_prefetch (line 22) | def test_foreign_key_multiple_prefetch(self): method test_queryset_or (line 30) | def test_queryset_or(self): method test_queryset_or_different_cached_items (line 38) | def test_queryset_or_different_cached_items(self): method test_queryset_or_only_one_with_precache (line 47) | def test_queryset_or_only_one_with_precache(self): method test_queryset_and (line 61) | def test_queryset_and(self): method test_one_to_one (line 70) | def test_one_to_one(self): method test_one_to_one_select_related (line 76) | def test_one_to_one_select_related(self): method test_one_to_one_multi_select_related (line 82) | def test_one_to_one_multi_select_related(self): method test_one_to_one_prefetch_related (line 88) | def test_one_to_one_prefetch_related(self): method test_one_to_one_multi_prefetch_related (line 94) | def test_one_to_one_multi_prefetch_related(self): method test_reverse_one_to_one (line 100) | def test_reverse_one_to_one(self): method test_reverse_one_to_one_select_related (line 106) | def test_reverse_one_to_one_select_related(self): method test_reverse_one_to_one_prefetch_related (line 112) | def test_reverse_one_to_one_prefetch_related(self): method test_reverse_one_to_one_multi_select_related (line 118) | def test_reverse_one_to_one_multi_select_related(self): method test_reverse_one_to_one_multi_prefetch_related (line 124) | def test_reverse_one_to_one_multi_prefetch_related(self): FILE: Django-1.5.1/tests/modeltests/lookup/models.py class Author (line 14) | class Author(models.Model): class Meta (line 16) | class Meta: class Article (line 20) | class Article(models.Model): class Meta (line 24) | class Meta: method __str__ (line 27) | def __str__(self): class Tag (line 30) | class Tag(models.Model): class Meta (line 33) | class Meta: class Season (line 37) | class Season(models.Model): method __str__ (line 41) | def __str__(self): class Game (line 45) | class Game(models.Model): method __str__ (line 50) | def __str__(self): class Player (line 54) | class Player(models.Model): method __str__ (line 58) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/lookup/tests.py class LookupTests (line 12) | class LookupTests(TestCase): method setUp (line 14) | def setUp(self): method test_exists (line 46) | def test_exists(self): method test_lookup_int_as_str (line 54) | def test_lookup_int_as_str(self): method test_lookup_date_as_str (line 60) | def test_lookup_date_as_str(self): method test_iterator (line 73) | def test_iterator(self): method test_count (line 93) | def test_count(self): method test_in_bulk (line 109) | def test_in_bulk(self): method test_values (line 125) | def test_values(self): method test_values_list (line 254) | def test_values_list(self): method test_get_next_previous_by (line 323) | def test_get_next_previous_by(self): method test_escaping (line 357) | def test_escaping(self): method test_exclude (line 396) | def test_exclude(self): method test_none (line 438) | def test_none(self): method test_in (line 452) | def test_in(self): method test_error_messages (line 466) | def test_error_messages(self): method test_regex (line 481) | def test_regex(self): method test_regex_backreferencing (line 593) | def test_regex_backreferencing(self): method test_nonfield_lookups (line 613) | def test_nonfield_lookups(self): method test_lookup_collision (line 625) | def test_lookup_collision(self): FILE: Django-1.5.1/tests/modeltests/m2m_and_m2o/models.py class User (line 13) | class User(models.Model): class Issue (line 17) | class Issue(models.Model): method __str__ (line 22) | def __str__(self): class Meta (line 25) | class Meta: class UnicodeReferenceModel (line 28) | class UnicodeReferenceModel(models.Model): FILE: Django-1.5.1/tests/modeltests/m2m_and_m2o/tests.py class RelatedObjectTests (line 9) | class RelatedObjectTests(TestCase): method test_m2m_and_m2o (line 10) | def test_m2m_and_m2o(self): method test_m2m_with_unicode_reference (line 80) | def test_m2m_with_unicode_reference(self): class RelatedObjectTests (line 79) | class RelatedObjectTests(TestCase): method test_m2m_and_m2o (line 10) | def test_m2m_and_m2o(self): method test_m2m_with_unicode_reference (line 80) | def test_m2m_with_unicode_reference(self): FILE: Django-1.5.1/tests/modeltests/m2m_intermediary/models.py class Reporter (line 19) | class Reporter(models.Model): method __str__ (line 23) | def __str__(self): class Article (line 27) | class Article(models.Model): method __str__ (line 31) | def __str__(self): class Writer (line 35) | class Writer(models.Model): method __str__ (line 40) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/m2m_intermediary/tests.py class M2MIntermediaryTests (line 11) | class M2MIntermediaryTests(TestCase): method test_intermeiary (line 12) | def test_intermeiary(self): FILE: Django-1.5.1/tests/modeltests/m2m_multiple/models.py class Category (line 15) | class Category(models.Model): class Meta (line 17) | class Meta: method __str__ (line 20) | def __str__(self): class Article (line 24) | class Article(models.Model): class Meta (line 29) | class Meta: method __str__ (line 32) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/m2m_multiple/tests.py class M2MMultipleTests (line 10) | class M2MMultipleTests(TestCase): method test_multiple (line 11) | def test_multiple(self): FILE: Django-1.5.1/tests/modeltests/m2m_recursive/models.py class Person (line 24) | class Person(models.Model): method __str__ (line 29) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/m2m_recursive/tests.py class RecursiveM2MTests (line 10) | class RecursiveM2MTests(TestCase): method test_recursive_m2m (line 11) | def test_recursive_m2m(self): FILE: Django-1.5.1/tests/modeltests/m2m_signals/models.py class Part (line 6) | class Part(models.Model): class Meta (line 9) | class Meta: method __str__ (line 12) | def __str__(self): class Car (line 16) | class Car(models.Model): class Meta (line 21) | class Meta: method __str__ (line 24) | def __str__(self): class SportsCar (line 27) | class SportsCar(Car): class Person (line 31) | class Person(models.Model): class Meta (line 36) | class Meta: method __str__ (line 39) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/m2m_signals/tests.py class ManyToManySignalsTest (line 13) | class ManyToManySignalsTest(TestCase): method m2m_changed_signal_receiver (line 14) | def m2m_changed_signal_receiver(self, signal, sender, **kwargs): method setUp (line 27) | def setUp(self): method tearDown (line 44) | def tearDown(self): method test_m2m_relations_add_remove_clear (line 59) | def test_m2m_relations_add_remove_clear(self): method test_m2m_relations_with_self (line 334) | def test_m2m_relations_with_self(self): FILE: Django-1.5.1/tests/modeltests/m2m_through/models.py class Person (line 9) | class Person(models.Model): class Meta (line 12) | class Meta: method __str__ (line 15) | def __str__(self): class Group (line 19) | class Group(models.Model): class Meta (line 25) | class Meta: method __str__ (line 28) | def __str__(self): class Membership (line 32) | class Membership(models.Model): class Meta (line 38) | class Meta: method __str__ (line 41) | def __str__(self): class CustomMembership (line 45) | class CustomMembership(models.Model): method __str__ (line 51) | def __str__(self): class Meta (line 54) | class Meta: class TestNoDefaultsOrNulls (line 57) | class TestNoDefaultsOrNulls(models.Model): class PersonSelfRefM2M (line 63) | class PersonSelfRefM2M(models.Model): method __str__ (line 67) | def __str__(self): class Friendship (line 70) | class Friendship(models.Model): FILE: Django-1.5.1/tests/modeltests/m2m_through/tests.py class M2mThroughTests (line 12) | class M2mThroughTests(TestCase): method setUp (line 13) | def setUp(self): method test_m2m_through (line 20) | def test_m2m_through(self): method test_forward_descriptors (line 71) | def test_forward_descriptors(self): method test_reverse_descriptors (line 113) | def test_reverse_descriptors(self): method test_custom_tests (line 154) | def test_custom_tests(self): method test_self_referential_tests (line 191) | def test_self_referential_tests(self): method test_query_tests (line 240) | def test_query_tests(self): FILE: Django-1.5.1/tests/modeltests/m2o_recursive/models.py class Category (line 18) | class Category(models.Model): method __str__ (line 22) | def __str__(self): class Person (line 26) | class Person(models.Model): method __str__ (line 31) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/m2o_recursive/tests.py class ManyToOneRecursiveTests (line 8) | class ManyToOneRecursiveTests(TestCase): method setUp (line 10) | def setUp(self): method test_m2o_recursive (line 16) | def test_m2o_recursive(self): class MultipleManyToOneRecursiveTests (line 24) | class MultipleManyToOneRecursiveTests(TestCase): method setUp (line 26) | def setUp(self): method test_m2o_recursive2 (line 34) | def test_m2o_recursive2(self): FILE: Django-1.5.1/tests/modeltests/many_to_many/models.py class Publication (line 15) | class Publication(models.Model): method __str__ (line 18) | def __str__(self): class Meta (line 21) | class Meta: class Article (line 25) | class Article(models.Model): method __str__ (line 29) | def __str__(self): class Meta (line 32) | class Meta: FILE: Django-1.5.1/tests/modeltests/many_to_many/tests.py class ManyToManyTests (line 9) | class ManyToManyTests(TestCase): method setUp (line 11) | def setUp(self): method test_add (line 30) | def test_add(self): method test_reverse_add (line 68) | def test_reverse_add(self): method test_related_sets (line 103) | def test_related_sets(self): method test_selects (line 129) | def test_selects(self): method test_reverse_selects (line 204) | def test_reverse_selects(self): method test_delete (line 254) | def test_delete(self): method test_bulk_delete (line 278) | def test_bulk_delete(self): method test_remove (line 309) | def test_remove(self): method test_assign (line 332) | def test_assign(self): method test_assign_ids (line 354) | def test_assign_ids(self): method test_clear (line 370) | def test_clear(self): FILE: Django-1.5.1/tests/modeltests/many_to_one/models.py class Reporter (line 13) | class Reporter(models.Model): method __str__ (line 18) | def __str__(self): class Article (line 22) | class Article(models.Model): method __str__ (line 27) | def __str__(self): class Meta (line 30) | class Meta: FILE: Django-1.5.1/tests/modeltests/many_to_one/tests.py class ManyToOneTests (line 14) | class ManyToOneTests(TestCase): method setUp (line 15) | def setUp(self): method test_get (line 26) | def test_get(self): method test_create (line 35) | def test_create(self): method test_add (line 49) | def test_add(self): method test_assign (line 81) | def test_assign(self): method test_selects (line 119) | def test_selects(self): method test_reverse_selects (line 238) | def test_reverse_selects(self): method test_select_related (line 309) | def test_select_related(self): method test_delete (line 333) | def test_delete(self): method test_regression_12876 (line 371) | def test_regression_12876(self): method test_explicit_fk (line 377) | def test_explicit_fk(self): method test_manager_class_caching (line 408) | def test_manager_class_caching(self): method test_create_relation_with_ugettext_lazy (line 418) | def test_create_relation_with_ugettext_lazy(self): method test_values_list_exception (line 429) | def test_values_list_exception(self): FILE: Django-1.5.1/tests/modeltests/many_to_one_null/models.py class Reporter (line 13) | class Reporter(models.Model): method __str__ (line 16) | def __str__(self): class Article (line 20) | class Article(models.Model): class Meta (line 24) | class Meta: method __str__ (line 27) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/many_to_one_null/tests.py class ManyToOneNullTests (line 8) | class ManyToOneNullTests(TestCase): method setUp (line 9) | def setUp(self): method test_get_related (line 26) | def test_get_related(self): method test_created_via_related_set (line 32) | def test_created_via_related_set(self): method test_related_set (line 35) | def test_related_set(self): method test_created_without_related (line 43) | def test_created_without_related(self): method test_remove_from_wrong_set (line 71) | def test_remove_from_wrong_set(self): method test_assign_clear_related_set (line 77) | def test_assign_clear_related_set(self): method test_clear_efficiency (line 89) | def test_clear_efficiency(self): FILE: Django-1.5.1/tests/modeltests/model_forms/models.py class Category (line 36) | class Category(models.Model): method __str__ (line 41) | def __str__(self): method __repr__ (line 44) | def __repr__(self): class Writer (line 48) | class Writer(models.Model): class Meta (line 51) | class Meta: method __str__ (line 54) | def __str__(self): class Article (line 58) | class Article(models.Model): method save (line 68) | def save(self): method __str__ (line 74) | def __str__(self): class ImprovedArticle (line 77) | class ImprovedArticle(models.Model): class ImprovedArticleWithParentLink (line 80) | class ImprovedArticleWithParentLink(models.Model): class BetterWriter (line 83) | class BetterWriter(Writer): class WriterProfile (line 87) | class WriterProfile(models.Model): method __str__ (line 91) | def __str__(self): class TextFile (line 95) | class TextFile(models.Model): method __str__ (line 99) | def __str__(self): class ImageFile (line 115) | class ImageFile(models.Model): method custom_upload_path (line 116) | def custom_upload_path(self, filename): method __str__ (line 130) | def __str__(self): class OptionalImageFile (line 134) | class OptionalImageFile(models.Model): method custom_upload_path (line 135) | def custom_upload_path(self, filename): method __str__ (line 147) | def __str__(self): class CommaSeparatedInteger (line 153) | class CommaSeparatedInteger(models.Model): method __str__ (line 156) | def __str__(self): class Product (line 160) | class Product(models.Model): method __str__ (line 163) | def __str__(self): class Price (line 167) | class Price(models.Model): method __str__ (line 171) | def __str__(self): class Meta (line 174) | class Meta: class ArticleStatus (line 177) | class ArticleStatus(models.Model): class Inventory (line 181) | class Inventory(models.Model): class Meta (line 186) | class Meta: method __str__ (line 189) | def __str__(self): method __repr__ (line 192) | def __repr__(self): class Book (line 195) | class Book(models.Model): class Meta (line 200) | class Meta: class BookXtra (line 203) | class BookXtra(models.Model): class Meta (line 208) | class Meta: class DerivedBook (line 212) | class DerivedBook(Book, BookXtra): class ExplicitPK (line 216) | class ExplicitPK(models.Model): class Meta (line 219) | class Meta: method __str__ (line 222) | def __str__(self): class Post (line 226) | class Post(models.Model): method __str__ (line 232) | def __str__(self): class DerivedPost (line 235) | class DerivedPost(Post): class BigInt (line 239) | class BigInt(models.Model): method __str__ (line 242) | def __str__(self): class MarkupField (line 245) | class MarkupField(models.CharField): method __init__ (line 246) | def __init__(self, *args, **kwargs): method formfield (line 250) | def formfield(self, **kwargs): class CustomFieldForExclusionModel (line 257) | class CustomFieldForExclusionModel(models.Model): class FlexibleDatePost (line 261) | class FlexibleDatePost(models.Model): class Colour (line 268) | class Colour(models.Model): method __iter__ (line 271) | def __iter__(self): method __str__ (line 275) | def __str__(self): class ColourfulItem (line 278) | class ColourfulItem(models.Model): FILE: Django-1.5.1/tests/modeltests/model_forms/tests.py class ImageFileForm (line 27) | class ImageFileForm(forms.ModelForm): class Meta (line 28) | class Meta: class OptionalImageFileForm (line 31) | class OptionalImageFileForm(forms.ModelForm): class Meta (line 32) | class Meta: class ProductForm (line 35) | class ProductForm(forms.ModelForm): class Meta (line 36) | class Meta: class PriceForm (line 40) | class PriceForm(forms.ModelForm): class Meta (line 41) | class Meta: class BookForm (line 45) | class BookForm(forms.ModelForm): class Meta (line 46) | class Meta: class DerivedBookForm (line 50) | class DerivedBookForm(forms.ModelForm): class Meta (line 51) | class Meta: class ExplicitPKForm (line 55) | class ExplicitPKForm(forms.ModelForm): class Meta (line 56) | class Meta: class PostForm (line 61) | class PostForm(forms.ModelForm): class Meta (line 62) | class Meta: class DerivedPostForm (line 66) | class DerivedPostForm(forms.ModelForm): class Meta (line 67) | class Meta: class CustomWriterForm (line 71) | class CustomWriterForm(forms.ModelForm): class Meta (line 74) | class Meta: class FlexDatePostForm (line 78) | class FlexDatePostForm(forms.ModelForm): class Meta (line 79) | class Meta: class BaseCategoryForm (line 83) | class BaseCategoryForm(forms.ModelForm): class Meta (line 84) | class Meta: class ArticleForm (line 88) | class ArticleForm(forms.ModelForm): class Meta (line 89) | class Meta: class Meta (line 94) | class Meta: class ArticleForm (line 93) | class ArticleForm(forms.ModelForm): class Meta (line 89) | class Meta: class Meta (line 94) | class Meta: class PartialArticleForm (line 97) | class PartialArticleForm(forms.ModelForm): class Meta (line 98) | class Meta: class RoykoForm (line 102) | class RoykoForm(forms.ModelForm): class Meta (line 103) | class Meta: class TestArticleForm (line 106) | class TestArticleForm(forms.ModelForm): class Meta (line 107) | class Meta: class PartialArticleFormWithSlug (line 110) | class PartialArticleFormWithSlug(forms.ModelForm): class Meta (line 111) | class Meta: class ArticleStatusForm (line 115) | class ArticleStatusForm(forms.ModelForm): class Meta (line 116) | class Meta: class InventoryForm (line 119) | class InventoryForm(forms.ModelForm): class Meta (line 120) | class Meta: class SelectInventoryForm (line 123) | class SelectInventoryForm(forms.Form): class CustomFieldForExclusionForm (line 126) | class CustomFieldForExclusionForm(forms.ModelForm): class Meta (line 127) | class Meta: class ShortCategory (line 131) | class ShortCategory(forms.ModelForm): class ImprovedArticleForm (line 136) | class ImprovedArticleForm(forms.ModelForm): class Meta (line 137) | class Meta: class ImprovedArticleWithParentLinkForm (line 140) | class ImprovedArticleWithParentLinkForm(forms.ModelForm): class Meta (line 141) | class Meta: class BetterWriterForm (line 144) | class BetterWriterForm(forms.ModelForm): class Meta (line 145) | class Meta: class WriterProfileForm (line 148) | class WriterProfileForm(forms.ModelForm): class Meta (line 149) | class Meta: class TextFileForm (line 152) | class TextFileForm(forms.ModelForm): class Meta (line 153) | class Meta: class BigIntForm (line 156) | class BigIntForm(forms.ModelForm): class Meta (line 157) | class Meta: class ModelFormWithMedia (line 160) | class ModelFormWithMedia(forms.ModelForm): class Media (line 161) | class Media: class Meta (line 166) | class Meta: class CommaSeparatedIntegerForm (line 169) | class CommaSeparatedIntegerForm(forms.ModelForm): class Meta (line 170) | class Meta: class PriceFormWithoutQuantity (line 173) | class PriceFormWithoutQuantity(forms.ModelForm): class Meta (line 174) | class Meta: class ColourfulItemForm (line 178) | class ColourfulItemForm(forms.ModelForm): class Meta (line 179) | class Meta: class ModelFormBaseTest (line 183) | class ModelFormBaseTest(TestCase): method test_base_form (line 184) | def test_base_form(self): method test_extra_fields (line 188) | def test_extra_fields(self): method test_replace_field (line 195) | def test_replace_field(self): method test_override_field (line 205) | def test_override_field(self): method test_limit_fields (line 215) | def test_limit_fields(self): method test_exclude_fields (line 224) | def test_exclude_fields(self): method test_confused_form (line 233) | def test_confused_form(self): method test_mixmodel_form (line 246) | def test_mixmodel_form(self): method test_article_form (line 264) | def test_article_form(self): method test_bad_form (line 270) | def test_bad_form(self): method test_subcategory_form (line 280) | def test_subcategory_form(self): method test_subclassmeta_form (line 291) | def test_subclassmeta_form(self): method test_orderfields_form (line 312) | def test_orderfields_form(self): method test_orderfields2_form (line 326) | def test_orderfields2_form(self): class TestWidgetForm (line 337) | class TestWidgetForm(forms.ModelForm): class Meta (line 338) | class Meta: class TestWidgets (line 348) | class TestWidgets(TestCase): method test_base_widgets (line 349) | def test_base_widgets(self): class IncompleteCategoryFormWithFields (line 365) | class IncompleteCategoryFormWithFields(forms.ModelForm): class Meta (line 372) | class Meta: class IncompleteCategoryFormWithExclude (line 376) | class IncompleteCategoryFormWithExclude(forms.ModelForm): class Meta (line 383) | class Meta: class ValidationTest (line 388) | class ValidationTest(TestCase): method test_validates_with_replaced_field_not_specified (line 389) | def test_validates_with_replaced_field_not_specified(self): method test_validates_with_replaced_field_excluded (line 393) | def test_validates_with_replaced_field_excluded(self): method test_notrequired_overrides_notblank (line 397) | def test_notrequired_overrides_notblank(self): class UniqueTest (line 405) | class UniqueTest(TestCase): method setUp (line 406) | def setUp(self): method test_simple_unique (line 409) | def test_simple_unique(self): method test_unique_together (line 419) | def test_unique_together(self): method test_unique_null (line 429) | def test_unique_null(self): method test_inherited_unique (line 444) | def test_inherited_unique(self): method test_inherited_unique_together (line 452) | def test_inherited_unique_together(self): method test_abstract_inherited_unique (line 462) | def test_abstract_inherited_unique(self): method test_abstract_inherited_unique_together (line 471) | def test_abstract_inherited_unique_together(self): method test_explicitpk_unspecified (line 487) | def test_explicitpk_unspecified(self): method test_explicitpk_unique (line 492) | def test_explicitpk_unique(self): method test_unique_for_date (line 504) | def test_unique_for_date(self): method test_inherited_unique_for_date (line 530) | def test_inherited_unique_for_date(self): method test_unique_for_date_with_nullable_date (line 552) | def test_unique_for_date_with_nullable_date(self): class ModelToDictTests (line 566) | class ModelToDictTests(TestCase): method test_model_to_dict_many_to_many (line 570) | def test_model_to_dict_many_to_many(self): class OldFormForXTests (line 602) | class OldFormForXTests(TestCase): method test_base_form (line 603) | def test_base_form(self): method test_auto_id (line 622) | def test_auto_id(self): method test_with_data (line 631) | def test_with_data(self): method test_file_field (line 1153) | def test_file_field(self): method test_big_integer_field (line 1263) | def test_big_integer_field(self): method test_image_field (line 1276) | def test_image_field(self): method test_media_on_modelform (line 1411) | def test_media_on_modelform(self): method test_foreignkeys_which_use_to_field (line 1471) | def test_foreignkeys_which_use_to_field(self): method test_model_field_that_returns_none_to_exclude_itself_with_explicit_fields (line 1518) | def test_model_field_that_returns_none_to_exclude_itself_with_explicit... method test_iterable_model_m2m (line 1524) | def test_iterable_model_m2m(self) : FILE: Django-1.5.1/tests/modeltests/model_formsets/models.py class Author (line 11) | class Author(models.Model): class Meta (line 14) | class Meta: method __str__ (line 17) | def __str__(self): class BetterAuthor (line 20) | class BetterAuthor(Author): class Book (line 24) | class Book(models.Model): class Meta (line 28) | class Meta: method __str__ (line 34) | def __str__(self): class BookWithCustomPK (line 38) | class BookWithCustomPK(models.Model): method __str__ (line 43) | def __str__(self): class Editor (line 46) | class Editor(models.Model): class BookWithOptionalAltEditor (line 50) | class BookWithOptionalAltEditor(models.Model): class Meta (line 56) | class Meta: method __str__ (line 61) | def __str__(self): class AlternateBook (line 65) | class AlternateBook(Book): method __str__ (line 68) | def __str__(self): class AuthorMeeting (line 72) | class AuthorMeeting(models.Model): method __str__ (line 77) | def __str__(self): class CustomPrimaryKey (line 80) | class CustomPrimaryKey(models.Model): class Place (line 88) | class Place(models.Model): method __str__ (line 92) | def __str__(self): class Owner (line 96) | class Owner(models.Model): method __str__ (line 101) | def __str__(self): class Location (line 104) | class Location(models.Model): class OwnerProfile (line 111) | class OwnerProfile(models.Model): method __str__ (line 115) | def __str__(self): class Restaurant (line 119) | class Restaurant(Place): method __str__ (line 122) | def __str__(self): class Product (line 126) | class Product(models.Model): method __str__ (line 129) | def __str__(self): class Price (line 133) | class Price(models.Model): method __str__ (line 137) | def __str__(self): class Meta (line 140) | class Meta: class MexicanRestaurant (line 143) | class MexicanRestaurant(Restaurant): class ClassyMexicanRestaurant (line 146) | class ClassyMexicanRestaurant(MexicanRestaurant): class Repository (line 153) | class Repository(models.Model): method __str__ (line 156) | def __str__(self): class Revision (line 160) | class Revision(models.Model): class Meta (line 164) | class Meta: method __str__ (line 167) | def __str__(self): class Person (line 173) | class Person(models.Model): class Membership (line 176) | class Membership(models.Model): class Team (line 182) | class Team(models.Model): class Player (line 186) | class Player(models.Model): method __str__ (line 190) | def __str__(self): class Poet (line 195) | class Poet(models.Model): method __str__ (line 198) | def __str__(self): class Poem (line 202) | class Poem(models.Model): method __str__ (line 206) | def __str__(self): class Post (line 210) | class Post(models.Model): method __str__ (line 216) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/model_formsets/tests.py class DeletionTests (line 22) | class DeletionTests(TestCase): method test_deletion (line 23) | def test_deletion(self): method test_add_form_deletion_when_invalid (line 39) | def test_add_form_deletion_when_invalid(self): method test_change_form_deletion_when_invalid (line 65) | def test_change_form_deletion_when_invalid(self): class ModelFormsetTest (line 92) | class ModelFormsetTest(TestCase): method test_simple_save (line 93) | def test_simple_save(self): method test_commit_false (line 237) | def test_commit_false(self): method test_max_num (line 278) | def test_max_num(self): method test_custom_save_method (line 328) | def test_custom_save_method(self): method test_custom_form (line 359) | def test_custom_form(self): method test_model_inheritance (line 381) | def test_model_inheritance(self): method test_inline_formsets (line 431) | def test_inline_formsets(self): method test_inline_formsets_save_as_new (line 506) | def test_inline_formsets_save_as_new(self): method test_inline_formsets_with_custom_pk (line 543) | def test_inline_formsets_with_custom_pk(self): method test_inline_formsets_with_multi_table_inheritance (line 575) | def test_inline_formsets_with_multi_table_inheritance(self): method test_inline_formsets_with_nullable_unique_together (line 606) | def test_inline_formsets_with_nullable_unique_together(self): method test_inline_formsets_with_custom_save_method (line 633) | def test_inline_formsets_with_custom_save_method(self): method test_custom_pk (line 723) | def test_custom_pk(self): method test_unique_true_enforces_max_num_one (line 850) | def test_unique_true_enforces_max_num_one(self): method test_foreign_keys_in_parents (line 864) | def test_foreign_keys_in_parents(self): method test_unique_validation (line 868) | def test_unique_validation(self): method test_unique_together_validation (line 893) | def test_unique_together_validation(self): method test_unique_together_with_inlineformset_factory (line 921) | def test_unique_together_with_inlineformset_factory(self): method test_callable_defaults (line 970) | def test_callable_defaults(self): method test_inlineformset_factory_with_null_fk (line 1041) | def test_inlineformset_factory_with_null_fk(self): method test_model_formset_with_custom_pk (line 1059) | def test_model_formset_with_custom_pk(self): method test_prevent_duplicates_from_with_the_same_formset (line 1065) | def test_prevent_duplicates_from_with_the_same_formset(self): FILE: Django-1.5.1/tests/modeltests/model_inheritance/models.py class CommonInfo (line 24) | class CommonInfo(models.Model): class Meta (line 28) | class Meta: method __str__ (line 32) | def __str__(self): class Worker (line 35) | class Worker(CommonInfo): class Student (line 38) | class Student(CommonInfo): class Meta (line 41) | class Meta: class StudentWorker (line 44) | class StudentWorker(Student, Worker): class Post (line 51) | class Post(models.Model): class Attachment (line 55) | class Attachment(models.Model): class Meta (line 59) | class Meta: method __str__ (line 62) | def __str__(self): class Comment (line 65) | class Comment(Attachment): class Link (line 68) | class Link(Attachment): class Chef (line 76) | class Chef(models.Model): method __str__ (line 79) | def __str__(self): class Place (line 83) | class Place(models.Model): method __str__ (line 87) | def __str__(self): class Rating (line 90) | class Rating(models.Model): class Meta (line 93) | class Meta: class Restaurant (line 98) | class Restaurant(Place, Rating): class Meta (line 103) | class Meta(Rating.Meta): method __str__ (line 106) | def __str__(self): class ItalianRestaurant (line 110) | class ItalianRestaurant(Restaurant): method __str__ (line 113) | def __str__(self): class Supplier (line 117) | class Supplier(Place): method __str__ (line 120) | def __str__(self): class ParkingLot (line 124) | class ParkingLot(Place): method __str__ (line 129) | def __str__(self): class Title (line 141) | class Title(models.Model): class NamedURL (line 144) | class NamedURL(models.Model): class Meta (line 148) | class Meta: class Copy (line 152) | class Copy(NamedURL): method __str__ (line 155) | def __str__(self): class Mixin (line 158) | class Mixin(object): method __init__ (line 159) | def __init__(self): class MixinModel (line 163) | class MixinModel(models.Model, Mixin): FILE: Django-1.5.1/tests/modeltests/model_inheritance/tests.py class ModelInheritanceTests (line 13) | class ModelInheritanceTests(TestCase): method test_abstract (line 14) | def test_abstract(self): method test_multiple_table (line 75) | def test_multiple_table(self): method test_mixin_init (line 276) | def test_mixin_init(self): method test_update_query_counts (line 280) | def test_update_query_counts(self): FILE: Django-1.5.1/tests/modeltests/model_inheritance_same_model_name/models.py class Copy (line 20) | class Copy(NamedURL): method __str__ (line 23) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/model_inheritance_same_model_name/tests.py class InheritanceSameModelNameTests (line 8) | class InheritanceSameModelNameTests(TestCase): method setUp (line 10) | def setUp(self): method test_inheritance_related_name (line 16) | def test_inheritance_related_name(self): method test_inheritance_with_same_model_name (line 25) | def test_inheritance_with_same_model_name(self): method test_related_name_attribute_exists (line 34) | def test_related_name_attribute_exists(self): FILE: Django-1.5.1/tests/modeltests/model_package/models/article.py class Article (line 5) | class Article(models.Model): class Meta (line 10) | class Meta: FILE: Django-1.5.1/tests/modeltests/model_package/models/publication.py class Publication (line 4) | class Publication(models.Model): class Meta (line 7) | class Meta: FILE: Django-1.5.1/tests/modeltests/model_package/tests.py class Advertisment (line 11) | class Advertisment(models.Model): class Meta (line 17) | class Meta: class ModelPackageTests (line 21) | class ModelPackageTests(TestCase): method test_model_packages (line 22) | def test_model_packages(self): FILE: Django-1.5.1/tests/modeltests/mutually_referential/models.py class Parent (line 10) | class Parent(models.Model): class Child (line 16) | class Child(models.Model): FILE: Django-1.5.1/tests/modeltests/mutually_referential/tests.py class MutuallyReferentialTests (line 8) | class MutuallyReferentialTests(TestCase): method test_mutually_referential (line 10) | def test_mutually_referential(self): FILE: Django-1.5.1/tests/modeltests/one_to_one/models.py class Place (line 15) | class Place(models.Model): method __str__ (line 19) | def __str__(self): class Restaurant (line 23) | class Restaurant(models.Model): method __str__ (line 28) | def __str__(self): class Waiter (line 32) | class Waiter(models.Model): method __str__ (line 36) | def __str__(self): class ManualPrimaryKey (line 39) | class ManualPrimaryKey(models.Model): class RelatedModel (line 43) | class RelatedModel(models.Model): class MultiModel (line 48) | class MultiModel(models.Model): method __str__ (line 53) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/one_to_one/tests.py class OneToOneTests (line 9) | class OneToOneTests(TestCase): method setUp (line 11) | def setUp(self): method test_getter (line 19) | def test_getter(self): method test_setter (line 27) | def test_setter(self): method test_manager_all (line 41) | def test_manager_all(self): method test_manager_get (line 53) | def test_manager_get(self): method test_foreign_key (line 82) | def test_foreign_key(self): method test_multiple_o2o (line 107) | def test_multiple_o2o(self): FILE: Django-1.5.1/tests/modeltests/or_lookups/models.py class Article (line 17) | class Article(models.Model): class Meta (line 21) | class Meta: method __str__ (line 24) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/or_lookups/tests.py class OrLookupsTests (line 12) | class OrLookupsTests(TestCase): method setUp (line 14) | def setUp(self): method test_filter_or (line 25) | def test_filter_or(self): method test_stages (line 63) | def test_stages(self): method test_pk_q (line 78) | def test_pk_q(self): method test_pk_in (line 96) | def test_pk_in(self): method test_q_negated (line 124) | def test_q_negated(self): method test_complex_filter (line 149) | def test_complex_filter(self): method test_empty_in (line 168) | def test_empty_in(self): method test_q_and (line 183) | def test_q_and(self): method test_q_exclude (line 204) | def test_q_exclude(self): method test_other_arg_queries (line 212) | def test_other_arg_queries(self): FILE: Django-1.5.1/tests/modeltests/order_with_respect_to/models.py class Question (line 10) | class Question(models.Model): class Answer (line 14) | class Answer(models.Model): class Meta (line 18) | class Meta: method __str__ (line 21) | def __str__(self): class Post (line 25) | class Post(models.Model): class Meta (line 29) | class Meta: method __str__ (line 32) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/order_with_respect_to/tests.py class OrderWithRespectToTests (line 10) | class OrderWithRespectToTests(TestCase): method test_basic (line 11) | def test_basic(self): method test_recursive_ordering (line 66) | def test_recursive_ordering(self): FILE: Django-1.5.1/tests/modeltests/ordering/models.py class Article (line 21) | class Article(models.Model): class Meta (line 24) | class Meta: method __str__ (line 27) | def __str__(self): class ArticlePKOrdering (line 31) | class ArticlePKOrdering(models.Model): class Meta (line 34) | class Meta: method __str__ (line 37) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/ordering/tests.py class OrderingTests (line 11) | class OrderingTests(TestCase): method test_basic (line 12) | def test_basic(self): method test_order_by_pk (line 141) | def test_order_by_pk(self): FILE: Django-1.5.1/tests/modeltests/prefetch_related/models.py class Author (line 9) | class Author(models.Model): method __str__ (line 15) | def __str__(self): class Meta (line 18) | class Meta: class AuthorWithAge (line 22) | class AuthorWithAge(Author): class FavoriteAuthors (line 27) | class FavoriteAuthors(models.Model): class Meta (line 31) | class Meta: class AuthorAddress (line 36) | class AuthorAddress(models.Model): class Meta (line 40) | class Meta: method __str__ (line 43) | def __str__(self): class Book (line 48) | class Book(models.Model): method __str__ (line 52) | def __str__(self): class Meta (line 55) | class Meta: class BookWithYear (line 58) | class BookWithYear(Book): class Reader (line 66) | class Reader(models.Model): method __str__ (line 70) | def __str__(self): class Meta (line 73) | class Meta: class BookReview (line 76) | class BookReview(models.Model): class Qualification (line 82) | class Qualification(models.Model): class Meta (line 85) | class Meta: class TeacherManager (line 89) | class TeacherManager(models.Manager): method get_query_set (line 90) | def get_query_set(self): class Teacher (line 95) | class Teacher(models.Model): method __str__ (line 101) | def __str__(self): class Meta (line 104) | class Meta: class Department (line 108) | class Department(models.Model): class Meta (line 112) | class Meta: class TaggedItem (line 119) | class TaggedItem(models.Model): method __str__ (line 133) | def __str__(self): class Bookmark (line 137) | class Bookmark(models.Model): class Comment (line 146) | class Comment(models.Model): class House (line 158) | class House(models.Model): class Meta (line 161) | class Meta: class Room (line 164) | class Room(models.Model): class Meta (line 168) | class Meta: class Person (line 172) | class Person(models.Model): method primary_house (line 177) | def primary_house(self): class Meta (line 181) | class Meta: class Employee (line 188) | class Employee(models.Model): method __str__ (line 193) | def __str__(self): class Meta (line 196) | class Meta: FILE: Django-1.5.1/tests/modeltests/prefetch_related/tests.py class PrefetchRelatedTests (line 14) | class PrefetchRelatedTests(TestCase): method setUp (line 16) | def setUp(self): method test_m2m_forward (line 43) | def test_m2m_forward(self): method test_m2m_reverse (line 51) | def test_m2m_reverse(self): method test_foreignkey_forward (line 58) | def test_foreignkey_forward(self): method test_foreignkey_reverse (line 65) | def test_foreignkey_reverse(self): method test_onetoone_reverse_no_match (line 72) | def test_onetoone_reverse_no_match(self): method test_survives_clone (line 80) | def test_survives_clone(self): method test_len (line 85) | def test_len(self): method test_bool (line 92) | def test_bool(self): method test_count (line 99) | def test_count(self): method test_exists (line 104) | def test_exists(self): method test_clear (line 109) | def test_clear(self): method test_m2m_then_m2m (line 118) | def test_m2m_then_m2m(self): method test_overriding_prefetch (line 135) | def test_overriding_prefetch(self): method test_get (line 161) | def test_get(self): method test_foreign_key_then_m2m (line 172) | def test_foreign_key_then_m2m(self): method test_attribute_error (line 186) | def test_attribute_error(self): method test_invalid_final_lookup (line 193) | def test_invalid_final_lookup(self): class DefaultManagerTests (line 202) | class DefaultManagerTests(TestCase): method setUp (line 204) | def setUp(self): method test_m2m_then_m2m (line 224) | def test_m2m_then_m2m(self): class GenericRelationTests (line 239) | class GenericRelationTests(TestCase): method setUp (line 241) | def setUp(self): method test_prefetch_GFK (line 257) | def test_prefetch_GFK(self): method test_prefetch_GFK_nonint_pk (line 268) | def test_prefetch_GFK_nonint_pk(self): method test_traverse_GFK (line 276) | def test_traverse_GFK(self): method test_nullable_GFK (line 300) | def test_nullable_GFK(self): method test_generic_relation (line 312) | def test_generic_relation(self): method test_charfield_GFK (line 322) | def test_charfield_GFK(self): class MultiTableInheritanceTest (line 333) | class MultiTableInheritanceTest(TestCase): method setUp (line 335) | def setUp(self): method test_foreignkey (line 354) | def test_foreignkey(self): method test_foreignkey_to_inherited (line 361) | def test_foreignkey_to_inherited(self): method test_m2m_to_inheriting_model (line 367) | def test_m2m_to_inheriting_model(self): method test_parent_link_prefetch (line 386) | def test_parent_link_prefetch(self): method test_child_link_prefetch (line 391) | def test_child_link_prefetch(self): class ForeignKeyToFieldTest (line 404) | class ForeignKeyToFieldTest(TestCase): method setUp (line 406) | def setUp(self): method test_foreignkey (line 421) | def test_foreignkey(self): method test_m2m (line 428) | def test_m2m(self): class LookupOrderingTest (line 445) | class LookupOrderingTest(TestCase): method setUp (line 451) | def setUp(self): method test_order (line 477) | def test_order(self): class NullableTest (line 486) | class NullableTest(TestCase): method setUp (line 488) | def setUp(self): method test_traverse_nullable (line 493) | def test_traverse_nullable(self): method test_prefetch_nullable (line 507) | def test_prefetch_nullable(self): method test_in_bulk (line 520) | def test_in_bulk(self): class MultiDbTests (line 534) | class MultiDbTests(TestCase): method test_using_is_honored_m2m (line 537) | def test_using_is_honored_m2m(self): method test_using_is_honored_fkey (line 579) | def test_using_is_honored_fkey(self): method test_using_is_honored_inheritance (line 602) | def test_using_is_honored_inheritance(self): FILE: Django-1.5.1/tests/modeltests/properties/models.py class Person (line 10) | class Person(models.Model): method _get_full_name (line 14) | def _get_full_name(self): method _set_full_name (line 17) | def _set_full_name(self, combined_name): FILE: Django-1.5.1/tests/modeltests/properties/tests.py class PropertyTests (line 8) | class PropertyTests(TestCase): method setUp (line 10) | def setUp(self): method test_getter (line 14) | def test_getter(self): method test_setter (line 17) | def test_setter(self): FILE: Django-1.5.1/tests/modeltests/proxy_model_inheritance/app1/models.py class ProxyModel (line 7) | class ProxyModel(NiceModel): class Meta (line 8) | class Meta: FILE: Django-1.5.1/tests/modeltests/proxy_model_inheritance/app2/models.py class NiceModel (line 4) | class NiceModel(models.Model): FILE: Django-1.5.1/tests/modeltests/proxy_model_inheritance/models.py class ConcreteModel (line 5) | class ConcreteModel(models.Model): class ConcreteModelSubclass (line 8) | class ConcreteModelSubclass(ConcreteModel): class ConcreteModelSubclassProxy (line 11) | class ConcreteModelSubclassProxy(ConcreteModelSubclass): class Meta (line 12) | class Meta: FILE: Django-1.5.1/tests/modeltests/proxy_model_inheritance/tests.py class ProxyModelInheritanceTests (line 18) | class ProxyModelInheritanceTests(TransactionTestCase): method setUp (line 25) | def setUp(self): method tearDown (line 31) | def tearDown(self): method test_table_exists (line 40) | def test_table_exists(self): class MultiTableInheritanceProxyTest (line 48) | class MultiTableInheritanceProxyTest(TestCase): method test_model_subclass_proxy (line 50) | def test_model_subclass_proxy(self): FILE: Django-1.5.1/tests/modeltests/proxy_models/models.py class PersonManager (line 12) | class PersonManager(models.Manager): method get_query_set (line 13) | def get_query_set(self): class SubManager (line 16) | class SubManager(models.Manager): method get_query_set (line 17) | def get_query_set(self): class Person (line 21) | class Person(models.Model): method __str__ (line 29) | def __str__(self): class Abstract (line 32) | class Abstract(models.Model): class Meta (line 38) | class Meta: class MyPerson (line 41) | class MyPerson(Person): class Meta (line 46) | class Meta: method has_special_name (line 56) | def has_special_name(self): class ManagerMixin (line 59) | class ManagerMixin(models.Model): class Meta (line 62) | class Meta: class OtherPerson (line 65) | class OtherPerson(Person, ManagerMixin): class Meta (line 69) | class Meta: class StatusPerson (line 73) | class StatusPerson(MyPerson): class MyPersonProxy (line 80) | class MyPersonProxy(MyPerson): class Meta (line 81) | class Meta: class LowerStatusPerson (line 84) | class LowerStatusPerson(MyPersonProxy): class User (line 88) | class User(models.Model): method __str__ (line 91) | def __str__(self): class UserProxy (line 94) | class UserProxy(User): class Meta (line 95) | class Meta: class UserProxyProxy (line 98) | class UserProxyProxy(UserProxy): class Meta (line 99) | class Meta: class Country (line 103) | class Country(models.Model): class State (line 107) | class State(models.Model): method __str__ (line 111) | def __str__(self): class StateProxy (line 114) | class StateProxy(State): class Meta (line 115) | class Meta: class BaseUser (line 120) | class BaseUser(models.Model): class TrackerUser (line 123) | class TrackerUser(BaseUser): class ProxyTrackerUser (line 126) | class ProxyTrackerUser(TrackerUser): class Meta (line 127) | class Meta: class Issue (line 132) | class Issue(models.Model): method __str__ (line 136) | def __str__(self): class Bug (line 139) | class Bug(Issue): class ProxyBug (line 143) | class ProxyBug(Bug): class Meta (line 147) | class Meta: class ProxyProxyBug (line 151) | class ProxyProxyBug(ProxyBug): class Meta (line 155) | class Meta: class Improvement (line 158) | class Improvement(Issue): class ProxyImprovement (line 167) | class ProxyImprovement(Improvement): class Meta (line 168) | class Meta: FILE: Django-1.5.1/tests/modeltests/proxy_models/tests.py class ProxyModelTests (line 20) | class ProxyModelTests(TestCase): method test_same_manager_queries (line 21) | def test_same_manager_queries(self): method test_inheretance_new_table (line 32) | def test_inheretance_new_table(self): method test_basic_proxy (line 43) | def test_basic_proxy(self): method test_no_proxy (line 53) | def test_no_proxy(self): method test_basic_proxy_reverse (line 60) | def test_basic_proxy_reverse(self): method test_correct_type_proxy_of_proxy (line 72) | def test_correct_type_proxy_of_proxy(self): method test_proxy_included_in_ancestors (line 82) | def test_proxy_included_in_ancestors(self): method test_abc (line 114) | def test_abc(self): method test_no_cbc (line 124) | def test_no_cbc(self): method test_no_base_classes (line 134) | def test_no_base_classes(self): method test_new_fields (line 141) | def test_new_fields(self): method test_swappable (line 150) | def test_swappable(self): method test_myperson_manager (line 179) | def test_myperson_manager(self): method test_otherperson_manager (line 190) | def test_otherperson_manager(self): method test_permissions_created (line 204) | def test_permissions_created(self): method test_proxy_model_signals (line 211) | def test_proxy_model_signals(self): method test_content_type (line 260) | def test_content_type(self): method test_user_userproxy_userproxyproxy (line 264) | def test_user_userproxy_userproxyproxy(self): method test_proxy_for_model (line 276) | def test_proxy_for_model(self): method test_concrete_model (line 279) | def test_concrete_model(self): method test_proxy_delete (line 282) | def test_proxy_delete(self): method test_select_related (line 297) | def test_select_related(self): method test_proxy_bug (line 317) | def test_proxy_bug(self): method test_proxy_load_from_fixture (line 359) | def test_proxy_load_from_fixture(self): FILE: Django-1.5.1/tests/modeltests/raw_query/models.py class Author (line 4) | class Author(models.Model): method __init__ (line 9) | def __init__(self, *args, **kwargs): class Book (line 18) | class Book(models.Model): class Coffee (line 24) | class Coffee(models.Model): class Reviewer (line 27) | class Reviewer(models.Model): class FriendlyAuthor (line 30) | class FriendlyAuthor(Author): FILE: Django-1.5.1/tests/modeltests/raw_query/tests.py class RawQueryTests (line 11) | class RawQueryTests(TestCase): method assertSuccessfulRawQuery (line 14) | def assertSuccessfulRawQuery(self, model, query, expected_results, method assertProcessed (line 23) | def assertProcessed(self, model, results, orig, expected_annotations=()): method assertNoAnnotations (line 41) | def assertNoAnnotations(self, results): method assertAnnotations (line 47) | def assertAnnotations(self, results, expected_annotations): method testSimpleRawQuery (line 58) | def testSimpleRawQuery(self): method testRawQueryLazy (line 66) | def testRawQueryLazy(self): method testFkeyRawQuery (line 76) | def testFkeyRawQuery(self): method testDBColumnHandler (line 84) | def testDBColumnHandler(self): method testOrderHandler (line 93) | def testOrderHandler(self): method testTranslations (line 109) | def testTranslations(self): method testParams (line 119) | def testParams(self): method testManyToMany (line 131) | def testManyToMany(self): method testExtraConversions (line 139) | def testExtraConversions(self): method testMissingFields (line 148) | def testMissingFields(self): method testMissingFieldsWithoutPK (line 155) | def testMissingFieldsWithoutPK(self): method testAnnotations (line 163) | def testAnnotations(self): method testWhiteSpaceQuery (line 174) | def testWhiteSpaceQuery(self): method testMultipleIterations (line 179) | def testMultipleIterations(self): method testGetItem (line 198) | def testGetItem(self): method test_inheritance (line 209) | def test_inheritance(self): method test_query_count (line 219) | def test_query_count(self): FILE: Django-1.5.1/tests/modeltests/reserved_names/models.py class Thing (line 15) | class Thing(models.Model): class Meta (line 24) | class Meta: method __str__ (line 27) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/reserved_names/tests.py class ReservedNameTests (line 10) | class ReservedNameTests(TestCase): method generate (line 11) | def generate(self): method test_simple (line 19) | def test_simple(self): method test_order_by (line 30) | def test_order_by(self): method test_fields (line 35) | def test_fields(self): method test_dates (line 41) | def test_dates(self): method test_month_filter (line 49) | def test_month_filter(self): FILE: Django-1.5.1/tests/modeltests/reverse_lookup/models.py class User (line 12) | class User(models.Model): method __str__ (line 15) | def __str__(self): class Poll (line 19) | class Poll(models.Model): method __str__ (line 23) | def __str__(self): class Choice (line 27) | class Choice(models.Model): method __str__ (line 32) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/reverse_lookup/tests.py class ReverseLookupTests (line 9) | class ReverseLookupTests(TestCase): method setUp (line 11) | def setUp(self): method test_reverse_by_field (line 28) | def test_reverse_by_field(self): method test_reverse_by_related_name (line 39) | def test_reverse_by_related_name(self): method test_reverse_field_name_disallowed (line 47) | def test_reverse_field_name_disallowed(self): FILE: Django-1.5.1/tests/modeltests/save_delete_hooks/models.py class Person (line 14) | class Person(models.Model): method __init__ (line 18) | def __init__(self, *args, **kwargs): method __str__ (line 22) | def __str__(self): method save (line 25) | def save(self, *args, **kwargs): method delete (line 31) | def delete(self): FILE: Django-1.5.1/tests/modeltests/save_delete_hooks/tests.py class SaveDeleteHookTests (line 9) | class SaveDeleteHookTests(TestCase): method test_basic (line 10) | def test_basic(self): FILE: Django-1.5.1/tests/modeltests/select_for_update/models.py class Person (line 4) | class Person(models.Model): FILE: Django-1.5.1/tests/modeltests/select_for_update/tests.py class SelectForUpdateTests (line 24) | class SelectForUpdateTests(TransactionTestCase): method setUp (line 26) | def setUp(self): method tearDown (line 47) | def tearDown(self): method start_blocking_transaction (line 63) | def start_blocking_transaction(self): method end_blocking_transaction (line 74) | def end_blocking_transaction(self): method has_for_update_sql (line 78) | def has_for_update_sql(self, tested_connection, nowait=False): method check_exc (line 85) | def check_exc(self, exc): method test_for_update_sql_generated (line 89) | def test_for_update_sql_generated(self): method test_for_update_sql_generated_nowait (line 98) | def test_for_update_sql_generated_nowait(self): method test_nowait_raises_error_on_block (line 115) | def test_nowait_raises_error_on_block(self): method test_unsupported_nowait_raises_error (line 143) | def test_unsupported_nowait_raises_error(self): method run_select_for_update (line 155) | def run_select_for_update(self, status, nowait=False): method test_block (line 185) | def test_block(self): method test_raw_lock_not_available (line 234) | def test_raw_lock_not_available(self): method test_transaction_dirty_managed (line 266) | def test_transaction_dirty_managed(self): method test_transaction_not_dirty_unmanaged (line 276) | def test_transaction_not_dirty_unmanaged(self): FILE: Django-1.5.1/tests/modeltests/select_related/models.py class Domain (line 16) | class Domain(models.Model): method __str__ (line 18) | def __str__(self): class Kingdom (line 22) | class Kingdom(models.Model): method __str__ (line 25) | def __str__(self): class Phylum (line 29) | class Phylum(models.Model): method __str__ (line 32) | def __str__(self): class Klass (line 36) | class Klass(models.Model): method __str__ (line 39) | def __str__(self): class Order (line 43) | class Order(models.Model): method __str__ (line 46) | def __str__(self): class Family (line 50) | class Family(models.Model): method __str__ (line 53) | def __str__(self): class Genus (line 57) | class Genus(models.Model): method __str__ (line 60) | def __str__(self): class Species (line 64) | class Species(models.Model): method __str__ (line 67) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/select_related/tests.py class SelectRelatedTests (line 8) | class SelectRelatedTests(TestCase): method create_tree (line 10) | def create_tree(self, stringtree): method create_base_data (line 29) | def create_base_data(self): method setUp (line 35) | def setUp(self): method test_access_fks_without_select_related (line 41) | def test_access_fks_without_select_related(self): method test_access_fks_with_select_related (line 50) | def test_access_fks_with_select_related(self): method test_list_without_select_related (line 60) | def test_list_without_select_related(self): method test_list_with_select_related (line 75) | def test_list_with_select_related(self): method test_depth (line 90) | def test_depth(self, depth=1, expected=7): method test_larger_depth (line 103) | def test_larger_depth(self): method test_list_with_depth (line 110) | def test_list_with_depth(self): method test_select_related_with_extra (line 121) | def test_select_related_with_extra(self): method test_certain_fields (line 126) | def test_certain_fields(self): method test_more_certain_fields (line 141) | def test_more_certain_fields(self): method test_field_traversal (line 152) | def test_field_traversal(self): method test_depth_fields_fails (line 158) | def test_depth_fields_fails(self): FILE: Django-1.5.1/tests/modeltests/serializers/models.py class Category (line 18) | class Category(models.Model): class Meta (line 21) | class Meta: method __str__ (line 24) | def __str__(self): class Author (line 29) | class Author(models.Model): class Meta (line 32) | class Meta: method __str__ (line 35) | def __str__(self): class Article (line 40) | class Article(models.Model): class Meta (line 46) | class Meta: method __str__ (line 49) | def __str__(self): class AuthorProfile (line 54) | class AuthorProfile(models.Model): method __str__ (line 58) | def __str__(self): class Actor (line 63) | class Actor(models.Model): class Meta (line 66) | class Meta: method __str__ (line 69) | def __str__(self): class Movie (line 74) | class Movie(models.Model): class Meta (line 79) | class Meta: method __str__ (line 82) | def __str__(self): class Score (line 86) | class Score(models.Model): class Team (line 91) | class Team(object): method __init__ (line 92) | def __init__(self, title): method __str__ (line 95) | def __str__(self): method to_string (line 98) | def to_string(self): class TeamField (line 102) | class TeamField(six.with_metaclass(models.SubfieldBase, models.CharField)): method __init__ (line 104) | def __init__(self): method get_db_prep_save (line 107) | def get_db_prep_save(self, value, connection): method to_python (line 110) | def to_python(self, value): method value_to_string (line 115) | def value_to_string(self, obj): class Player (line 120) | class Player(models.Model): method __str__ (line 125) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/serializers/tests.py class SerializerRegistrationTests (line 20) | class SerializerRegistrationTests(unittest.TestCase): method setUp (line 21) | def setUp(self): method tearDown (line 30) | def tearDown(self): method test_register (line 37) | def test_register(self): method test_unregister (line 46) | def test_unregister(self): method test_builtin_serializers (line 56) | def test_builtin_serializers(self): class SerializersTestBase (line 70) | class SerializersTestBase(object): method _comparison_value (line 72) | def _comparison_value(value): method setUp (line 75) | def setUp(self): method test_serialize (line 99) | def test_serialize(self): method test_serializer_roundtrip (line 105) | def test_serializer_roundtrip(self): method test_altering_serialized_output (line 112) | def test_altering_serialized_output(self): method test_one_to_one_as_pk (line 135) | def test_one_to_one_as_pk(self): method test_serialize_field_subset (line 151) | def test_serialize_field_subset(self): method test_serialize_unicode (line 164) | def test_serialize_unicode(self): method test_serialize_superfluous_queries (line 181) | def test_serialize_superfluous_queries(self): method test_serialize_with_null_pk (line 194) | def test_serialize_with_null_pk(self): method test_float_serialization (line 208) | def test_float_serialization(self): method test_custom_field_serialization (line 217) | def test_custom_field_serialization(self): method test_pre_1000ad_date (line 235) | def test_pre_1000ad_date(self): method test_pkless_serialized_strings (line 248) | def test_pkless_serialized_strings(self): class SerializersTransactionTestBase (line 261) | class SerializersTransactionTestBase(object): method test_forward_refs (line 262) | def test_forward_refs(self): class XmlSerializerTestCase (line 286) | class XmlSerializerTestCase(SerializersTestBase, TestCase): method _comparison_value (line 296) | def _comparison_value(value): method _validate_output (line 302) | def _validate_output(serial_str): method _get_pk_values (line 311) | def _get_pk_values(serial_str): method _get_field_values (line 320) | def _get_field_values(serial_str, field_name): class XmlSerializerTransactionTestCase (line 332) | class XmlSerializerTransactionTestCase(SerializersTransactionTestBase, T... class JsonSerializerTestCase (line 352) | class JsonSerializerTestCase(SerializersTestBase, TestCase): method _validate_output (line 357) | def _validate_output(serial_str): method _get_pk_values (line 366) | def _get_pk_values(serial_str): method _get_field_values (line 374) | def _get_field_values(serial_str, field_name): class JsonSerializerTransactionTestCase (line 382) | class JsonSerializerTransactionTestCase(SerializersTransactionTestBase, ... class YamlSerializerTestCase (line 415) | class YamlSerializerTestCase(SerializersTestBase, TestCase): method _validate_output (line 439) | def _validate_output(serial_str): method _get_pk_values (line 448) | def _get_pk_values(serial_str): method _get_field_values (line 456) | def _get_field_values(serial_str, field_name): class YamlSerializerTransactionTestCase (line 471) | class YamlSerializerTransactionTestCase(SerializersTransactionTestBase, ... FILE: Django-1.5.1/tests/modeltests/signals/models.py class Person (line 11) | class Person(models.Model): method __str__ (line 15) | def __str__(self): class Car (line 19) | class Car(models.Model): method __str__ (line 23) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/signals/tests.py class PostDeleteHandler (line 12) | class PostDeleteHandler(object): method __init__ (line 13) | def __init__(self, data): method __call__ (line 16) | def __call__(self, signal, sender, instance, **kwargs): class MyReceiver (line 21) | class MyReceiver(object): method __init__ (line 22) | def __init__(self, param): method __call__ (line 26) | def __call__(self, signal, sender, **kwargs): class SignalTests (line 30) | class SignalTests(TestCase): method test_basic (line 31) | def test_basic(self): method test_disconnect_in_dispatch (line 167) | def test_disconnect_in_dispatch(self): FILE: Django-1.5.1/tests/modeltests/str/models.py class Article (line 21) | class Article(models.Model): method __str__ (line 25) | def __str__(self): class BrokenArticle (line 31) | class BrokenArticle(models.Model): method __unicode__ (line 35) | def __unicode__(self): # instead of __str__ class InternationalArticle (line 39) | class InternationalArticle(models.Model): method __str__ (line 43) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/str/tests.py class SimpleTests (line 13) | class SimpleTests(TestCase): method test_basic (line 16) | def test_basic(self): method test_broken (line 25) | def test_broken(self): method test_international (line 34) | def test_international(self): FILE: Django-1.5.1/tests/modeltests/tablespaces/models.py class ScientistRef (line 10) | class ScientistRef(models.Model): class ArticleRef (line 13) | class ArticleRef(models.Model): class Scientist (line 19) | class Scientist(models.Model): class Meta (line 21) | class Meta: class Article (line 26) | class Article(models.Model): class Meta (line 31) | class Meta: FILE: Django-1.5.1/tests/modeltests/tablespaces/tests.py function sql_for_table (line 18) | def sql_for_table(model): function sql_for_index (line 21) | def sql_for_index(model): class TablespacesTests (line 25) | class TablespacesTests(TestCase): method setUp (line 27) | def setUp(self): method tearDown (line 36) | def tearDown(self): method assertNumContains (line 44) | def assertNumContains(self, haystack, needle, count): method test_tablespace_for_model (line 50) | def test_tablespace_for_model(self): method test_tablespace_ignored_for_model (line 62) | def test_tablespace_ignored_for_model(self): method test_tablespace_for_indexed_field (line 68) | def test_tablespace_for_indexed_field(self): method test_tablespace_ignored_for_indexed_field (line 83) | def test_tablespace_ignored_for_indexed_field(self): method test_tablespace_for_many_to_many_field (line 89) | def test_tablespace_for_many_to_many_field(self): FILE: Django-1.5.1/tests/modeltests/test_client/models.py class ClientTest (line 33) | class ClientTest(TestCase): method test_get_view (line 36) | def test_get_view(self): method test_get_post_view (line 48) | def test_get_post_view(self): method test_empty_post (line 58) | def test_empty_post(self): method test_post (line 68) | def test_post(self): method test_response_headers (line 81) | def test_response_headers(self): method test_raw_post (line 87) | def test_raw_post(self): method test_redirect (line 96) | def test_redirect(self): method test_redirect_with_query (line 110) | def test_redirect_with_query(self): method test_permanent_redirect (line 117) | def test_permanent_redirect(self): method test_temporary_redirect (line 128) | def test_temporary_redirect(self): method test_redirect_to_strange_location (line 134) | def test_redirect_to_strange_location(self): method test_follow_redirect (line 142) | def test_follow_redirect(self): method test_redirect_http (line 148) | def test_redirect_http(self): method test_redirect_https (line 153) | def test_redirect_https(self): method test_notfound_response (line 158) | def test_notfound_response(self): method test_valid_form (line 165) | def test_valid_form(self): method test_valid_form_with_hints (line 178) | def test_valid_form_with_hints(self): method test_incomplete_data_form (line 190) | def test_incomplete_data_form(self): method test_form_error (line 205) | def test_form_error(self): method test_valid_form_with_template (line 220) | def test_valid_form_with_template(self): method test_incomplete_data_form_with_template (line 235) | def test_incomplete_data_form_with_template(self): method test_form_error_with_template (line 251) | def test_form_error_with_template(self): method test_unknown_page (line 268) | def test_unknown_page(self): method test_url_parameters (line 275) | def test_url_parameters(self): method test_view_with_login (line 282) | def test_view_with_login(self): method test_view_with_method_login (line 298) | def test_view_with_method_login(self): method test_view_with_login_and_custom_redirect (line 314) | def test_view_with_login_and_custom_redirect(self): method test_view_with_bad_login (line 330) | def test_view_with_bad_login(self): method test_view_with_inactive_login (line 336) | def test_view_with_inactive_login(self): method test_logout (line 342) | def test_logout(self): method test_view_with_permissions (line 359) | def test_view_with_permissions(self): method test_view_with_permissions_exception (line 376) | def test_view_with_permissions_exception(self): method test_view_with_method_permissions (line 391) | def test_view_with_method_permissions(self): method test_session_modifying_view (line 408) | def test_session_modifying_view(self): method test_view_with_exception (line 423) | def test_view_with_exception(self): method test_mail_sending (line 434) | def test_mail_sending(self): method test_mass_mail_sending (line 447) | def test_mass_mail_sending(self): class CSRFEnabledClientTests (line 466) | class CSRFEnabledClientTests(TestCase): method setUp (line 467) | def setUp(self): method tearDown (line 474) | def tearDown(self): method test_csrf_enabled_client (line 477) | def test_csrf_enabled_client(self): class CustomTestClient (line 490) | class CustomTestClient(Client): class CustomTestClientTest (line 493) | class CustomTestClientTest(TestCase): method test_custom_test_client (line 496) | def test_custom_test_client(self): class RequestFactoryTest (line 501) | class RequestFactoryTest(TestCase): method test_request_factory (line 502) | def test_request_factory(self): FILE: Django-1.5.1/tests/modeltests/test_client/tests.py function suite (line 6) | def suite(): class SampleTests (line 16) | class SampleTests(unittest.TestCase): method testGoodStuff (line 17) | def testGoodStuff(self): method testBadStuff (line 20) | def testBadStuff(self): FILE: Django-1.5.1/tests/modeltests/test_client/views.py function get_view (line 16) | def get_view(request): function post_view (line 23) | def post_view(request): function view_with_header (line 40) | def view_with_header(request): function raw_post_view (line 46) | def raw_post_view(request): function redirect_view (line 61) | def redirect_view(request): function view_with_secure (line 69) | def view_with_secure(request): function double_redirect_view (line 75) | def double_redirect_view(request): function bad_view (line 79) | def bad_view(request): class TestForm (line 91) | class TestForm(Form): function form_view (line 98) | def form_view(request): function form_view_with_template (line 115) | def form_view_with_template(request): function login_protected_view (line 133) | def login_protected_view(request): function login_protected_view_changed_redirect (line 141) | def login_protected_view_changed_redirect(request): function _permission_protected_view (line 149) | def _permission_protected_view(request): class _ViewManager (line 160) | class _ViewManager(object): method login_protected_view (line 162) | def login_protected_view(self, request): method permission_protected_view (line 170) | def permission_protected_view(self, request): function session_view (line 182) | def session_view(request): function broken_view (line 191) | def broken_view(request): function mail_sending_view (line 195) | def mail_sending_view(request): function mass_mail_sending_view (line 203) | def mass_mail_sending_view(request): FILE: Django-1.5.1/tests/modeltests/timezones/admin.py class EventAdmin (line 7) | class EventAdmin(admin.ModelAdmin): class TimestampAdmin (line 12) | class TimestampAdmin(admin.ModelAdmin): FILE: Django-1.5.1/tests/modeltests/timezones/forms.py class EventForm (line 5) | class EventForm(forms.Form): class EventSplitForm (line 8) | class EventSplitForm(forms.Form): class EventModelForm (line 11) | class EventModelForm(forms.ModelForm): class Meta (line 12) | class Meta: FILE: Django-1.5.1/tests/modeltests/timezones/models.py class Event (line 3) | class Event(models.Model): class MaybeEvent (line 6) | class MaybeEvent(models.Model): class Session (line 9) | class Session(models.Model): class SessionEvent (line 12) | class SessionEvent(models.Model): class Timestamp (line 16) | class Timestamp(models.Model): class AllDayEvent (line 20) | class AllDayEvent(models.Model): FILE: Django-1.5.1/tests/modeltests/timezones/tests.py class LegacyDatabaseTests (line 58) | class LegacyDatabaseTests(TestCase): method test_naive_datetime (line 60) | def test_naive_datetime(self): method test_naive_datetime_with_microsecond (line 67) | def test_naive_datetime_with_microsecond(self): method test_naive_datetime_with_microsecond_unsupported (line 74) | def test_naive_datetime_with_microsecond_unsupported(self): method test_aware_datetime_in_local_timezone (line 82) | def test_aware_datetime_in_local_timezone(self): method test_aware_datetime_in_local_timezone_with_microsecond (line 92) | def test_aware_datetime_in_local_timezone_with_microsecond(self): method test_aware_datetime_in_local_timezone_with_microsecond_unsupported (line 103) | def test_aware_datetime_in_local_timezone_with_microsecond_unsupported... method test_aware_datetime_in_utc (line 114) | def test_aware_datetime_in_utc(self): method test_aware_datetime_in_utc_unsupported (line 126) | def test_aware_datetime_in_utc_unsupported(self): method test_aware_datetime_in_other_timezone (line 140) | def test_aware_datetime_in_other_timezone(self): method test_aware_datetime_in_other_timezone_unsupported (line 152) | def test_aware_datetime_in_other_timezone_unsupported(self): method test_aware_datetime_unspported (line 165) | def test_aware_datetime_unspported(self): method test_auto_now_and_auto_now_add (line 170) | def test_auto_now_and_auto_now_add(self): method test_query_filter (line 181) | def test_query_filter(self): method test_query_date_related_filters (line 191) | def test_query_date_related_filters(self): method test_query_aggregation (line 199) | def test_query_aggregation(self): method test_query_annotation (line 210) | def test_query_annotation(self): method test_query_dates (line 232) | def test_query_dates(self): method test_raw_sql (line 242) | def test_raw_sql(self): method test_filter_date_field_with_aware_datetime (line 251) | def test_filter_date_field_with_aware_datetime(self): class NewDatabaseTests (line 261) | class NewDatabaseTests(TestCase): method test_naive_datetime (line 264) | def test_naive_datetime(self): method test_datetime_from_date (line 277) | def test_datetime_from_date(self): method test_naive_datetime_with_microsecond (line 290) | def test_naive_datetime_with_microsecond(self): method test_naive_datetime_with_microsecond_unsupported (line 304) | def test_naive_datetime_with_microsecond_unsupported(self): method test_aware_datetime_in_local_timezone (line 317) | def test_aware_datetime_in_local_timezone(self): method test_aware_datetime_in_local_timezone_with_microsecond (line 324) | def test_aware_datetime_in_local_timezone_with_microsecond(self): method test_aware_datetime_in_local_timezone_with_microsecond_unsupported (line 331) | def test_aware_datetime_in_local_timezone_with_microsecond_unsupported... method test_aware_datetime_in_utc (line 338) | def test_aware_datetime_in_utc(self): method test_aware_datetime_in_other_timezone (line 344) | def test_aware_datetime_in_other_timezone(self): method test_auto_now_and_auto_now_add (line 350) | def test_auto_now_and_auto_now_add(self): method test_query_filter (line 361) | def test_query_filter(self): method test_query_filter_with_pytz_timezones (line 372) | def test_query_filter_with_pytz_timezones(self): method test_query_filter_with_naive_datetime (line 385) | def test_query_filter_with_naive_datetime(self): method test_query_date_related_filters (line 400) | def test_query_date_related_filters(self): method test_query_aggregation (line 412) | def test_query_aggregation(self): method test_query_annotation (line 423) | def test_query_annotation(self): method test_query_dates (line 445) | def test_query_dates(self): method test_raw_sql (line 462) | def test_raw_sql(self): method test_filter_date_field_with_aware_datetime (line 472) | def test_filter_date_field_with_aware_datetime(self): method test_null_datetime (line 480) | def test_null_datetime(self): class SerializationTests (line 487) | class SerializationTests(TestCase): method assert_python_contains_datetime (line 496) | def assert_python_contains_datetime(self, objects, dt): method assert_json_contains_datetime (line 499) | def assert_json_contains_datetime(self, json, dt): method assert_xml_contains_datetime (line 502) | def assert_xml_contains_datetime(self, xml, dt): method assert_yaml_contains_datetime (line 506) | def assert_yaml_contains_datetime(self, yaml, dt): method test_naive_datetime (line 509) | def test_naive_datetime(self): method test_naive_datetime_with_microsecond (line 533) | def test_naive_datetime_with_microsecond(self): method test_aware_datetime_with_microsecond (line 557) | def test_aware_datetime_with_microsecond(self): method test_aware_datetime_in_utc (line 581) | def test_aware_datetime_in_utc(self): method test_aware_datetime_in_local_timezone (line 605) | def test_aware_datetime_in_local_timezone(self): method test_aware_datetime_in_other_timezone (line 629) | def test_aware_datetime_in_other_timezone(self): class TemplateTests (line 655) | class TemplateTests(TestCase): method test_localtime_templatetag_and_filters (line 658) | def test_localtime_templatetag_and_filters(self): method test_localtime_filters_with_pytz (line 730) | def test_localtime_filters_with_pytz(self): method test_localtime_templatetag_invalid_argument (line 753) | def test_localtime_templatetag_invalid_argument(self): method test_localtime_filters_do_not_raise_exceptions (line 757) | def test_localtime_filters_do_not_raise_exceptions(self): method test_timezone_templatetag (line 776) | def test_timezone_templatetag(self): method test_timezone_templatetag_with_pytz (line 793) | def test_timezone_templatetag_with_pytz(self): method test_timezone_templatetag_invalid_argument (line 809) | def test_timezone_templatetag_invalid_argument(self): method test_get_current_timezone_templatetag (line 816) | def test_get_current_timezone_templatetag(self): method test_get_current_timezone_templatetag_with_pytz (line 833) | def test_get_current_timezone_templatetag_with_pytz(self): method test_get_current_timezone_templatetag_invalid_argument (line 844) | def test_get_current_timezone_templatetag_invalid_argument(self): method test_tz_template_context_processor (line 849) | def test_tz_template_context_processor(self): method test_date_and_time_template_filters (line 858) | def test_date_and_time_template_filters(self): method test_date_and_time_template_filters_honor_localtime (line 865) | def test_date_and_time_template_filters_honor_localtime(self): method test_localtime_with_time_zone_setting_set_to_none (line 872) | def test_localtime_with_time_zone_setting_set_to_none(self): method test_now_template_tag_uses_current_time_zone (line 882) | def test_now_template_tag_uses_current_time_zone(self): class LegacyFormsTests (line 891) | class LegacyFormsTests(TestCase): method test_form (line 893) | def test_form(self): method test_form_with_non_existent_time (line 899) | def test_form_with_non_existent_time(self): method test_form_with_ambiguous_time (line 907) | def test_form_with_ambiguous_time(self): method test_split_form (line 914) | def test_split_form(self): method test_model_form (line 919) | def test_model_form(self): class NewFormsTests (line 926) | class NewFormsTests(TestCase): method test_form (line 929) | def test_form(self): method test_form_with_other_timezone (line 934) | def test_form_with_other_timezone(self): method test_form_with_non_existent_time (line 941) | def test_form_with_non_existent_time(self): method test_form_with_ambiguous_time (line 950) | def test_form_with_ambiguous_time(self): method test_split_form (line 959) | def test_split_form(self): method test_model_form (line 965) | def test_model_form(self): class AdminTests (line 973) | class AdminTests(TestCase): method setUp (line 978) | def setUp(self): method test_changelist (line 982) | def test_changelist(self): method test_changelist_in_other_timezone (line 987) | def test_changelist_in_other_timezone(self): method test_change_editable (line 994) | def test_change_editable(self): method test_change_editable_in_other_timezone (line 1000) | def test_change_editable_in_other_timezone(self): method test_change_readonly (line 1008) | def test_change_readonly(self): method test_change_readonly_in_other_timezone (line 1015) | def test_change_readonly_in_other_timezone(self): class UtilitiesTests (line 1025) | class UtilitiesTests(TestCase): method test_make_aware (line 1027) | def test_make_aware(self): method test_make_naive (line 1037) | def test_make_naive(self): FILE: Django-1.5.1/tests/modeltests/transactions/models.py class Reporter (line 16) | class Reporter(models.Model): class Meta (line 21) | class Meta: method __str__ (line 24) | def __str__(self): FILE: Django-1.5.1/tests/modeltests/transactions/tests.py class TransactionTests (line 9) | class TransactionTests(TransactionTestCase): method create_a_reporter_then_fail (line 10) | def create_a_reporter_then_fail(self, first, last): method remove_a_reporter (line 15) | def remove_a_reporter(self, first_name): method manually_managed (line 19) | def manually_managed(self): method manually_managed_mistake (line 24) | def manually_managed_mistake(self): method test_autocommit (line 30) | def test_autocommit(self): method test_autocommit_decorator (line 43) | def test_autocommit_decorator(self): method test_autocommit_decorator_with_using (line 58) | def test_autocommit_decorator_with_using(self): method test_commit_on_success (line 73) | def test_commit_on_success(self): method test_commit_on_success_with_using (line 85) | def test_commit_on_success_with_using(self): method test_commit_on_success_succeed (line 100) | def test_commit_on_success_succeed(self): method test_commit_on_success_exit (line 112) | def test_commit_on_success_exit(self): method test_manually_managed (line 131) | def test_manually_managed(self): method test_manually_managed_mistake (line 141) | def test_manually_managed_mistake(self): method test_manually_managed_with_using (line 152) | def test_manually_managed_with_using(self): class TransactionRollbackTests (line 164) | class TransactionRollbackTests(TransactionTestCase): method execute_bad_sql (line 165) | def execute_bad_sql(self): method test_bad_sql (line 171) | def test_bad_sql(self): class TransactionContextManagerTests (line 182) | class TransactionContextManagerTests(TransactionTestCase): method create_reporter_and_fail (line 183) | def create_reporter_and_fail(self): method test_autocommit (line 188) | def test_autocommit(self): method test_autocommit_context_manager (line 198) | def test_autocommit_context_manager(self): method test_autocommit_context_manager_with_using (line 210) | def test_autocommit_context_manager_with_using(self): method test_commit_on_success (line 221) | def test_commit_on_success(self): method test_commit_on_success_with_using (line 233) | def test_commit_on_success_with_using(self): method test_commit_on_success_succeed (line 244) | def test_commit_on_success_succeed(self): method test_commit_on_success_exit (line 255) | def test_commit_on_success_exit(self): method test_manually_managed (line 269) | def test_manually_managed(self): method test_manually_managed_mistake (line 280) | def test_manually_managed_mistake(self): method test_manually_managed_with_using (line 289) | def test_manually_managed_with_using(self): method test_bad_sql (line 298) | def test_bad_sql(self): FILE: Django-1.5.1/tests/modeltests/unmanaged_models/models.py class A01 (line 12) | class A01(models.Model): class Meta (line 16) | class Meta: method __str__ (line 19) | def __str__(self): class B01 (line 23) | class B01(models.Model): class Meta (line 28) | class Meta: method __str__ (line 33) | def __str__(self): class C01 (line 37) | class C01(models.Model): class Meta (line 42) | class Meta: method __str__ (line 45) | def __str__(self): class A02 (line 53) | class A02(models.Model): class Meta (line 56) | class Meta: method __str__ (line 60) | def __str__(self): class B02 (line 64) | class B02(models.Model): class Meta (line 65) | class Meta: method __str__ (line 73) | def __str__(self): class C02 (line 79) | class C02(models.Model): class Meta (line 84) | class Meta: method __str__ (line 88) | def __str__(self): class Intermediate (line 91) | class Intermediate(models.Model): class Meta (line 95) | class Meta: class Proxy1 (line 108) | class Proxy1(models.Model): class Meta (line 109) | class Meta: class Proxy2 (line 112) | class Proxy2(models.Model): class Meta (line 113) | class Meta: class Unmanaged1 (line 116) | class Unmanaged1(models.Model): class Meta (line 117) | class Meta: class Unmanaged2 (line 122) | class Unmanaged2(models.Model): class Meta (line 125) | class Meta: class Managed1 (line 131) | class Managed1(models.Model): FILE: Django-1.5.1/tests/modeltests/unmanaged_models/tests.py class SimpleTests (line 9) | class SimpleTests(TestCase): method test_simple (line 11) | def test_simple(self): class ManyToManyUnmanagedTests (line 45) | class ManyToManyUnmanagedTests(TestCase): method test_many_to_many_between_unmanaged (line 47) | def test_many_to_many_between_unmanaged(self): method test_many_to_many_between_unmanaged_and_managed (line 55) | def test_many_to_many_between_unmanaged_and_managed(self): FILE: Django-1.5.1/tests/modeltests/update/models.py class DataPoint (line 12) | class DataPoint(models.Model): method __str__ (line 17) | def __str__(self): class RelatedPoint (line 21) | class RelatedPoint(models.Model): method __str__ (line 25) | def __str__(self): class A (line 29) | class A(models.Model): class B (line 32) | class B(models.Model): class C (line 36) | class C(models.Model): class D (line 39) | class D(C): FILE: Django-1.5.1/tests/modeltests/update/tests.py class SimpleTest (line 8) | class SimpleTest(TestCase): method setUp (line 9) | def setUp(self): method test_nonempty_update (line 16) | def test_nonempty_update(self): method test_empty_update (line 25) | def test_empty_update(self): method test_nonempty_update_with_inheritance (line 34) | def test_nonempty_update_with_inheritance(self): method test_empty_update_with_inheritance (line 44) | def test_empty_update_with_inheritance(self): class AdvancedTests (line 54) | class AdvancedTests(TestCase): method setUp (line 56) | def setUp(self): method test_update (line 62) | def test_update(self): method test_update_multiple_objects (line 73) | def test_update_multiple_objects(self): method test_update_fk (line 82) | def test_update_fk(self): method test_update_multiple_fields (line 92) | def test_update_multiple_fields(self): method test_update_all (line 103) | def test_update_all(self): method test_update_slice_fail (line 112) | def test_update_slice_fail(self): FILE: Django-1.5.1/tests/modeltests/update_only_fields/models.py class Account (line 10) | class Account(models.Model): class Person (line 15) | class Person(models.Model): method __str__ (line 20) | def __str__(self): class Employee (line 24) | class Employee(Person): class Profile (line 31) | class Profile(models.Model): method __str__ (line 35) | def __str__(self): class ProxyEmployee (line 39) | class ProxyEmployee(Employee): class Meta (line 40) | class Meta: FILE: Django-1.5.1/tests/modeltests/update_only_fields/tests.py class UpdateOnlyFieldsTests (line 9) | class UpdateOnlyFieldsTests(TestCase): method test_update_fields_basic (line 10) | def test_update_fields_basic(self): method test_update_fields_deferred (line 22) | def test_update_fields_deferred(self): method test_update_fields_only_1 (line 37) | def test_update_fields_only_1(self): method test_update_fields_only_2 (line 52) | def test_update_fields_only_2(self): method test_update_fields_only_repeated (line 67) | def test_update_fields_only_repeated(self): method test_update_fields_inheritance_defer (line 81) | def test_update_fields_inheritance_defer(self): method test_update_fields_fk_defer (line 92) | def test_update_fields_fk_defer(self): method test_select_related_only_interaction (line 107) | def test_select_related_only_interaction(self): method test_update_fields_m2m (line 123) | def test_update_fields_m2m(self): method test_update_fields_inheritance (line 136) | def test_update_fields_inheritance(self): method test_update_fields_inheritance_with_proxy_model (line 168) | def test_update_fields_inheritance_with_proxy_model(self): method test_update_fields_signals (line 192) | def test_update_fields_signals(self): method test_update_fields_incorrect_params (line 213) | def test_update_fields_incorrect_params(self): method test_empty_update_fields (line 222) | def test_empty_update_fields(self): method test_num_queries_inheritance (line 242) | def test_num_queries_inheritance(self): FILE: Django-1.5.1/tests/modeltests/user_commands/management/commands/dance.py class Command (line 6) | class Command(BaseCommand): method handle (line 16) | def handle(self, *args, **options): FILE: Django-1.5.1/tests/modeltests/user_commands/tests.py class CommandTests (line 10) | class CommandTests(TestCase): method test_command (line 11) | def test_command(self): method test_command_style (line 17) | def test_command_style(self): method test_language_preserved (line 23) | def test_language_preserved(self): method test_explode (line 29) | def test_explode(self): method test_system_exit (line 33) | def test_system_exit(self): FILE: Django-1.5.1/tests/modeltests/validation/__init__.py class ValidationTestCase (line 5) | class ValidationTestCase(TestCase): method assertFailsValidation (line 6) | def assertFailsValidation(self, clean, failed_fields): method assertFieldFailsValidationWithMessage (line 11) | def assertFieldFailsValidationWithMessage(self, clean, field_name, mes... FILE: Django-1.5.1/tests/modeltests/validation/models.py function validate_answer_to_universe (line 10) | def validate_answer_to_universe(value): class ModelToValidate (line 14) | class ModelToValidate(models.Model): method clean (line 23) | def clean(self): class UniqueFieldsModel (line 28) | class UniqueFieldsModel(models.Model): class CustomPKModel (line 33) | class CustomPKModel(models.Model): class UniqueTogetherModel (line 36) | class UniqueTogetherModel(models.Model): class Meta (line 41) | class Meta: class UniqueForDateModel (line 44) | class UniqueForDateModel(models.Model): class CustomMessagesModel (line 51) | class CustomMessagesModel(models.Model): class Author (line 58) | class Author(models.Model): class Article (line 61) | class Article(models.Model): method clean (line 66) | def clean(self): class Post (line 71) | class Post(models.Model): method __str__ (line 77) | def __str__(self): class FlexibleDatePost (line 80) | class FlexibleDatePost(models.Model): class UniqueErrorsModel (line 86) | class UniqueErrorsModel(models.Model): class GenericIPAddressTestModel (line 90) | class GenericIPAddressTestModel(models.Model): class GenericIPAddrUnpackUniqueTest (line 97) | class GenericIPAddrUnpackUniqueTest(models.Model): class MultipleAutoFields (line 105) | class MultipleAutoFields(models.Model): FILE: Django-1.5.1/tests/modeltests/validation/test_custom_messages.py class CustomMessagesTest (line 7) | class CustomMessagesTest(ValidationTestCase): method test_custom_simple_validator_message (line 8) | def test_custom_simple_validator_message(self): method test_custom_null_message (line 12) | def test_custom_null_message(self): FILE: Django-1.5.1/tests/modeltests/validation/test_error_messages.py class ValidationMessagesTest (line 10) | class ValidationMessagesTest(TestCase): method _test_validation_messages (line 12) | def _test_validation_messages(self, field, value, expected): method test_autofield_field_raises_error_message (line 17) | def test_autofield_field_raises_error_message(self): method test_integer_field_raises_error_message (line 26) | def test_integer_field_raises_error_message(self): method test_boolean_field_raises_error_message (line 31) | def test_boolean_field_raises_error_message(self): method test_float_field_raises_error_message (line 36) | def test_float_field_raises_error_message(self): method test_decimal_field_raises_error_message (line 41) | def test_decimal_field_raises_error_message(self): method test_null_boolean_field_raises_error_message (line 46) | def test_null_boolean_field_raises_error_message(self): method test_date_field_raises_error_message (line 51) | def test_date_field_raises_error_message(self): method test_datetime_field_raises_error_message (line 69) | def test_datetime_field_raises_error_message(self): method test_time_field_raises_error_message (line 87) | def test_time_field_raises_error_message(self): FILE: Django-1.5.1/tests/modeltests/validation/test_unique.py class GetUniqueCheckTests (line 14) | class GetUniqueCheckTests(unittest.TestCase): method test_unique_fields_get_collected (line 15) | def test_unique_fields_get_collected(self): method test_unique_together_gets_picked_up_and_converted_to_tuple (line 25) | def test_unique_together_gets_picked_up_and_converted_to_tuple(self): method test_primary_key_is_considered_unique (line 35) | def test_primary_key_is_considered_unique(self): method test_unique_for_date_gets_picked_up (line 39) | def test_unique_for_date_gets_picked_up(self): method test_unique_for_date_exclusion (line 49) | def test_unique_for_date_exclusion(self): class PerformUniqueChecksTest (line 58) | class PerformUniqueChecksTest(TestCase): method test_primary_key_unique_check_not_performed_when_adding_and_pk_not_specified (line 59) | def test_primary_key_unique_check_not_performed_when_adding_and_pk_not... method test_primary_key_unique_check_performed_when_adding_and_pk_specified (line 66) | def test_primary_key_unique_check_performed_when_adding_and_pk_specifi... method test_primary_key_unique_check_not_performed_when_not_adding (line 73) | def test_primary_key_unique_check_not_performed_when_not_adding(self): method test_unique_for_date (line 79) | def test_unique_for_date(self): method test_unique_for_date_with_nullable_date (line 111) | def test_unique_for_date_with_nullable_date(self): method test_unique_errors (line 133) | def test_unique_errors(self): FILE: Django-1.5.1/tests/modeltests/validation/tests.py class BaseModelValidationTests (line 18) | class BaseModelValidationTests(ValidationTestCase): method test_missing_required_field_raises_error (line 20) | def test_missing_required_field_raises_error(self): method test_with_correct_value_model_validates (line 24) | def test_with_correct_value_model_validates(self): method test_custom_validate_method (line 28) | def test_custom_validate_method(self): method test_wrong_FK_value_raises_error (line 32) | def test_wrong_FK_value_raises_error(self): method test_correct_FK_value_validates (line 36) | def test_correct_FK_value_validates(self): method test_limited_FK_raises_error (line 41) | def test_limited_FK_raises_error(self): method test_wrong_email_value_raises_error (line 48) | def test_wrong_email_value_raises_error(self): method test_correct_email_value_passes (line 52) | def test_correct_email_value_passes(self): method test_wrong_url_value_raises_error (line 56) | def test_wrong_url_value_raises_error(self): method test_text_greater_that_charfields_max_length_raises_erros (line 60) | def test_text_greater_that_charfields_max_length_raises_erros(self): class ArticleForm (line 65) | class ArticleForm(forms.ModelForm): class Meta (line 66) | class Meta: class ModelFormsTests (line 70) | class ModelFormsTests(TestCase): method setUp (line 71) | def setUp(self): method test_partial_validation (line 74) | def test_partial_validation(self): method test_validation_with_empty_blank_field (line 87) | def test_validation_with_empty_blank_field(self): method test_validation_with_invalid_blank_field (line 102) | def test_validation_with_invalid_blank_field(self): class GenericIPAddressFieldTests (line 114) | class GenericIPAddressFieldTests(ValidationTestCase): method test_correct_generic_ip_passes (line 116) | def test_correct_generic_ip_passes(self): method test_invalid_generic_ip_raises_error (line 122) | def test_invalid_generic_ip_raises_error(self): method test_correct_v4_ip_passes (line 128) | def test_correct_v4_ip_passes(self): method test_invalid_v4_ip_raises_error (line 132) | def test_invalid_v4_ip_raises_error(self): method test_correct_v6_ip_passes (line 138) | def test_correct_v6_ip_passes(self): method test_invalid_v6_ip_raises_error (line 142) | def test_invalid_v6_ip_raises_error(self): method test_v6_uniqueness_detection (line 148) | def test_v6_uniqueness_detection(self): method test_v4_unpack_uniqueness_detection (line 155) | def test_v4_unpack_uniqueness_detection(self): FILE: Django-1.5.1/tests/modeltests/validation/validators.py class TestModelsWithValidators (line 7) | class TestModelsWithValidators(ValidationTestCase): method test_custom_validator_passes_for_correct_value (line 8) | def test_custom_validator_passes_for_correct_value(self): method test_custom_validator_raises_error_for_incorrect_value (line 12) | def test_custom_validator_raises_error_for_incorrect_value(self): FILE: Django-1.5.1/tests/modeltests/validators/tests.py function create_simple_test_method (line 171) | def create_simple_test_method(validator, expected, value, num): class TestSimpleValidators (line 201) | class TestSimpleValidators(TestCase): method test_single_message (line 202) | def test_single_message(self): method test_message_list (line 207) | def test_message_list(self): method test_message_dict (line 212) | def test_message_dict(self): FILE: Django-1.5.1/tests/regressiontests/admin_changelist/admin.py class CustomPaginator (line 12) | class CustomPaginator(Paginator): method __init__ (line 13) | def __init__(self, queryset, page_size, orphans=0, allow_empty_first_p... class EventAdmin (line 18) | class EventAdmin(admin.ModelAdmin): method event_date_func (line 21) | def event_date_func(self, event): class ParentAdmin (line 27) | class ParentAdmin(admin.ModelAdmin): class ChildAdmin (line 32) | class ChildAdmin(admin.ModelAdmin): method queryset (line 37) | def queryset(self, request): class CustomPaginationAdmin (line 41) | class CustomPaginationAdmin(ChildAdmin): class FilteredChildAdmin (line 45) | class FilteredChildAdmin(admin.ModelAdmin): method queryset (line 49) | def queryset(self, request): class BandAdmin (line 54) | class BandAdmin(admin.ModelAdmin): class GroupAdmin (line 58) | class GroupAdmin(admin.ModelAdmin): class QuartetAdmin (line 62) | class QuartetAdmin(admin.ModelAdmin): class ChordsBandAdmin (line 66) | class ChordsBandAdmin(admin.ModelAdmin): class DynamicListDisplayChildAdmin (line 70) | class DynamicListDisplayChildAdmin(admin.ModelAdmin): method get_list_display (line 73) | def get_list_display(self, request): class DynamicListDisplayLinksChildAdmin (line 80) | class DynamicListDisplayLinksChildAdmin(admin.ModelAdmin): method get_list_display_links (line 84) | def get_list_display_links(self, request, list_display): class SwallowAdmin (line 89) | class SwallowAdmin(admin.ModelAdmin): class DynamicListFilterChildAdmin (line 95) | class DynamicListFilterChildAdmin(admin.ModelAdmin): method get_list_filter (line 98) | def get_list_filter(self, request): FILE: Django-1.5.1/tests/regressiontests/admin_changelist/models.py class Event (line 4) | class Event(models.Model): class Parent (line 8) | class Parent(models.Model): class Child (line 11) | class Child(models.Model): class Genre (line 16) | class Genre(models.Model): class Band (line 19) | class Band(models.Model): class Musician (line 25) | class Musician(models.Model): method __str__ (line 28) | def __str__(self): class Group (line 32) | class Group(models.Model): method __str__ (line 36) | def __str__(self): class Membership (line 39) | class Membership(models.Model): class Quartet (line 44) | class Quartet(Group): class ChordsMusician (line 47) | class ChordsMusician(Musician): class ChordsBand (line 50) | class ChordsBand(models.Model): class Invitation (line 54) | class Invitation(models.Model): class Swallow (line 59) | class Swallow(models.Model): class Meta (line 64) | class Meta: class UnorderedObject (line 68) | class UnorderedObject(models.Model): class OrderedObjectManager (line 76) | class OrderedObjectManager(models.Manager): method get_query_set (line 77) | def get_query_set(self): class OrderedObject (line 80) | class OrderedObject(models.Model): FILE: Django-1.5.1/tests/regressiontests/admin_changelist/tests.py class ChangeListTests (line 26) | class ChangeListTests(TestCase): method setUp (line 29) | def setUp(self): method _create_superuser (line 32) | def _create_superuser(self, username): method _mocked_authenticated_request (line 35) | def _mocked_authenticated_request(self, url, user): method test_select_related_preserved (line 40) | def test_select_related_preserved(self): method test_result_list_empty_changelist_value (line 52) | def test_result_list_empty_changelist_value(self): method test_result_list_html (line 74) | def test_result_list_html(self): method test_result_list_editable_html (line 97) | def test_result_list_editable_html(self): method test_result_list_editable (line 131) | def test_result_list_editable(self): method test_custom_paginator (line 151) | def test_custom_paginator(self): method test_distinct_for_m2m_in_list_filter (line 166) | def test_distinct_for_m2m_in_list_filter(self): method test_distinct_for_through_m2m_in_list_filter (line 190) | def test_distinct_for_through_m2m_in_list_filter(self): method test_distinct_for_inherited_m2m_in_list_filter (line 213) | def test_distinct_for_inherited_m2m_in_list_filter(self): method test_distinct_for_m2m_to_inherited_in_list_filter (line 237) | def test_distinct_for_m2m_to_inherited_in_list_filter(self): method test_distinct_for_non_unique_related_object_in_list_filter (line 261) | def test_distinct_for_non_unique_related_object_in_list_filter(self): method test_distinct_for_non_unique_related_object_in_search_fields (line 282) | def test_distinct_for_non_unique_related_object_in_search_fields(self): method test_pagination (line 302) | def test_pagination(self): method test_computed_list_display_localization (line 334) | def test_computed_list_display_localization(self): method test_dynamic_list_display (line 347) | def test_dynamic_list_display(self): method test_show_all (line 389) | def test_show_all(self): method test_dynamic_list_display_links (line 417) | def test_dynamic_list_display_links(self): method test_tuple_list_display (line 438) | def test_tuple_list_display(self): method test_deterministic_order_for_unordered_model (line 454) | def test_deterministic_order_for_unordered_model(self): method test_deterministic_order_for_model_ordered_by_its_manager (line 499) | def test_deterministic_order_for_model_ordered_by_its_manager(self): method test_dynamic_list_filter (line 544) | def test_dynamic_list_filter(self): FILE: Django-1.5.1/tests/regressiontests/admin_custom_urls/models.py class Action (line 11) | class Action(models.Model): method __str__ (line 15) | def __str__(self): class ActionAdmin (line 19) | class ActionAdmin(admin.ModelAdmin): method remove_url (line 28) | def remove_url(self, name): method get_urls (line 35) | def get_urls(self): class Person (line 54) | class Person(models.Model): class PersonAdmin (line 57) | class PersonAdmin(admin.ModelAdmin): method response_post_save_add (line 59) | def response_post_save_add(self, request, obj): method response_post_save_change (line 63) | def response_post_save_change(self, request, obj): class Car (line 68) | class Car(models.Model): class CarAdmin (line 71) | class CarAdmin(admin.ModelAdmin): method response_add (line 73) | def response_add(self, request, obj, post_url_continue=None): class CarDeprecated (line 78) | class CarDeprecated(models.Model): class CarDeprecatedAdmin (line 82) | class CarDeprecatedAdmin(admin.ModelAdmin): method response_add (line 84) | def response_add(self, request, obj, post_url_continue=None): FILE: Django-1.5.1/tests/regressiontests/admin_custom_urls/tests.py class AdminCustomUrlsTest (line 14) | class AdminCustomUrlsTest(TestCase): method setUp (line 23) | def setUp(self): method tearDown (line 26) | def tearDown(self): method testBasicAddGet (line 29) | def testBasicAddGet(self): method testAddWithGETArgs (line 37) | def testAddWithGETArgs(self): method testBasicAddPost (line 46) | def testBasicAddPost(self): method testAdminUrlsNoClash (line 60) | def testAdminUrlsNoClash(self): class CustomRedirects (line 88) | class CustomRedirects(TestCase): method setUp (line 91) | def setUp(self): method tearDown (line 94) | def tearDown(self): method test_post_save_add_redirect (line 97) | def test_post_save_add_redirect(self): method test_post_save_change_redirect (line 113) | def test_post_save_change_redirect(self): method test_post_url_continue (line 129) | def test_post_url_continue(self): method test_post_url_continue_string_formats (line 143) | def test_post_url_continue_string_formats(self): FILE: Django-1.5.1/tests/regressiontests/admin_filters/models.py class Book (line 9) | class Book(models.Model): method __str__ (line 18) | def __str__(self): class Department (line 23) | class Department(models.Model): method __str__ (line 27) | def __str__(self): class Employee (line 31) | class Employee(models.Model): method __str__ (line 35) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/admin_filters/tests.py function select_by (line 18) | def select_by(dictlist, key, value): class DecadeListFilter (line 22) | class DecadeListFilter(SimpleListFilter): method lookups (line 24) | def lookups(self, request, model_admin): method queryset (line 32) | def queryset(self, request, queryset): class DecadeListFilterWithTitleAndParameter (line 41) | class DecadeListFilterWithTitleAndParameter(DecadeListFilter): class DecadeListFilterWithoutTitle (line 45) | class DecadeListFilterWithoutTitle(DecadeListFilter): class DecadeListFilterWithoutParameter (line 48) | class DecadeListFilterWithoutParameter(DecadeListFilter): class DecadeListFilterWithNoneReturningLookups (line 51) | class DecadeListFilterWithNoneReturningLookups(DecadeListFilterWithTitle... method lookups (line 53) | def lookups(self, request, model_admin): class DecadeListFilterWithFailingQueryset (line 56) | class DecadeListFilterWithFailingQueryset(DecadeListFilterWithTitleAndPa... method queryset (line 58) | def queryset(self, request, queryset): class DecadeListFilterWithQuerysetBasedLookups (line 61) | class DecadeListFilterWithQuerysetBasedLookups(DecadeListFilterWithTitle... method lookups (line 63) | def lookups(self, request, model_admin): class DecadeListFilterParameterEndsWith__In (line 72) | class DecadeListFilterParameterEndsWith__In(DecadeListFilter): class DecadeListFilterParameterEndsWith__Isnull (line 76) | class DecadeListFilterParameterEndsWith__Isnull(DecadeListFilter): class DepartmentListFilterLookupWithNonStringValue (line 81) | class DepartmentListFilterLookupWithNonStringValue(SimpleListFilter): method lookups (line 85) | def lookups(self, request, model_admin): method queryset (line 92) | def queryset(self, request, queryset): class CustomUserAdmin (line 96) | class CustomUserAdmin(UserAdmin): class BookAdmin (line 99) | class BookAdmin(ModelAdmin): class BookAdminWithTupleBooleanFilter (line 103) | class BookAdminWithTupleBooleanFilter(BookAdmin): class DecadeFilterBookAdmin (line 106) | class DecadeFilterBookAdmin(ModelAdmin): class DecadeFilterBookAdminWithoutTitle (line 110) | class DecadeFilterBookAdminWithoutTitle(ModelAdmin): class DecadeFilterBookAdminWithoutParameter (line 113) | class DecadeFilterBookAdminWithoutParameter(ModelAdmin): class DecadeFilterBookAdminWithNoneReturningLookups (line 116) | class DecadeFilterBookAdminWithNoneReturningLookups(ModelAdmin): class DecadeFilterBookAdminWithFailingQueryset (line 119) | class DecadeFilterBookAdminWithFailingQueryset(ModelAdmin): class DecadeFilterBookAdminWithQuerysetBasedLookups (line 122) | class DecadeFilterBookAdminWithQuerysetBasedLookups(ModelAdmin): class DecadeFilterBookAdminParameterEndsWith__In (line 125) | class DecadeFilterBookAdminParameterEndsWith__In(ModelAdmin): class DecadeFilterBookAdminParameterEndsWith__Isnull (line 128) | class DecadeFilterBookAdminParameterEndsWith__Isnull(ModelAdmin): class EmployeeAdmin (line 131) | class EmployeeAdmin(ModelAdmin): class DepartmentFilterEmployeeAdmin (line 136) | class DepartmentFilterEmployeeAdmin(EmployeeAdmin): class ListFiltersTests (line 140) | class ListFiltersTests(TestCase): method setUp (line 142) | def setUp(self): method get_changelist (line 170) | def get_changelist(self, request, model, modeladmin): method test_datefieldlistfilter (line 175) | def test_datefieldlistfilter(self): method test_datefieldlistfilter_with_time_zone_support (line 258) | def test_datefieldlistfilter_with_time_zone_support(self): method test_allvaluesfieldlistfilter (line 262) | def test_allvaluesfieldlistfilter(self): method test_relatedfieldlistfilter_foreignkey (line 289) | def test_relatedfieldlistfilter_foreignkey(self): method test_relatedfieldlistfilter_manytomany (line 317) | def test_relatedfieldlistfilter_manytomany(self): method test_relatedfieldlistfilter_reverse_relationships (line 344) | def test_relatedfieldlistfilter_reverse_relationships(self): method test_booleanfieldlistfilter (line 397) | def test_booleanfieldlistfilter(self): method test_booleanfieldlistfilter_tuple (line 401) | def test_booleanfieldlistfilter_tuple(self): method verify_booleanfieldlistfilter (line 405) | def verify_booleanfieldlistfilter(self, modeladmin): method test_simplelistfilter (line 451) | def test_simplelistfilter(self): method test_listfilter_without_title (line 545) | def test_listfilter_without_title(self): method test_simplelistfilter_without_parameter (line 555) | def test_simplelistfilter_without_parameter(self): method test_simplelistfilter_with_none_returning_lookups (line 565) | def test_simplelistfilter_with_none_returning_lookups(self): method test_filter_with_failing_queryset (line 576) | def test_filter_with_failing_queryset(self): method test_simplelistfilter_with_queryset_based_lookups (line 586) | def test_simplelistfilter_with_queryset_based_lookups(self): method test_two_characters_long_field (line 608) | def test_two_characters_long_field(self): method test_parameter_ends_with__in__or__isnull (line 627) | def test_parameter_ends_with__in__or__isnull(self): method test_lookup_with_non_string_value (line 668) | def test_lookup_with_non_string_value(self): method test_fk_with_to_field (line 690) | def test_fk_with_to_field(self): FILE: Django-1.5.1/tests/regressiontests/admin_inlines/admin.py class BookInline (line 11) | class BookInline(admin.TabularInline): class AuthorAdmin (line 15) | class AuthorAdmin(admin.ModelAdmin): class InnerInline (line 19) | class InnerInline(admin.StackedInline): class HolderAdmin (line 25) | class HolderAdmin(admin.ModelAdmin): class Media (line 27) | class Media: class InnerInline2 (line 31) | class InnerInline2(admin.StackedInline): class Media (line 34) | class Media: class InnerInline3 (line 38) | class InnerInline3(admin.StackedInline): class Media (line 41) | class Media: class TitleForm (line 45) | class TitleForm(forms.ModelForm): method clean (line 47) | def clean(self): class TitleInline (line 56) | class TitleInline(admin.TabularInline): class Inner4StackedInline (line 62) | class Inner4StackedInline(admin.StackedInline): class Inner4TabularInline (line 66) | class Inner4TabularInline(admin.TabularInline): class Holder4Admin (line 70) | class Holder4Admin(admin.ModelAdmin): class InlineWeakness (line 74) | class InlineWeakness(admin.TabularInline): class QuestionInline (line 79) | class QuestionInline(admin.TabularInline): method call_me (line 83) | def call_me(self, obj): class PollAdmin (line 87) | class PollAdmin(admin.ModelAdmin): method call_me (line 90) | def call_me(self, obj): class ChapterInline (line 94) | class ChapterInline(admin.TabularInline): method call_me (line 98) | def call_me(self, obj): class NovelAdmin (line 102) | class NovelAdmin(admin.ModelAdmin): class ConsigliereInline (line 106) | class ConsigliereInline(admin.TabularInline): class SottoCapoInline (line 110) | class SottoCapoInline(admin.TabularInline): class ProfileInline (line 114) | class ProfileInline(admin.TabularInline): class ChildModel1Inline (line 120) | class ChildModel1Inline(admin.TabularInline): class ChildModel2Inline (line 124) | class ChildModel2Inline(admin.StackedInline): class SightingInline (line 128) | class SightingInline(admin.TabularInline): FILE: Django-1.5.1/tests/regressiontests/admin_inlines/models.py class Parent (line 14) | class Parent(models.Model): method __str__ (line 17) | def __str__(self): class Teacher (line 22) | class Teacher(models.Model): method __str__ (line 25) | def __str__(self): class Child (line 30) | class Child(models.Model): method __str__ (line 38) | def __str__(self): class Book (line 42) | class Book(models.Model): class Author (line 46) | class Author(models.Model): class Holder (line 51) | class Holder(models.Model): class Inner (line 55) | class Inner(models.Model): method get_absolute_url (line 60) | def get_absolute_url(self): class Holder2 (line 64) | class Holder2(models.Model): class Inner2 (line 68) | class Inner2(models.Model): class Holder3 (line 72) | class Holder3(models.Model): class Inner3 (line 76) | class Inner3(models.Model): class Holder4 (line 82) | class Holder4(models.Model): class Inner4Stacked (line 85) | class Inner4Stacked(models.Model): class Inner4Tabular (line 89) | class Inner4Tabular(models.Model): class Person (line 95) | class Person(models.Model): class OutfitItem (line 98) | class OutfitItem(models.Model): class Fashionista (line 101) | class Fashionista(models.Model): class ShoppingWeakness (line 105) | class ShoppingWeakness(models.Model): class TitleCollection (line 111) | class TitleCollection(models.Model): class Title (line 114) | class Title(models.Model): class Poll (line 121) | class Poll(models.Model): class Question (line 124) | class Question(models.Model): class Novel (line 127) | class Novel(models.Model): class Chapter (line 130) | class Chapter(models.Model): class CapoFamiglia (line 136) | class CapoFamiglia(models.Model): class Consigliere (line 140) | class Consigliere(models.Model): class SottoCapo (line 145) | class SottoCapo(models.Model): class ParentModelWithCustomPk (line 151) | class ParentModelWithCustomPk(models.Model): class ChildModel1 (line 156) | class ChildModel1(models.Model): method get_absolute_url (line 161) | def get_absolute_url(self): class ChildModel2 (line 165) | class ChildModel2(models.Model): method get_absolute_url (line 170) | def get_absolute_url(self): class LifeForm (line 175) | class LifeForm(models.Model): class ExtraTerrestrial (line 178) | class ExtraTerrestrial(LifeForm): class Sighting (line 181) | class Sighting(models.Model): class ProfileCollection (line 187) | class ProfileCollection(models.Model): class Profile (line 190) | class Profile(models.Model): FILE: Django-1.5.1/tests/regressiontests/admin_inlines/tests.py class TestInline (line 19) | class TestInline(TestCase): method setUp (line 23) | def setUp(self): method tearDown (line 32) | def tearDown(self): method test_can_delete (line 35) | def test_can_delete(self): method test_readonly_stacked_inline_label (line 45) | def test_readonly_stacked_inline_label(self): method test_many_to_many_inlines (line 53) | def test_many_to_many_inlines(self): method test_inline_primary (line 63) | def test_inline_primary(self): method test_tabular_non_field_errors (line 80) | def test_tabular_non_field_errors(self): method test_no_parent_callable_lookup (line 97) | def test_no_parent_callable_lookup(self): method test_callable_lookup (line 106) | def test_callable_lookup(self): method test_help_text (line 116) | def test_help_text(self): method test_non_related_name_inline (line 126) | def test_non_related_name_inline(self): method test_localize_pk_shortcut (line 150) | def test_localize_pk_shortcut(self): method test_custom_pk_shortcut (line 161) | def test_custom_pk_shortcut(self): method test_create_inlines_on_inherited_model (line 175) | def test_create_inlines_on_inherited_model(self): class TestInlineMedia (line 194) | class TestInlineMedia(TestCase): method setUp (line 198) | def setUp(self): method tearDown (line 203) | def tearDown(self): method test_inline_media_only_base (line 206) | def test_inline_media_only_base(self): method test_inline_media_only_inline (line 214) | def test_inline_media_only_inline(self): method test_all_inline_media (line 222) | def test_all_inline_media(self): class TestInlineAdminForm (line 231) | class TestInlineAdminForm(TestCase): method test_immutable_content_type (line 234) | def test_immutable_content_type(self): class TestInlinePermissions (line 249) | class TestInlinePermissions(TestCase): method setUp (line 257) | def setUp(self): method tearDown (line 297) | def tearDown(self): method test_inline_add_m2m_noperm (line 300) | def test_inline_add_m2m_noperm(self): method test_inline_add_fk_noperm (line 307) | def test_inline_add_fk_noperm(self): method test_inline_change_m2m_noperm (line 314) | def test_inline_change_m2m_noperm(self): method test_inline_change_fk_noperm (line 321) | def test_inline_change_fk_noperm(self): method test_inline_add_m2m_add_perm (line 328) | def test_inline_add_m2m_add_perm(self): method test_inline_add_fk_add_perm (line 337) | def test_inline_add_fk_add_perm(self): method test_inline_change_m2m_add_perm (line 347) | def test_inline_change_m2m_add_perm(self): method test_inline_change_m2m_change_perm (line 357) | def test_inline_change_m2m_change_perm(self): method test_inline_change_fk_add_perm (line 370) | def test_inline_change_fk_add_perm(self): method test_inline_change_fk_change_perm (line 383) | def test_inline_change_fk_change_perm(self): method test_inline_change_fk_add_change_perm (line 398) | def test_inline_change_fk_add_change_perm(self): method test_inline_change_fk_change_del_perm (line 412) | def test_inline_change_fk_change_del_perm(self): method test_inline_change_fk_all_perms (line 428) | def test_inline_change_fk_all_perms(self): class SeleniumFirefoxTests (line 447) | class SeleniumFirefoxTests(AdminSeleniumWebDriverTestCase): method test_add_stackeds (line 452) | def test_add_stackeds(self): method test_delete_stackeds (line 472) | def test_delete_stackeds(self): method test_add_inlines (line 493) | def test_add_inlines(self): method test_delete_inlines (line 555) | def test_delete_inlines(self): method test_alternating_rows (line 593) | def test_alternating_rows(self): class SeleniumChromeTests (line 609) | class SeleniumChromeTests(SeleniumFirefoxTests): class SeleniumIETests (line 612) | class SeleniumIETests(SeleniumFirefoxTests): FILE: Django-1.5.1/tests/regressiontests/admin_ordering/models.py class Band (line 6) | class Band(models.Model): class Meta (line 11) | class Meta: class Song (line 14) | class Song(models.Model): class Meta (line 19) | class Meta: class SongInlineDefaultOrdering (line 22) | class SongInlineDefaultOrdering(admin.StackedInline): class SongInlineNewOrdering (line 25) | class SongInlineNewOrdering(admin.StackedInline): class DynOrderingBandAdmin (line 29) | class DynOrderingBandAdmin(admin.ModelAdmin): method get_ordering (line 31) | def get_ordering(self, request): FILE: Django-1.5.1/tests/regressiontests/admin_ordering/tests.py class MockRequest (line 11) | class MockRequest(object): class MockSuperUser (line 14) | class MockSuperUser(object): method has_perm (line 15) | def has_perm(self, perm): class TestAdminOrdering (line 22) | class TestAdminOrdering(TestCase): method setUp (line 29) | def setUp(self): method test_default_ordering (line 38) | def test_default_ordering(self): method test_specified_ordering (line 47) | def test_specified_ordering(self): method test_dynamic_ordering (line 58) | def test_dynamic_ordering(self): class TestInlineModelAdminOrdering (line 74) | class TestInlineModelAdminOrdering(TestCase): method setUp (line 80) | def setUp(self): method test_default_ordering (line 91) | def test_default_ordering(self): method test_specified_ordering (line 100) | def test_specified_ordering(self): FILE: Django-1.5.1/tests/regressiontests/admin_registration/models.py class Person (line 8) | class Person(models.Model): class Location (line 11) | class Location(models.Model): class Meta (line 12) | class Meta: class Place (line 15) | class Place(Location): FILE: Django-1.5.1/tests/regressiontests/admin_registration/tests.py class NameAdmin (line 10) | class NameAdmin(admin.ModelAdmin): class TestRegistration (line 14) | class TestRegistration(TestCase): method setUp (line 15) | def setUp(self): method test_bare_registration (line 18) | def test_bare_registration(self): method test_registration_with_model_admin (line 24) | def test_registration_with_model_admin(self): method test_prevent_double_registration (line 30) | def test_prevent_double_registration(self): method test_registration_with_star_star_options (line 36) | def test_registration_with_star_star_options(self): method test_star_star_overrides (line 40) | def test_star_star_overrides(self): method test_iterable_registration (line 48) | def test_iterable_registration(self): method test_abstract_model (line 59) | def test_abstract_model(self): FILE: Django-1.5.1/tests/regressiontests/admin_scripts/app_with_import/models.py class CommentScore (line 7) | class CommentScore(models.Model): FILE: Django-1.5.1/tests/regressiontests/admin_scripts/complex_app/models/bar.py class Bar (line 8) | class Bar(models.Model): class Meta (line 10) | class Meta: FILE: Django-1.5.1/tests/regressiontests/admin_scripts/complex_app/models/foo.py class Foo (line 4) | class Foo(models.Model): class Meta (line 6) | class Meta: FILE: Django-1.5.1/tests/regressiontests/admin_scripts/management/commands/app_command.py class Command (line 4) | class Command(AppCommand): method handle_app (line 9) | def handle_app(self, app, **options): FILE: Django-1.5.1/tests/regressiontests/admin_scripts/management/commands/base_command.py class Command (line 6) | class Command(BaseCommand): method handle (line 16) | def handle(self, *labels, **options): FILE: Django-1.5.1/tests/regressiontests/admin_scripts/management/commands/custom_startproject.py class Command (line 6) | class Command(BaseCommand): FILE: Django-1.5.1/tests/regressiontests/admin_scripts/management/commands/label_command.py class Command (line 4) | class Command(LabelCommand): method handle_label (line 9) | def handle_label(self, label, **options): FILE: Django-1.5.1/tests/regressiontests/admin_scripts/management/commands/noargs_command.py class Command (line 4) | class Command(NoArgsCommand): method handle_noargs (line 9) | def handle_noargs(self, **options): FILE: Django-1.5.1/tests/regressiontests/admin_scripts/models.py class Article (line 6) | class Article(models.Model): method __str__ (line 10) | def __str__(self): class Meta (line 13) | class Meta: FILE: Django-1.5.1/tests/regressiontests/admin_scripts/tests.py class AdminScriptTestCase (line 30) | class AdminScriptTestCase(unittest.TestCase): method write_settings (line 31) | def write_settings(self, filename, apps=None, is_dir=False, sdict=None): method remove_settings (line 63) | def remove_settings(self, filename, is_dir=False): method _ext_backend_paths (line 86) | def _ext_backend_paths(self): method run_test (line 100) | def run_test(self, script, args, settings_file=None, apps=None): method run_django_admin (line 141) | def run_django_admin(self, args, settings_file=None): method run_manage (line 145) | def run_manage(self, args, settings_file=None): method assertNoOutput (line 168) | def assertNoOutput(self, stream): method assertOutput (line 172) | def assertOutput(self, stream, msg): method assertNotInOutput (line 177) | def assertNotInOutput(self, stream, msg): class DjangoAdminNoSettings (line 189) | class DjangoAdminNoSettings(AdminScriptTestCase): method test_builtin_command (line 192) | def test_builtin_command(self): method test_builtin_with_bad_settings (line 199) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 206) | def test_builtin_with_bad_environment(self): class DjangoAdminDefaultSettings (line 214) | class DjangoAdminDefaultSettings(AdminScriptTestCase): method setUp (line 218) | def setUp(self): method tearDown (line 221) | def tearDown(self): method test_builtin_command (line 224) | def test_builtin_command(self): method test_builtin_with_settings (line 231) | def test_builtin_with_settings(self): method test_builtin_with_environment (line 238) | def test_builtin_with_environment(self): method test_builtin_with_bad_settings (line 245) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 252) | def test_builtin_with_bad_environment(self): method test_custom_command (line 259) | def test_custom_command(self): method test_custom_command_with_settings (line 266) | def test_custom_command_with_settings(self): method test_custom_command_with_environment (line 273) | def test_custom_command_with_environment(self): class DjangoAdminFullPathDefaultSettings (line 280) | class DjangoAdminFullPathDefaultSettings(AdminScriptTestCase): method setUp (line 284) | def setUp(self): method tearDown (line 287) | def tearDown(self): method test_builtin_command (line 290) | def test_builtin_command(self): method test_builtin_with_settings (line 297) | def test_builtin_with_settings(self): method test_builtin_with_environment (line 304) | def test_builtin_with_environment(self): method test_builtin_with_bad_settings (line 311) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 318) | def test_builtin_with_bad_environment(self): method test_custom_command (line 325) | def test_custom_command(self): method test_custom_command_with_settings (line 332) | def test_custom_command_with_settings(self): method test_custom_command_with_environment (line 339) | def test_custom_command_with_environment(self): class DjangoAdminMinimalSettings (line 346) | class DjangoAdminMinimalSettings(AdminScriptTestCase): method setUp (line 350) | def setUp(self): method tearDown (line 353) | def tearDown(self): method test_builtin_command (line 356) | def test_builtin_command(self): method test_builtin_with_settings (line 363) | def test_builtin_with_settings(self): method test_builtin_with_environment (line 370) | def test_builtin_with_environment(self): method test_builtin_with_bad_settings (line 377) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 384) | def test_builtin_with_bad_environment(self): method test_custom_command (line 391) | def test_custom_command(self): method test_custom_command_with_settings (line 398) | def test_custom_command_with_settings(self): method test_custom_command_with_environment (line 405) | def test_custom_command_with_environment(self): class DjangoAdminAlternateSettings (line 412) | class DjangoAdminAlternateSettings(AdminScriptTestCase): method setUp (line 416) | def setUp(self): method tearDown (line 419) | def tearDown(self): method test_builtin_command (line 422) | def test_builtin_command(self): method test_builtin_with_settings (line 429) | def test_builtin_with_settings(self): method test_builtin_with_environment (line 436) | def test_builtin_with_environment(self): method test_builtin_with_bad_settings (line 443) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 450) | def test_builtin_with_bad_environment(self): method test_custom_command (line 457) | def test_custom_command(self): method test_custom_command_with_settings (line 464) | def test_custom_command_with_settings(self): method test_custom_command_with_environment (line 471) | def test_custom_command_with_environment(self): class DjangoAdminMultipleSettings (line 479) | class DjangoAdminMultipleSettings(AdminScriptTestCase): method setUp (line 485) | def setUp(self): method tearDown (line 489) | def tearDown(self): method test_builtin_command (line 493) | def test_builtin_command(self): method test_builtin_with_settings (line 500) | def test_builtin_with_settings(self): method test_builtin_with_environment (line 507) | def test_builtin_with_environment(self): method test_builtin_with_bad_settings (line 514) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 520) | def test_builtin_with_bad_environment(self): method test_custom_command (line 527) | def test_custom_command(self): method test_custom_command_with_settings (line 534) | def test_custom_command_with_settings(self): method test_custom_command_with_environment (line 541) | def test_custom_command_with_environment(self): class DjangoAdminSettingsDirectory (line 549) | class DjangoAdminSettingsDirectory(AdminScriptTestCase): method setUp (line 555) | def setUp(self): method tearDown (line 558) | def tearDown(self): method test_setup_environ (line 561) | def test_setup_environ(self): method test_setup_environ_custom_template (line 570) | def test_setup_environ_custom_template(self): method test_builtin_command (line 581) | def test_builtin_command(self): method test_builtin_with_bad_settings (line 588) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 594) | def test_builtin_with_bad_environment(self): method test_custom_command (line 601) | def test_custom_command(self): method test_builtin_with_settings (line 608) | def test_builtin_with_settings(self): method test_builtin_with_environment (line 615) | def test_builtin_with_environment(self): class ManageNoSettings (line 629) | class ManageNoSettings(AdminScriptTestCase): method test_builtin_command (line 632) | def test_builtin_command(self): method test_builtin_with_bad_settings (line 639) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 646) | def test_builtin_with_bad_environment(self): class ManageDefaultSettings (line 654) | class ManageDefaultSettings(AdminScriptTestCase): method setUp (line 658) | def setUp(self): method tearDown (line 661) | def tearDown(self): method test_builtin_command (line 664) | def test_builtin_command(self): method test_builtin_with_settings (line 671) | def test_builtin_with_settings(self): method test_builtin_with_environment (line 678) | def test_builtin_with_environment(self): method test_builtin_with_bad_settings (line 685) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 692) | def test_builtin_with_bad_environment(self): method test_custom_command (line 699) | def test_custom_command(self): method test_custom_command_with_settings (line 706) | def test_custom_command_with_settings(self): method test_custom_command_with_environment (line 713) | def test_custom_command_with_environment(self): class ManageFullPathDefaultSettings (line 721) | class ManageFullPathDefaultSettings(AdminScriptTestCase): method setUp (line 725) | def setUp(self): method tearDown (line 728) | def tearDown(self): method test_builtin_command (line 731) | def test_builtin_command(self): method test_builtin_with_settings (line 738) | def test_builtin_with_settings(self): method test_builtin_with_environment (line 745) | def test_builtin_with_environment(self): method test_builtin_with_bad_settings (line 752) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 759) | def test_builtin_with_bad_environment(self): method test_custom_command (line 766) | def test_custom_command(self): method test_custom_command_with_settings (line 773) | def test_custom_command_with_settings(self): method test_custom_command_with_environment (line 780) | def test_custom_command_with_environment(self): class ManageMinimalSettings (line 787) | class ManageMinimalSettings(AdminScriptTestCase): method setUp (line 791) | def setUp(self): method tearDown (line 794) | def tearDown(self): method test_builtin_command (line 797) | def test_builtin_command(self): method test_builtin_with_settings (line 804) | def test_builtin_with_settings(self): method test_builtin_with_environment (line 811) | def test_builtin_with_environment(self): method test_builtin_with_bad_settings (line 818) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 825) | def test_builtin_with_bad_environment(self): method test_custom_command (line 832) | def test_custom_command(self): method test_custom_command_with_settings (line 839) | def test_custom_command_with_settings(self): method test_custom_command_with_environment (line 846) | def test_custom_command_with_environment(self): class ManageAlternateSettings (line 853) | class ManageAlternateSettings(AdminScriptTestCase): method setUp (line 857) | def setUp(self): method tearDown (line 860) | def tearDown(self): method test_builtin_command (line 863) | def test_builtin_command(self): method test_builtin_with_settings (line 870) | def test_builtin_with_settings(self): method test_builtin_with_environment (line 879) | def test_builtin_with_environment(self): method test_builtin_with_bad_settings (line 888) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 895) | def test_builtin_with_bad_environment(self): method test_custom_command (line 902) | def test_custom_command(self): method test_custom_command_with_settings (line 909) | def test_custom_command_with_settings(self): method test_custom_command_with_environment (line 916) | def test_custom_command_with_environment(self): class ManageMultipleSettings (line 924) | class ManageMultipleSettings(AdminScriptTestCase): method setUp (line 930) | def setUp(self): method tearDown (line 934) | def tearDown(self): method test_builtin_command (line 938) | def test_builtin_command(self): method test_builtin_with_settings (line 945) | def test_builtin_with_settings(self): method test_builtin_with_environment (line 952) | def test_builtin_with_environment(self): method test_builtin_with_bad_settings (line 959) | def test_builtin_with_bad_settings(self): method test_builtin_with_bad_environment (line 966) | def test_builtin_with_bad_environment(self): method test_custom_command (line 973) | def test_custom_command(self): method test_custom_command_with_settings (line 980) | def test_custom_command_with_settings(self): method test_custom_command_with_environment (line 987) | def test_custom_command_with_environment(self): class ManageSettingsWithImportError (line 995) | class ManageSettingsWithImportError(AdminScriptTestCase): method tearDown (line 999) | def tearDown(self): method write_settings_with_import_error (line 1002) | def write_settings_with_import_error(self, filename, apps=None, is_dir... method test_builtin_command (line 1013) | def test_builtin_command(self): method test_builtin_command_with_attribute_error (line 1025) | def test_builtin_command_with_attribute_error(self): class ManageValidate (line 1036) | class ManageValidate(AdminScriptTestCase): method tearDown (line 1037) | def tearDown(self): method test_nonexistent_app (line 1040) | def test_nonexistent_app(self): method test_broken_app (line 1049) | def test_broken_app(self): method test_complex_app (line 1057) | def test_complex_app(self): method test_app_with_import (line 1067) | def test_app_with_import(self): class CustomTestRunner (line 1082) | class CustomTestRunner(DjangoTestSuiteRunner): method __init__ (line 1084) | def __init__(self, *args, **kwargs): method run_tests (line 1088) | def run_tests(self, test_labels, extra_tests=None, **kwargs): class ManageTestCommand (line 1091) | class ManageTestCommand(AdminScriptTestCase): method setUp (line 1092) | def setUp(self): method test_liveserver (line 1096) | def test_liveserver(self): class ManageRunserver (line 1126) | class ManageRunserver(AdminScriptTestCase): method setUp (line 1127) | def setUp(self): method assertServerSettings (line 1136) | def assertServerSettings(self, addr, port, ipv6=None, raw_ipv6=False): method test_runserver_addrport (line 1142) | def test_runserver_addrport(self): method test_runner_addrport_ipv6 (line 1153) | def test_runner_addrport_ipv6(self): method test_runner_hostname (line 1163) | def test_runner_hostname(self): method test_runner_hostname_ipv6 (line 1171) | def test_runner_hostname_ipv6(self): method test_runner_ambiguous (line 1175) | def test_runner_ambiguous(self): class CommandTypes (line 1191) | class CommandTypes(AdminScriptTestCase): method setUp (line 1193) | def setUp(self): method tearDown (line 1196) | def tearDown(self): method test_version (line 1199) | def test_version(self): method test_version_alternative (line 1206) | def test_version_alternative(self): method test_help (line 1211) | def test_help(self): method test_help_commands (line 1221) | def test_help_commands(self): method test_help_alternative (line 1232) | def test_help_alternative(self): method test_help_short_altert (line 1237) | def test_help_short_altert(self): method test_specific_help (line 1242) | def test_specific_help(self): method test_base_command (line 1249) | def test_base_command(self): method test_base_command_no_label (line 1256) | def test_base_command_no_label(self): method test_base_command_multiple_label (line 1263) | def test_base_command_multiple_label(self): method test_base_command_with_option (line 1270) | def test_base_command_with_option(self): method test_base_command_with_options (line 1277) | def test_base_command_with_options(self): method test_base_run_from_argv (line 1284) | def test_base_run_from_argv(self): method test_noargs (line 1309) | def test_noargs(self): method test_noargs_with_args (line 1316) | def test_noargs_with_args(self): method test_app_command (line 1322) | def test_app_command(self): method test_app_command_no_apps (line 1331) | def test_app_command_no_apps(self): method test_app_command_multiple_apps (line 1337) | def test_app_command_multiple_apps(self): method test_app_command_invalid_appname (line 1349) | def test_app_command_invalid_appname(self): method test_app_command_some_invalid_appnames (line 1355) | def test_app_command_some_invalid_appnames(self): method test_label_command (line 1361) | def test_label_command(self): method test_label_command_no_label (line 1368) | def test_label_command_no_label(self): method test_label_command_multiple_label (line 1374) | def test_label_command_multiple_label(self): class ArgumentOrder (line 1382) | class ArgumentOrder(AdminScriptTestCase): method setUp (line 1391) | def setUp(self): method tearDown (line 1395) | def tearDown(self): method test_setting_then_option (line 1399) | def test_setting_then_option(self): method test_setting_then_short_option (line 1406) | def test_setting_then_short_option(self): method test_option_then_setting (line 1413) | def test_option_then_setting(self): method test_short_option_then_setting (line 1420) | def test_short_option_then_setting(self): method test_option_then_setting_then_option (line 1427) | def test_option_then_setting_then_option(self): class StartProject (line 1435) | class StartProject(LiveServerTestCase, AdminScriptTestCase): method test_wrong_args (line 1437) | def test_wrong_args(self): method test_simple_project (line 1443) | def test_simple_project(self): method test_invalid_project_name (line 1458) | def test_invalid_project_name(self): method test_simple_project_different_directory (line 1468) | def test_simple_project_different_directory(self): method test_custom_project_template (line 1484) | def test_custom_project_template(self): method test_template_dir_with_trailing_slash (line 1496) | def test_template_dir_with_trailing_slash(self): method test_custom_project_template_from_tarball_by_path (line 1508) | def test_custom_project_template_from_tarball_by_path(self): method test_custom_project_template_from_tarball_to_alternative_location (line 1520) | def test_custom_project_template_from_tarball_to_alternative_location(... method test_custom_project_template_from_tarball_by_url (line 1533) | def test_custom_project_template_from_tarball_by_url(self): method test_project_template_tarball_url (line 1546) | def test_project_template_tarball_url(self): method test_file_without_extension (line 1559) | def test_file_without_extension(self): method test_custom_project_template_context_variables (line 1577) | def test_custom_project_template_context_variables(self): method test_no_escaping_of_project_variables (line 1592) | def test_no_escaping_of_project_variables(self): method test_custom_project_destination_missing (line 1609) | def test_custom_project_destination_missing(self): method test_custom_project_template_with_non_ascii_templates (line 1622) | def test_custom_project_template_with_non_ascii_templates(self): class DiffSettings (line 1638) | class DiffSettings(AdminScriptTestCase): method test_basic (line 1640) | def test_basic(self): FILE: Django-1.5.1/tests/regressiontests/admin_util/models.py class Article (line 6) | class Article(models.Model): method test_from_model (line 15) | def test_from_model(self): method test_from_model_with_override (line 18) | def test_from_model_with_override(self): class Count (line 23) | class Count(models.Model): method __str__ (line 27) | def __str__(self): class Event (line 30) | class Event(models.Model): class Location (line 33) | class Location(models.Model): class Guest (line 36) | class Guest(models.Model): class Meta (line 40) | class Meta: class EventGuide (line 43) | class EventGuide(models.Model): FILE: Django-1.5.1/tests/regressiontests/admin_util/tests.py class NestedObjectsTests (line 23) | class NestedObjectsTests(TestCase): method setUp (line 28) | def setUp(self): method _check (line 32) | def _check(self, target): method _connect (line 35) | def _connect(self, i, j): method _collect (line 39) | def _collect(self, *indices): method test_unrelated_roots (line 42) | def test_unrelated_roots(self): method test_siblings (line 48) | def test_siblings(self): method test_non_added_parent (line 54) | def test_non_added_parent(self): method test_cyclic (line 59) | def test_cyclic(self): method test_queries (line 66) | def test_queries(self): method test_on_delete_do_nothing (line 74) | def test_on_delete_do_nothing(self): class UtilTests (line 85) | class UtilTests(unittest.TestCase): method test_values_from_lookup_field (line 86) | def test_values_from_lookup_field(self): method test_null_display_for_field (line 129) | def test_null_display_for_field(self): method test_label_for_field (line 162) | def test_label_for_field(self): method test_related_name (line 239) | def test_related_name(self): method test_logentry_unicode (line 256) | def test_logentry_unicode(self): method test_safestring_in_field_label (line 281) | def test_safestring_in_field_label(self): FILE: Django-1.5.1/tests/regressiontests/admin_validation/models.py class Album (line 9) | class Album(models.Model): class Song (line 14) | class Song(models.Model): class Meta (line 19) | class Meta: method __str__ (line 22) | def __str__(self): method readonly_method_on_model (line 25) | def readonly_method_on_model(self): class TwoAlbumFKAndAnE (line 30) | class TwoAlbumFKAndAnE(models.Model): class Author (line 36) | class Author(models.Model): class Book (line 40) | class Book(models.Model): class AuthorsBooks (line 47) | class AuthorsBooks(models.Model): class State (line 52) | class State(models.Model): class City (line 56) | class City(models.Model): FILE: Django-1.5.1/tests/regressiontests/admin_validation/tests.py class SongForm (line 12) | class SongForm(forms.ModelForm): class ValidFields (line 15) | class ValidFields(admin.ModelAdmin): class InvalidFields (line 19) | class InvalidFields(admin.ModelAdmin): class ValidFormFieldsets (line 23) | class ValidFormFieldsets(admin.ModelAdmin): method get_form (line 24) | def get_form(self, request, obj=None, **kwargs): class ValidationTestCase (line 35) | class ValidationTestCase(TestCase): method test_readonly_and_editable (line 37) | def test_readonly_and_editable(self): method test_custom_modelforms_with_fields_fieldsets (line 47) | def test_custom_modelforms_with_fields_fieldsets(self): method test_custom_get_form_with_fieldsets (line 57) | def test_custom_get_form_with_fieldsets(self): method test_exclude_values (line 65) | def test_exclude_values(self): method test_exclude_duplicate_values (line 76) | def test_exclude_duplicate_values(self): method test_exclude_in_inline (line 84) | def test_exclude_in_inline(self): method test_exclude_inline_model_admin (line 98) | def test_exclude_inline_model_admin(self): method test_app_label_in_admin_validation (line 116) | def test_app_label_in_admin_validation(self): method test_fk_exclusion (line 128) | def test_fk_exclusion(self): method test_inline_self_validation (line 140) | def test_inline_self_validation(self): method test_inline_with_specified (line 149) | def test_inline_with_specified(self): method test_readonly (line 155) | def test_readonly(self): method test_readonly_on_method (line 161) | def test_readonly_on_method(self): method test_readonly_on_modeladmin (line 170) | def test_readonly_on_modeladmin(self): method test_readonly_method_on_model (line 179) | def test_readonly_method_on_model(self): method test_nonexistant_field (line 185) | def test_nonexistant_field(self): method test_nonexistant_field_on_inline (line 194) | def test_nonexistant_field_on_inline(self): method test_extra (line 204) | def test_extra(self): method test_readonly_lambda (line 212) | def test_readonly_lambda(self): method test_graceful_m2m_fail (line 218) | def test_graceful_m2m_fail(self): method test_cannot_include_through (line 233) | def test_cannot_include_through(self): method test_nested_fields (line 244) | def test_nested_fields(self): method test_nested_fieldsets (line 249) | def test_nested_fieldsets(self): method test_explicit_through_override (line 256) | def test_explicit_through_override(self): method test_non_model_fields (line 273) | def test_non_model_fields(self): method test_non_model_first_field (line 289) | def test_non_model_first_field(self): FILE: Django-1.5.1/tests/regressiontests/admin_views/admin.py function callable_year (line 34) | def callable_year(dt_value): class ArticleInline (line 42) | class ArticleInline(admin.TabularInline): class ChapterInline (line 58) | class ChapterInline(admin.TabularInline): class ChapterXtra1Admin (line 62) | class ChapterXtra1Admin(admin.ModelAdmin): class ArticleAdmin (line 71) | class ArticleAdmin(admin.ModelAdmin): method changelist_view (line 75) | def changelist_view(self, request): method modeladmin_year (line 83) | def modeladmin_year(self, obj): method delete_model (line 88) | def delete_model(self, request, obj): method save_model (line 97) | def save_model(self, request, obj, form, change=True): class RowLevelChangePermissionModelAdmin (line 107) | class RowLevelChangePermissionModelAdmin(admin.ModelAdmin): method has_change_permission (line 108) | def has_change_permission(self, request, obj=None): class CustomArticleAdmin (line 113) | class CustomArticleAdmin(admin.ModelAdmin): method changelist_view (line 124) | def changelist_view(self, request): class ThingAdmin (line 133) | class ThingAdmin(admin.ModelAdmin): class InquisitionAdmin (line 137) | class InquisitionAdmin(admin.ModelAdmin): class SketchAdmin (line 141) | class SketchAdmin(admin.ModelAdmin): class FabricAdmin (line 145) | class FabricAdmin(admin.ModelAdmin): class BasePersonModelFormSet (line 150) | class BasePersonModelFormSet(BaseModelFormSet): method clean (line 151) | def clean(self): class PersonAdmin (line 159) | class PersonAdmin(admin.ModelAdmin): method get_changelist_formset (line 166) | def get_changelist_formset(self, request, **kwargs): method queryset (line 170) | def queryset(self, request): class FooAccount (line 176) | class FooAccount(Account): class BarAccount (line 181) | class BarAccount(Account): class FooAccountAdmin (line 186) | class FooAccountAdmin(admin.StackedInline): class BarAccountAdmin (line 191) | class BarAccountAdmin(admin.StackedInline): class PersonaAdmin (line 196) | class PersonaAdmin(admin.ModelAdmin): class SubscriberAdmin (line 203) | class SubscriberAdmin(admin.ModelAdmin): method mail_admin (line 206) | def mail_admin(self, request, selected): function external_mail (line 215) | def external_mail(modeladmin, request, selected): function redirect_to (line 225) | def redirect_to(modeladmin, request, selected): class ExternalSubscriberAdmin (line 231) | class ExternalSubscriberAdmin(admin.ModelAdmin): class Podcast (line 235) | class Podcast(Media): class Meta (line 238) | class Meta: class PodcastAdmin (line 242) | class PodcastAdmin(admin.ModelAdmin): class VodcastAdmin (line 249) | class VodcastAdmin(admin.ModelAdmin): class ChildInline (line 256) | class ChildInline(admin.StackedInline): class ParentAdmin (line 260) | class ParentAdmin(admin.ModelAdmin): method save_related (line 266) | def save_related(self, request, form, formsets, change): class EmptyModelAdmin (line 275) | class EmptyModelAdmin(admin.ModelAdmin): method queryset (line 276) | def queryset(self, request): class OldSubscriberAdmin (line 280) | class OldSubscriberAdmin(admin.ModelAdmin): class PictureInline (line 288) | class PictureInline(admin.TabularInline): class GalleryAdmin (line 293) | class GalleryAdmin(admin.ModelAdmin): class PictureAdmin (line 297) | class PictureAdmin(admin.ModelAdmin): class LanguageAdmin (line 301) | class LanguageAdmin(admin.ModelAdmin): class RecommendationAdmin (line 306) | class RecommendationAdmin(admin.ModelAdmin): class WidgetInline (line 310) | class WidgetInline(admin.StackedInline): class DooHickeyInline (line 314) | class DooHickeyInline(admin.StackedInline): class GrommetInline (line 318) | class GrommetInline(admin.StackedInline): class WhatsitInline (line 322) | class WhatsitInline(admin.StackedInline): class FancyDoodadInline (line 326) | class FancyDoodadInline(admin.StackedInline): class CategoryAdmin (line 330) | class CategoryAdmin(admin.ModelAdmin): class CategoryInline (line 335) | class CategoryInline(admin.StackedInline): class CollectorAdmin (line 339) | class CollectorAdmin(admin.ModelAdmin): class LinkInline (line 346) | class LinkInline(admin.TabularInline): method multiline (line 352) | def multiline(self, instance): class SubPostInline (line 356) | class SubPostInline(admin.TabularInline): method get_readonly_fields (line 363) | def get_readonly_fields(self, request, obj=None): method get_prepopulated_fields (line 368) | def get_prepopulated_fields(self, request, obj=None): class PrePopulatedPostAdmin (line 374) | class PrePopulatedPostAdmin(admin.ModelAdmin): method get_readonly_fields (line 382) | def get_readonly_fields(self, request, obj=None): method get_prepopulated_fields (line 387) | def get_prepopulated_fields(self, request, obj=None): class PostAdmin (line 393) | class PostAdmin(admin.ModelAdmin): method coolness (line 404) | def coolness(self, instance): method value (line 410) | def value(self, instance): method multiline (line 413) | def multiline(self, instance): class CustomChangeList (line 419) | class CustomChangeList(ChangeList): method get_query_set (line 420) | def get_query_set(self, request): class GadgetAdmin (line 424) | class GadgetAdmin(admin.ModelAdmin): method get_changelist (line 425) | def get_changelist(self, request, **kwargs): class PizzaAdmin (line 429) | class PizzaAdmin(admin.ModelAdmin): class WorkHourAdmin (line 433) | class WorkHourAdmin(admin.ModelAdmin): class FoodDeliveryAdmin (line 438) | class FoodDeliveryAdmin(admin.ModelAdmin): class CoverLetterAdmin (line 443) | class CoverLetterAdmin(admin.ModelAdmin): method queryset (line 452) | def queryset(self, request): class PaperAdmin (line 456) | class PaperAdmin(admin.ModelAdmin): method queryset (line 464) | def queryset(self, request): class ShortMessageAdmin (line 468) | class ShortMessageAdmin(admin.ModelAdmin): method queryset (line 476) | def queryset(self, request): class TelegramAdmin (line 480) | class TelegramAdmin(admin.ModelAdmin): method queryset (line 489) | def queryset(self, request): class StoryForm (line 493) | class StoryForm(forms.ModelForm): class Meta (line 494) | class Meta: class StoryAdmin (line 498) | class StoryAdmin(admin.ModelAdmin): class OtherStoryAdmin (line 506) | class OtherStoryAdmin(admin.ModelAdmin): class ComplexSortedPersonAdmin (line 513) | class ComplexSortedPersonAdmin(admin.ModelAdmin): method colored_name (line 517) | def colored_name(self, obj): class AlbumAdmin (line 523) | class AlbumAdmin(admin.ModelAdmin): class WorkHourAdmin (line 527) | class WorkHourAdmin(admin.ModelAdmin): class PrePopulatedPostLargeSlugAdmin (line 532) | class PrePopulatedPostLargeSlugAdmin(admin.ModelAdmin): class AdminOrderedFieldAdmin (line 538) | class AdminOrderedFieldAdmin(admin.ModelAdmin): class AdminOrderedModelMethodAdmin (line 542) | class AdminOrderedModelMethodAdmin(admin.ModelAdmin): class AdminOrderedAdminMethodAdmin (line 546) | class AdminOrderedAdminMethodAdmin(admin.ModelAdmin): method some_admin_order (line 547) | def some_admin_order(self, obj): function admin_ordered_callable (line 553) | def admin_ordered_callable(obj): class AdminOrderedCallableAdmin (line 556) | class AdminOrderedCallableAdmin(admin.ModelAdmin): class ReportAdmin (line 560) | class ReportAdmin(admin.ModelAdmin): method extra (line 561) | def extra(self, request): method get_urls (line 564) | def get_urls(self): class CustomTemplateBooleanFieldListFilter (line 573) | class CustomTemplateBooleanFieldListFilter(BooleanFieldListFilter): class CustomTemplateFilterColorAdmin (line 576) | class CustomTemplateFilterColorAdmin(admin.ModelAdmin): class RelatedPrepopulatedInline1 (line 581) | class RelatedPrepopulatedInline1(admin.StackedInline): class RelatedPrepopulatedInline2 (line 592) | class RelatedPrepopulatedInline2(admin.TabularInline): class MainPrepopulatedAdmin (line 598) | class MainPrepopulatedAdmin(admin.ModelAdmin): class UnorderedObjectAdmin (line 609) | class UnorderedObjectAdmin(admin.ModelAdmin): class UndeletableObjectAdmin (line 615) | class UndeletableObjectAdmin(admin.ModelAdmin): method change_view (line 616) | def change_view(self, *args, **kwargs): function callable_on_unknown (line 621) | def callable_on_unknown(obj): class AttributeErrorRaisingAdmin (line 625) | class AttributeErrorRaisingAdmin(admin.ModelAdmin): class MessageTestingAdmin (line 628) | class MessageTestingAdmin(admin.ModelAdmin): method message_debug (line 632) | def message_debug(self, request, selected): method message_info (line 635) | def message_info(self, request, selected): method message_success (line 638) | def message_success(self, request, selected): method message_warning (line 641) | def message_warning(self, request, selected): method message_error (line 644) | def message_error(self, request, selected): method message_extra_tags (line 647) | def message_extra_tags(self, request, selected): class ChoiceList (line 651) | class ChoiceList(admin.ModelAdmin): FILE: Django-1.5.1/tests/regressiontests/admin_views/customadmin.py class Admin2 (line 15) | class Admin2(admin.AdminSite): method index (line 24) | def index(self, request, extra_context=None): method get_urls (line 27) | def get_urls(self): method my_view (line 32) | def my_view(self, request): class UserLimitedAdmin (line 36) | class UserLimitedAdmin(UserAdmin): method queryset (line 38) | def queryset(self, request): class CustomPwdTemplateUserAdmin (line 43) | class CustomPwdTemplateUserAdmin(UserAdmin): FILE: Django-1.5.1/tests/regressiontests/admin_views/forms.py class CustomAdminAuthenticationForm (line 5) | class CustomAdminAuthenticationForm(AdminAuthenticationForm): method clean_username (line 7) | def clean_username(self): FILE: Django-1.5.1/tests/regressiontests/admin_views/models.py class Section (line 16) | class Section(models.Model): class Article (line 25) | class Article(models.Model): method __str__ (line 34) | def __str__(self): method model_year (line 37) | def model_year(self): class Book (line 44) | class Book(models.Model): method __str__ (line 50) | def __str__(self): class Promo (line 55) | class Promo(models.Model): method __str__ (line 59) | def __str__(self): class Chapter (line 64) | class Chapter(models.Model): method __str__ (line 69) | def __str__(self): class Meta (line 72) | class Meta: class ChapterXtra1 (line 78) | class ChapterXtra1(models.Model): method __str__ (line 82) | def __str__(self): class ChapterXtra2 (line 87) | class ChapterXtra2(models.Model): method __str__ (line 91) | def __str__(self): class RowLevelChangePermissionModel (line 95) | class RowLevelChangePermissionModel(models.Model): class CustomArticle (line 99) | class CustomArticle(models.Model): class ModelWithStringPrimaryKey (line 105) | class ModelWithStringPrimaryKey(models.Model): method __str__ (line 108) | def __str__(self): method get_absolute_url (line 111) | def get_absolute_url(self): class Color (line 116) | class Color(models.Model): method __str__ (line 119) | def __str__(self): class Color2 (line 123) | class Color2(Color): class Meta (line 124) | class Meta: class Thing (line 128) | class Thing(models.Model): method __str__ (line 132) | def __str__(self): class Actor (line 137) | class Actor(models.Model): method __str__ (line 140) | def __str__(self): class Inquisition (line 145) | class Inquisition(models.Model): method __str__ (line 150) | def __str__(self): class Sketch (line 155) | class Sketch(models.Model): method __str__ (line 162) | def __str__(self): class Fabric (line 166) | class Fabric(models.Model): class Person (line 179) | class Person(models.Model): method __str__ (line 189) | def __str__(self): class Persona (line 194) | class Persona(models.Model): method __str__ (line 200) | def __str__(self): class Account (line 205) | class Account(models.Model): method __str__ (line 214) | def __str__(self): class FooAccount (line 218) | class FooAccount(Account): class BarAccount (line 223) | class BarAccount(Account): class Subscriber (line 229) | class Subscriber(models.Model): method __str__ (line 233) | def __str__(self): class ExternalSubscriber (line 237) | class ExternalSubscriber(Subscriber): class OldSubscriber (line 241) | class OldSubscriber(Subscriber): class Media (line 245) | class Media(models.Model): class Podcast (line 249) | class Podcast(Media): class Meta (line 252) | class Meta: class Vodcast (line 256) | class Vodcast(Media): class Parent (line 261) | class Parent(models.Model): class Child (line 265) | class Child(models.Model): class EmptyModel (line 271) | class EmptyModel(models.Model): method __str__ (line 272) | def __str__(self): class Gallery (line 280) | class Gallery(models.Model): class Picture (line 284) | class Picture(models.Model): class Language (line 290) | class Language(models.Model): class Meta (line 296) | class Meta: class Title (line 301) | class Title(models.Model): class TitleTranslation (line 305) | class TitleTranslation(models.Model): class Recommender (line 310) | class Recommender(Title): class Recommendation (line 314) | class Recommendation(Title): class Collector (line 318) | class Collector(models.Model): class Widget (line 322) | class Widget(models.Model): class DooHickey (line 327) | class DooHickey(models.Model): class Grommet (line 333) | class Grommet(models.Model): class Whatsit (line 339) | class Whatsit(models.Model): class Doodad (line 345) | class Doodad(models.Model): class FancyDoodad (line 349) | class FancyDoodad(Doodad): class Category (line 355) | class Category(models.Model): class Meta (line 359) | class Meta: method __str__ (line 362) | def __str__(self): class Link (line 366) | class Link(models.Model): class PrePopulatedPost (line 374) | class PrePopulatedPost(models.Model): class PrePopulatedSubPost (line 380) | class PrePopulatedSubPost(models.Model): class Post (line 386) | class Post(models.Model): method awesomeness_level (line 395) | def awesomeness_level(self): class Gadget (line 400) | class Gadget(models.Model): method __str__ (line 403) | def __str__(self): class Villain (line 408) | class Villain(models.Model): method __str__ (line 411) | def __str__(self): class SuperVillain (line 415) | class SuperVillain(Villain): class FunkyTag (line 420) | class FunkyTag(models.Model): method __str__ (line 427) | def __str__(self): class Plot (line 432) | class Plot(models.Model): method __str__ (line 438) | def __str__(self): class PlotDetails (line 443) | class PlotDetails(models.Model): method __str__ (line 447) | def __str__(self): class SecretHideout (line 452) | class SecretHideout(models.Model): method __str__ (line 457) | def __str__(self): class SuperSecretHideout (line 462) | class SuperSecretHideout(models.Model): method __str__ (line 467) | def __str__(self): class CyclicOne (line 472) | class CyclicOne(models.Model): method __str__ (line 476) | def __str__(self): class CyclicTwo (line 481) | class CyclicTwo(models.Model): method __str__ (line 485) | def __str__(self): class Topping (line 489) | class Topping(models.Model): class Pizza (line 493) | class Pizza(models.Model): class Album (line 498) | class Album(models.Model): class Employee (line 503) | class Employee(Person): class WorkHour (line 507) | class WorkHour(models.Model): class Question (line 512) | class Question(models.Model): class Answer (line 517) | class Answer(models.Model): method __str__ (line 521) | def __str__(self): class Reservation (line 525) | class Reservation(models.Model): class FoodDelivery (line 542) | class FoodDelivery(models.Model): class Meta (line 547) | class Meta: class CoverLetter (line 552) | class CoverLetter(models.Model): method __str__ (line 556) | def __str__(self): class Paper (line 560) | class Paper(models.Model): class ShortMessage (line 565) | class ShortMessage(models.Model): class Telegram (line 571) | class Telegram(models.Model): method __str__ (line 575) | def __str__(self): class Story (line 579) | class Story(models.Model): class OtherStory (line 584) | class OtherStory(models.Model): class ComplexSortedPerson (line 589) | class ComplexSortedPerson(models.Model): class PrePopulatedPostLargeSlug (line 594) | class PrePopulatedPostLargeSlug(models.Model): class AdminOrderedField (line 604) | class AdminOrderedField(models.Model): class AdminOrderedModelMethod (line 608) | class AdminOrderedModelMethod(models.Model): method some_order (line 611) | def some_order(self): class AdminOrderedAdminMethod (line 615) | class AdminOrderedAdminMethod(models.Model): class AdminOrderedCallable (line 619) | class AdminOrderedCallable(models.Model): class Report (line 624) | class Report(models.Model): method __str__ (line 627) | def __str__(self): class MainPrepopulated (line 631) | class MainPrepopulated(models.Model): class RelatedPrepopulated (line 641) | class RelatedPrepopulated(models.Model): class UnorderedObject (line 653) | class UnorderedObject(models.Model): class UndeletableObject (line 661) | class UndeletableObject(models.Model): class UserMessenger (line 668) | class UserMessenger(models.Model): class Simple (line 673) | class Simple(models.Model): class Choice (line 678) | class Choice(models.Model): FILE: Django-1.5.1/tests/regressiontests/admin_views/tests.py class AdminViewBasicTest (line 58) | class AdminViewBasicTest(TestCase): method setUp (line 69) | def setUp(self): method tearDown (line 76) | def tearDown(self): method assertContentBefore (line 83) | def assertContentBefore(self, response, text1, text2, failing_msg=None): method testTrailingSlashRequired (line 93) | def testTrailingSlashRequired(self): method testBasicAddGet (line 102) | def testBasicAddGet(self): method testAddWithGETArgs (line 110) | def testAddWithGETArgs(self): method testBasicEditGet (line 117) | def testBasicEditGet(self): method testBasicEditGetStringPK (line 125) | def testBasicEditGetStringPK(self): method testBasicAddPost (line 134) | def testBasicAddPost(self): method testPopupAddPost (line 148) | def testPopupAddPost(self): method testBasicEditPost (line 205) | def testBasicEditPost(self): method testEditSaveAs (line 212) | def testEditSaveAs(self): method testChangeListSortingCallable (line 228) | def testChangeListSortingCallable(self): method testChangeListSortingModel (line 239) | def testChangeListSortingModel(self): method testChangeListSortingModelAdmin (line 250) | def testChangeListSortingModelAdmin(self): method testChangeListSortingMultiple (line 261) | def testChangeListSortingMultiple(self): method testChangeListSortingPreserveQuerySetOrdering (line 281) | def testChangeListSortingPreserveQuerySetOrdering(self): method testChangeListSortingModelMeta (line 301) | def testChangeListSortingModelMeta(self): method testChangeListSortingOverrideModelAdmin (line 316) | def testChangeListSortingOverrideModelAdmin(self): method testMultipleSortSameField (line 327) | def testMultipleSortSameField(self): method testSortIndicatorsAdminOrder (line 357) | def testSortIndicatorsAdminOrder(self): method testLimitedFilter (line 383) | def testLimitedFilter(self): method testRelationSpanningFilters (line 396) | def testRelationSpanningFilters(self): method testIncorrectLookupParameters (line 437) | def testIncorrectLookupParameters(self): method testIsNullLookups (line 453) | def testIsNullLookups(self): method testLogoutAndPasswordChangeURLs (line 463) | def testLogoutAndPasswordChangeURLs(self): method testNamedGroupFieldChoicesChangeList (line 468) | def testNamedGroupFieldChoicesChangeList(self): method testNamedGroupFieldChoicesFilter (line 481) | def testNamedGroupFieldChoicesFilter(self): method testChangeListNullBooleanDisplay (line 494) | def testChangeListNullBooleanDisplay(self): method testI18NLanguageNonEnglishDefault (line 502) | def testI18NLanguageNonEnglishDefault(self): method testI18NLanguageNonEnglishFallback (line 513) | def testI18NLanguageNonEnglishFallback(self): method testL10NDeactivated (line 523) | def testL10NDeactivated(self): method test_disallowed_filtering (line 534) | def test_disallowed_filtering(self): method test_allowed_filtering_15103 (line 560) | def test_allowed_filtering_15103(self): method test_hide_change_password (line 571) | def test_hide_change_password(self): method test_change_view_with_show_delete_extra_context (line 586) | def test_change_view_with_show_delete_extra_context(self): method test_allows_attributeerror_to_bubble_up (line 597) | def test_allows_attributeerror_to_bubble_up(self): class AdminViewFormUrlTest (line 612) | class AdminViewFormUrlTest(TestCase): method setUp (line 617) | def setUp(self): method tearDown (line 620) | def tearDown(self): method testChangeFormUrlHasCorrectValue (line 623) | def testChangeFormUrlHasCorrectValue(self): method test_filter_with_custom_template (line 631) | def test_filter_with_custom_template(self): class AdminJavaScriptTest (line 644) | class AdminJavaScriptTest(TestCase): method setUp (line 649) | def setUp(self): method tearDown (line 652) | def tearDown(self): method testSingleWidgetFirsFieldFocus (line 655) | def testSingleWidgetFirsFieldFocus(self): method testMultiWidgetFirsFieldFocus (line 665) | def testMultiWidgetFirsFieldFocus(self): method test_js_minified_only_if_debug_is_false (line 676) | def test_js_minified_only_if_debug_is_false(self): class SaveAsTests (line 711) | class SaveAsTests(TestCase): method setUp (line 715) | def setUp(self): method tearDown (line 718) | def tearDown(self): method test_save_as_duplication (line 721) | def test_save_as_duplication(self): method test_save_as_display (line 728) | def test_save_as_display(self): class CustomModelAdminTest (line 741) | class CustomModelAdminTest(AdminViewBasicTest): method testCustomAdminSiteLoginForm (line 745) | def testCustomAdminSiteLoginForm(self): method testCustomAdminSiteLoginTemplate (line 760) | def testCustomAdminSiteLoginTemplate(self): method testCustomAdminSiteLogoutTemplate (line 767) | def testCustomAdminSiteLogoutTemplate(self): method testCustomAdminSiteIndexViewAndTemplate (line 773) | def testCustomAdminSiteIndexViewAndTemplate(self): method testCustomAdminSitePasswordChangeTemplate (line 782) | def testCustomAdminSitePasswordChangeTemplate(self): method testCustomAdminSitePasswordChangeDoneTemplate (line 788) | def testCustomAdminSitePasswordChangeDoneTemplate(self): method testCustomAdminSiteView (line 794) | def testCustomAdminSiteView(self): method test_pwd_change_custom_template (line 799) | def test_pwd_change_custom_template(self): function get_perm (line 809) | def get_perm(Model, perm): class AdminViewPermissionsTest (line 816) | class AdminViewPermissionsTest(TestCase): method setUp (line 822) | def setUp(self): method testLogin (line 897) | def testLogin(self): method testLoginSuccessfullyRedirectsToOriginalUrl (line 966) | def testLoginSuccessfullyRedirectsToOriginalUrl(self): method testAddView (line 975) | def testAddView(self): method testChangeView (line 1030) | def testChangeView(self): method testHistoryView (line 1106) | def testHistoryView(self): method testConditionallyShowAddSectionLink (line 1146) | def testConditionallyShowAddSectionLink(self): method testCustomModelAdminTemplates (line 1168) | def testCustomModelAdminTemplates(self): method testDeleteView (line 1208) | def testDeleteView(self): method testDisabledPermissionsWhenLoggedIn (line 1242) | def testDisabledPermissionsWhenLoggedIn(self): class AdminViewsNoUrlTest (line 1257) | class AdminViewsNoUrlTest(TestCase): method setUp (line 1263) | def setUp(self): method test_no_standard_modeladmin_urls (line 1278) | def test_no_standard_modeladmin_urls(self): class AdminViewDeletedObjectsTest (line 1289) | class AdminViewDeletedObjectsTest(TestCase): method setUp (line 1293) | def setUp(self): method tearDown (line 1296) | def tearDown(self): method test_nesting (line 1299) | def test_nesting(self): method test_cyclic (line 1308) | def test_cyclic(self): method test_perms_needed (line 1321) | def test_perms_needed(self): method test_protected (line 1334) | def test_protected(self): method test_not_registered (line 1344) | def test_not_registered(self): method test_multiple_fkeys_to_same_model (line 1349) | def test_multiple_fkeys_to_same_model(self): method test_multiple_fkeys_to_same_instance (line 1362) | def test_multiple_fkeys_to_same_instance(self): method test_inheritance (line 1373) | def test_inheritance(self): method test_generic_relations (line 1393) | def test_generic_relations(self): class AdminViewStringPrimaryKeyTest (line 1407) | class AdminViewStringPrimaryKeyTest(TestCase): method __init__ (line 1411) | def __init__(self, *args): method setUp (line 1415) | def setUp(self): method tearDown (line 1420) | def tearDown(self): method test_get_history_view (line 1423) | def test_get_history_view(self): method test_get_change_view (line 1434) | def test_get_change_view(self): method test_changelist_to_changeform_link (line 1440) | def test_changelist_to_changeform_link(self): method test_recentactions_link (line 1449) | def test_recentactions_link(self): method test_recentactions_without_content_type (line 1455) | def test_recentactions_without_content_type(self): method test_deleteconfirmation_link (line 1475) | def test_deleteconfirmation_link(self): method test_url_conflicts_with_add (line 1482) | def test_url_conflicts_with_add(self): method test_url_conflicts_with_delete (line 1490) | def test_url_conflicts_with_delete(self): method test_url_conflicts_with_history (line 1498) | def test_url_conflicts_with_history(self): method test_shortcut_view_with_escaping (line 1506) | def test_shortcut_view_with_escaping(self): method test_change_view_history_link (line 1514) | def test_change_view_history_link(self): class SecureViewTests (line 1528) | class SecureViewTests(TestCase): method setUp (line 1532) | def setUp(self): method tearDown (line 1577) | def tearDown(self): method test_secure_view_shows_login_if_not_logged_in (line 1580) | def test_secure_view_shows_login_if_not_logged_in(self): method test_secure_view_login_successfully_redirects_to_original_url (line 1585) | def test_secure_view_login_successfully_redirects_to_original_url(self): method test_staff_member_required_decorator_works_as_per_admin_login (line 1594) | def test_staff_member_required_decorator_works_as_per_admin_login(self): method test_shortcut_view_only_available_to_staff (line 1667) | def test_shortcut_view_only_available_to_staff(self): class AdminViewUnicodeTest (line 1688) | class AdminViewUnicodeTest(TestCase): method setUp (line 1692) | def setUp(self): method tearDown (line 1695) | def tearDown(self): method testUnicodeEdit (line 1698) | def testUnicodeEdit(self): method testUnicodeDelete (line 1731) | def testUnicodeDelete(self): class AdminViewListEditable (line 1743) | class AdminViewListEditable(TestCase): method setUp (line 1747) | def setUp(self): method tearDown (line 1750) | def tearDown(self): method test_inheritance (line 1753) | def test_inheritance(self): method test_inheritance_2 (line 1759) | def test_inheritance_2(self): method test_custom_pk (line 1764) | def test_custom_pk(self): method test_changelist_input_html (line 1769) | def test_changelist_input_html(self): method test_post_messages (line 1783) | def test_post_messages(self): method test_post_submission (line 1807) | def test_post_submission(self): method test_non_field_errors (line 1865) | def test_non_field_errors(self): method test_non_form_errors (line 1926) | def test_non_form_errors(self): method test_non_form_errors_is_errorlist (line 1944) | def test_non_form_errors_is_errorlist(self): method test_list_editable_ordering (line 1962) | def test_list_editable_ordering(self): method test_list_editable_pagination (line 2006) | def test_list_editable_pagination(self): method test_list_editable_action_submit (line 2023) | def test_list_editable_action_submit(self): method test_list_editable_action_choices (line 2050) | def test_list_editable_action_choices(self): method test_list_editable_popup (line 2077) | def test_list_editable_popup(self): method test_pk_hidden_fields (line 2086) | def test_pk_hidden_fields(self): method test_pk_hidden_fields_with_list_display_links (line 2102) | def test_pk_hidden_fields_with_list_display_links(self): class AdminSearchTest (line 2120) | class AdminSearchTest(TestCase): method setUp (line 2125) | def setUp(self): method tearDown (line 2128) | def tearDown(self): method test_search_on_sibling_models (line 2131) | def test_search_on_sibling_models(self): method test_with_fk_to_field (line 2137) | def test_with_fk_to_field(self): method test_exact_matches (line 2146) | def test_exact_matches(self): method test_beginning_matches (line 2155) | def test_beginning_matches(self): class AdminInheritedInlinesTest (line 2168) | class AdminInheritedInlinesTest(TestCase): method setUp (line 2172) | def setUp(self): method tearDown (line 2175) | def tearDown(self): method testInline (line 2178) | def testInline(self): class AdminActionsTest (line 2256) | class AdminActionsTest(TestCase): method setUp (line 2260) | def setUp(self): method tearDown (line 2263) | def tearDown(self): method test_model_admin_custom_action (line 2266) | def test_model_admin_custom_action(self): method test_model_admin_default_delete_action (line 2277) | def test_model_admin_default_delete_action(self): method test_non_localized_pk (line 2296) | def test_non_localized_pk(self): method test_model_admin_default_delete_action_protected (line 2320) | def test_model_admin_default_delete_action_protected(self): method test_custom_function_mail_action (line 2342) | def test_custom_function_mail_action(self): method test_custom_function_action_with_redirect (line 2353) | def test_custom_function_action_with_redirect(self): method test_default_redirect (line 2363) | def test_default_redirect(self): method test_actions_ordering (line 2378) | def test_actions_ordering(self): method test_model_without_action (line 2391) | def test_model_without_action(self): method test_model_without_action_still_has_jquery (line 2399) | def test_model_without_action_still_has_jquery(self): method test_action_column_class (line 2407) | def test_action_column_class(self): method test_multiple_actions_form (line 2413) | def test_multiple_actions_form(self): method test_user_message_on_none_selected (line 2430) | def test_user_message_on_none_selected(self): method test_user_message_on_no_action (line 2444) | def test_user_message_on_no_action(self): method test_selection_counter (line 2458) | def test_selection_counter(self): method test_popup_actions (line 2465) | def test_popup_actions(self): class TestCustomChangeList (line 2475) | class TestCustomChangeList(TestCase): method setUp (line 2480) | def setUp(self): method tearDown (line 2484) | def tearDown(self): method test_custom_changelist (line 2487) | def test_custom_changelist(self): class TestInlineNotEditable (line 2504) | class TestInlineNotEditable(TestCase): method setUp (line 2508) | def setUp(self): method tearDown (line 2512) | def tearDown(self): method test (line 2515) | def test(self): class AdminCustomQuerysetTest (line 2524) | class AdminCustomQuerysetTest(TestCase): method setUp (line 2528) | def setUp(self): method test_changelist_view (line 2532) | def test_changelist_view(self): method test_change_view (line 2540) | def test_change_view(self): method test_add_model_modeladmin_defer_qs (line 2548) | def test_add_model_modeladmin_defer_qs(self): method test_add_model_modeladmin_only_qs (line 2587) | def test_add_model_modeladmin_only_qs(self): method test_edit_model_modeladmin_defer_qs (line 2626) | def test_edit_model_modeladmin_defer_qs(self): method test_edit_model_modeladmin_only_qs (line 2673) | def test_edit_model_modeladmin_only_qs(self): class AdminInlineFileUploadTest (line 2722) | class AdminInlineFileUploadTest(TestCase): method setUp (line 2727) | def setUp(self): method tearDown (line 2743) | def tearDown(self): method test_inline_file_upload_edit_validation_error_post (line 2746) | def test_inline_file_upload_edit_validation_error_post(self): class AdminInlineTests (line 2769) | class AdminInlineTests(TestCase): method setUp (line 2773) | def setUp(self): method tearDown (line 2864) | def tearDown(self): method test_simple_inline (line 2867) | def test_simple_inline(self): method test_explicit_autofield_inline (line 2900) | def test_explicit_autofield_inline(self): method test_char_pk_inline (line 2932) | def test_char_pk_inline(self): method test_integer_pk_inline (line 2965) | def test_integer_pk_inline(self): method test_inherited_inline (line 2997) | def test_inherited_inline(self): method test_ordered_inline (line 3030) | def test_ordered_inline(self): class NeverCacheTests (line 3088) | class NeverCacheTests(TestCase): method setUp (line 3092) | def setUp(self): method tearDown (line 3095) | def tearDown(self): method testAdminIndex (line 3098) | def testAdminIndex(self): method testAppIndex (line 3103) | def testAppIndex(self): method testModelIndex (line 3108) | def testModelIndex(self): method testModelAdd (line 3113) | def testModelAdd(self): method testModelView (line 3118) | def testModelView(self): method testModelHistory (line 3123) | def testModelHistory(self): method testModelDelete (line 3128) | def testModelDelete(self): method testLogin (line 3133) | def testLogin(self): method testLogout (line 3139) | def testLogout(self): method testPasswordChange (line 3144) | def testPasswordChange(self): method testPasswordChangeDone (line 3150) | def testPasswordChangeDone(self): method testJsi18n (line 3155) | def testJsi18n(self): class PrePopulatedTest (line 3162) | class PrePopulatedTest(TestCase): method setUp (line 3166) | def setUp(self): method tearDown (line 3169) | def tearDown(self): method test_prepopulated_on (line 3172) | def test_prepopulated_on(self): method test_prepopulated_off (line 3179) | def test_prepopulated_off(self): method test_prepopulated_maxlength_localized (line 3188) | def test_prepopulated_maxlength_localized(self): class SeleniumPrePopulatedFirefoxTests (line 3198) | class SeleniumPrePopulatedFirefoxTests(AdminSeleniumWebDriverTestCase): method test_basic (line 3203) | def test_basic(self): class SeleniumPrePopulatedChromeTests (line 3305) | class SeleniumPrePopulatedChromeTests(SeleniumPrePopulatedFirefoxTests): class SeleniumPrePopulatedIETests (line 3309) | class SeleniumPrePopulatedIETests(SeleniumPrePopulatedFirefoxTests): class ReadonlyTest (line 3314) | class ReadonlyTest(TestCase): method setUp (line 3318) | def setUp(self): method tearDown (line 3321) | def tearDown(self): method test_readonly_get (line 3324) | def test_readonly_get(self): method test_readonly_post (line 3360) | def test_readonly_post(self): method test_readonly_manytomany (line 3381) | def test_readonly_manytomany(self): method test_user_password_change_limited_queryset (line 3386) | def test_user_password_change_limited_queryset(self): method test_change_form_renders_correct_null_choice_value (line 3391) | def test_change_form_renders_correct_null_choice_value(self): class RawIdFieldsTest (line 3402) | class RawIdFieldsTest(TestCase): method setUp (line 3406) | def setUp(self): method tearDown (line 3409) | def tearDown(self): method test_limit_choices_to (line 3412) | def test_limit_choices_to(self): class UserAdminTest (line 3437) | class UserAdminTest(TestCase): method setUp (line 3444) | def setUp(self): method tearDown (line 3447) | def tearDown(self): method test_save_button (line 3450) | def test_save_button(self): method test_save_continue_editing_button (line 3462) | def test_save_continue_editing_button(self): method test_password_mismatch (line 3475) | def test_password_mismatch(self): method test_user_fk_popup (line 3487) | def test_user_fk_popup(self): method test_save_add_another_button (line 3508) | def test_save_add_another_button(self): method test_user_permission_performance (line 3521) | def test_user_permission_performance(self): method test_form_url_present_in_context (line 3530) | def test_form_url_present_in_context(self): class GroupAdminTest (line 3538) | class GroupAdminTest(TestCase): method setUp (line 3545) | def setUp(self): method tearDown (line 3548) | def tearDown(self): method test_save_button (line 3551) | def test_save_button(self): method test_group_permission_performance (line 3561) | def test_group_permission_performance(self): class CSSTest (line 3570) | class CSSTest(TestCase): method setUp (line 3574) | def setUp(self): method tearDown (line 3577) | def tearDown(self): method test_css_classes (line 3580) | def test_css_classes(self): class AdminDocsTest (line 3605) | class AdminDocsTest(TestCase): method setUp (line 3609) | def setUp(self): method tearDown (line 3612) | def tearDown(self): method test_tags (line 3615) | def test_tags(self): method test_filters (line 3636) | def test_filters(self): class ValidXHTMLTests (line 3648) | class ValidXHTMLTests(TestCase): method setUp (line 3653) | def setUp(self): method tearDown (line 3656) | def tearDown(self): method testLangNamePresent (line 3665) | def testLangNamePresent(self): class DateHierarchyTests (line 3672) | class DateHierarchyTests(TestCase): method setUp (line 3676) | def setUp(self): method tearDown (line 3683) | def tearDown(self): method assert_non_localized_year (line 3688) | def assert_non_localized_year(self, response, year): method assert_contains_year_link (line 3694) | def assert_contains_year_link(self, response, date): method assert_contains_month_link (line 3697) | def assert_contains_month_link(self, response, date): method assert_contains_day_link (line 3702) | def assert_contains_day_link(self, response, date): method test_empty (line 3708) | def test_empty(self): method test_single (line 3718) | def test_single(self): method test_within_month (line 3729) | def test_within_month(self): method test_within_year (line 3744) | def test_within_year(self): method test_multiple_years (line 3761) | def test_multiple_years(self): class AdminCustomSaveRelatedTests (line 3800) | class AdminCustomSaveRelatedTests(TestCase): method setUp (line 3808) | def setUp(self): method test_should_be_able_to_edit_related_objects_on_add_view (line 3811) | def test_should_be_able_to_edit_related_objects_on_add_view(self): method test_should_be_able_to_edit_related_objects_on_change_view (line 3828) | def test_should_be_able_to_edit_related_objects_on_change_view(self): method test_should_be_able_to_edit_related_objects_on_changelist_view (line 3848) | def test_should_be_able_to_edit_related_objects_on_changelist_view(self): class AdminViewLogoutTest (line 3869) | class AdminViewLogoutTest(TestCase): method setUp (line 3873) | def setUp(self): method tearDown (line 3876) | def tearDown(self): method test_client_logout_url_can_be_used_to_login (line 3879) | def test_client_logout_url_can_be_used_to_login(self): class AdminUserMessageTest (line 3898) | class AdminUserMessageTest(TestCase): method setUp (line 3902) | def setUp(self): method tearDown (line 3905) | def tearDown(self): method send_message (line 3908) | def send_message(self, level): method test_message_debug (line 3926) | def test_message_debug(self): method test_message_info (line 3929) | def test_message_info(self): method test_message_success (line 3932) | def test_message_success(self): method test_message_warning (line 3935) | def test_message_warning(self): method test_message_error (line 3938) | def test_message_error(self): method test_message_extra_tags (line 3941) | def test_message_extra_tags(self): FILE: Django-1.5.1/tests/regressiontests/admin_views/views.py function secure_view (line 5) | def secure_view(request): FILE: Django-1.5.1/tests/regressiontests/admin_widgets/models.py class MyFileField (line 8) | class MyFileField(models.FileField): class Member (line 12) | class Member(models.Model): method __str__ (line 17) | def __str__(self): class Band (line 21) | class Band(models.Model): method __str__ (line 26) | def __str__(self): class Album (line 30) | class Album(models.Model): method __str__ (line 36) | def __str__(self): class HiddenInventoryManager (line 39) | class HiddenInventoryManager(models.Manager): method get_query_set (line 40) | def get_query_set(self): class Inventory (line 44) | class Inventory(models.Model): method __str__ (line 54) | def __str__(self): class Event (line 57) | class Event(models.Model): class Car (line 66) | class Car(models.Model): method __str__ (line 71) | def __str__(self): class CarTire (line 74) | class CarTire(models.Model): class Honeycomb (line 80) | class Honeycomb(models.Model): class Bee (line 83) | class Bee(models.Model): class Individual (line 91) | class Individual(models.Model): class Company (line 100) | class Company(models.Model): class Advisor (line 103) | class Advisor(models.Model): class Student (line 114) | class Student(models.Model): method __str__ (line 117) | def __str__(self): class Meta (line 120) | class Meta: class School (line 124) | class School(models.Model): method __str__ (line 129) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/admin_widgets/tests.py class AdminFormfieldForDBFieldTests (line 28) | class AdminFormfieldForDBFieldTests(TestCase): method assertFormfield (line 33) | def assertFormfield(self, model, fieldname, widgetclass, **admin_overr... method testDateField (line 64) | def testDateField(self): method testDateTimeField (line 67) | def testDateTimeField(self): method testTimeField (line 70) | def testTimeField(self): method testTextField (line 73) | def testTextField(self): method testURLField (line 76) | def testURLField(self): method testIntegerField (line 79) | def testIntegerField(self): method testCharField (line 82) | def testCharField(self): method testFileField (line 85) | def testFileField(self): method testForeignKey (line 88) | def testForeignKey(self): method testRawIDForeignKey (line 91) | def testRawIDForeignKey(self): method testRadioFieldsForeignKey (line 95) | def testRadioFieldsForeignKey(self): method testManyToMany (line 100) | def testManyToMany(self): method testRawIDManyTOMany (line 103) | def testRawIDManyTOMany(self): method testFilteredManyToMany (line 107) | def testFilteredManyToMany(self): method testFormfieldOverrides (line 111) | def testFormfieldOverrides(self): method testFormfieldOverridesWidgetInstances (line 115) | def testFormfieldOverridesWidgetInstances(self): method testFieldWithChoices (line 132) | def testFieldWithChoices(self): method testChoicesWithRadioFields (line 135) | def testChoicesWithRadioFields(self): method testInheritance (line 139) | def testInheritance(self): class AdminFormfieldForDBFieldWithRequestTests (line 144) | class AdminFormfieldForDBFieldWithRequestTests(DjangoTestCase): method testFilterChoicesByRequestUser (line 147) | def testFilterChoicesByRequestUser(self): class AdminForeignKeyWidgetChangeList (line 158) | class AdminForeignKeyWidgetChangeList(DjangoTestCase): method setUp (line 162) | def setUp(self): method tearDown (line 165) | def tearDown(self): method test_changelist_foreignkey (line 168) | def test_changelist_foreignkey(self): class AdminForeignKeyRawIdWidget (line 174) | class AdminForeignKeyRawIdWidget(DjangoTestCase): method setUp (line 178) | def setUp(self): method tearDown (line 181) | def tearDown(self): method test_nonexistent_target_id (line 184) | def test_nonexistent_target_id(self): method test_invalid_target_id (line 198) | def test_invalid_target_id(self): method test_url_params_from_lookup_dict_any_iterable (line 208) | def test_url_params_from_lookup_dict_any_iterable(self): class FilteredSelectMultipleWidgetTest (line 215) | class FilteredSelectMultipleWidgetTest(DjangoTestCase): method test_render (line 216) | def test_render(self): method test_stacked_render (line 223) | def test_stacked_render(self): class AdminDateWidgetTest (line 230) | class AdminDateWidgetTest(DjangoTestCase): method test_attrs (line 231) | def test_attrs(self): class AdminTimeWidgetTest (line 248) | class AdminTimeWidgetTest(DjangoTestCase): method test_attrs (line 249) | def test_attrs(self): class AdminSplitDateTimeWidgetTest (line 266) | class AdminSplitDateTimeWidgetTest(DjangoTestCase): method test_render (line 267) | def test_render(self): method test_localization (line 274) | def test_localization(self): class AdminURLWidgetTest (line 286) | class AdminURLWidgetTest(DjangoTestCase): method test_render (line 287) | def test_render(self): method test_render_idn (line 298) | def test_render_idn(self): method test_render_quoting (line 305) | def test_render_quoting(self): class AdminFileWidgetTest (line 317) | class AdminFileWidgetTest(DjangoTestCase): method test_render (line 318) | def test_render(self): class ForeignKeyRawIdWidgetTest (line 336) | class ForeignKeyRawIdWidgetTest(DjangoTestCase): method test_render (line 337) | def test_render(self): method test_relations_to_non_primary_key (line 350) | def test_relations_to_non_primary_key(self): method test_fk_related_model_not_in_admin (line 365) | def test_fk_related_model_not_in_admin(self): method test_fk_to_self_model_not_in_admin (line 378) | def test_fk_to_self_model_not_in_admin(self): method test_proper_manager_for_label_lookup (line 391) | def test_proper_manager_for_label_lookup(self): class ManyToManyRawIdWidgetTest (line 408) | class ManyToManyRawIdWidgetTest(DjangoTestCase): method test_render (line 409) | def test_render(self): method test_m2m_related_model_not_in_admin (line 435) | def test_m2m_related_model_not_in_admin(self): class RelatedFieldWidgetWrapperTests (line 456) | class RelatedFieldWidgetWrapperTests(DjangoTestCase): method test_no_can_add_related (line 457) | def test_no_can_add_related(self): class DateTimePickerSeleniumFirefoxTests (line 467) | class DateTimePickerSeleniumFirefoxTests(AdminSeleniumWebDriverTestCase): method test_show_hide_date_time_picker_widgets (line 472) | def test_show_hide_date_time_picker_widgets(self): class DateTimePickerSeleniumChromeTests (line 515) | class DateTimePickerSeleniumChromeTests(DateTimePickerSeleniumFirefoxTes... class DateTimePickerSeleniumIETests (line 518) | class DateTimePickerSeleniumIETests(DateTimePickerSeleniumFirefoxTests): class HorizontalVerticalFilterSeleniumFirefoxTests (line 523) | class HorizontalVerticalFilterSeleniumFirefoxTests(AdminSeleniumWebDrive... method setUp (line 528) | def setUp(self): method assertActiveButtons (line 540) | def assertActiveButtons(self, mode, field_name, choose, remove, method execute_basic_operations (line 552) | def execute_basic_operations(self, mode, field_name): method test_basic (line 645) | def test_basic(self): method test_filter (line 667) | def test_filter(self): class HorizontalVerticalFilterSeleniumChromeTests (line 747) | class HorizontalVerticalFilterSeleniumChromeTests(HorizontalVerticalFilt... class HorizontalVerticalFilterSeleniumIETests (line 750) | class HorizontalVerticalFilterSeleniumIETests(HorizontalVerticalFilterSe... FILE: Django-1.5.1/tests/regressiontests/admin_widgets/widgetadmin.py class WidgetAdmin (line 11) | class WidgetAdmin(admin.AdminSite): class CarAdmin (line 14) | class CarAdmin(admin.ModelAdmin): class CarTireAdmin (line 18) | class CarTireAdmin(admin.ModelAdmin): method formfield_for_foreignkey (line 19) | def formfield_for_foreignkey(self, db_field, request, **kwargs): class EventAdmin (line 25) | class EventAdmin(admin.ModelAdmin): class SchoolAdmin (line 29) | class SchoolAdmin(admin.ModelAdmin): FILE: Django-1.5.1/tests/regressiontests/aggregation_regress/models.py class Author (line 7) | class Author(models.Model): method __str__ (line 12) | def __str__(self): class Publisher (line 17) | class Publisher(models.Model): method __str__ (line 21) | def __str__(self): class Book (line 26) | class Book(models.Model): class Meta (line 37) | class Meta: method __str__ (line 40) | def __str__(self): class Store (line 45) | class Store(models.Model): method __str__ (line 51) | def __str__(self): class Entries (line 54) | class Entries(models.Model): class Clues (line 60) | class Clues(models.Model): class HardbackBook (line 67) | class HardbackBook(Book): method __str__ (line 70) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/aggregation_regress/tests.py class AggregationTests (line 16) | class AggregationTests(TestCase): method assertObjectAttrs (line 19) | def assertObjectAttrs(self, obj, **kwargs): method test_aggregates_in_where_clause (line 23) | def test_aggregates_in_where_clause(self): method test_aggregates_in_where_clause_pre_eval (line 43) | def test_aggregates_in_where_clause_pre_eval(self): method test_annotate_with_extra (line 65) | def test_annotate_with_extra(self): method test_aggregate (line 86) | def test_aggregate(self): method test_annotation (line 117) | def test_annotation(self): method test_aggrate_annotation (line 240) | def test_aggrate_annotation(self): method test_field_error (line 251) | def test_field_error(self): method test_more (line 268) | def test_more(self): method test_aggregate_fexpr (line 336) | def test_aggregate_fexpr(self): method test_db_col_table (line 378) | def test_db_col_table(self): method test_empty (line 386) | def test_empty(self): method test_more_more (line 408) | def test_more_more(self): method test_duplicate_alias (line 476) | def test_duplicate_alias(self): method test_field_name_conflict (line 480) | def test_field_name_conflict(self): method test_m2m_name_conflict (line 484) | def test_m2m_name_conflict(self): method test_values_queryset_non_conflict (line 488) | def test_values_queryset_non_conflict(self): method test_reverse_relation_name_conflict (line 510) | def test_reverse_relation_name_conflict(self): method test_pickle (line 514) | def test_pickle(self): method test_more_more_more (line 528) | def test_more_more_more(self): method test_empty_filter_count (line 658) | def test_empty_filter_count(self): method test_empty_filter_aggregate (line 664) | def test_empty_filter_aggregate(self): method test_none_call_before_aggregate (line 670) | def test_none_call_before_aggregate(self): method test_annotate_and_join (line 677) | def test_annotate_and_join(self): method test_f_expression_annotation (line 683) | def test_f_expression_annotation(self): method test_values_annotate_values (line 697) | def test_values_annotate_values(self): method test_having_group_by (line 703) | def test_having_group_by(self): method test_annotation_disjunction (line 716) | def test_annotation_disjunction(self): method test_quoting_aggregate_order_by (line 768) | def test_quoting_aggregate_order_by(self): method test_stddev (line 782) | def test_stddev(self): method test_filtering_by_annotation_name (line 843) | def test_filtering_by_annotation_name(self): method test_type_conversion (line 870) | def test_type_conversion(self): method test_annotate_joins (line 882) | def test_annotate_joins(self): method test_aggregate_duplicate_columns (line 894) | def test_aggregate_duplicate_columns(self): method test_aggregate_duplicate_columns_only (line 927) | def test_aggregate_duplicate_columns_only(self): method test_aggregate_duplicate_columns_select_related (line 956) | def test_aggregate_duplicate_columns_select_related(self): FILE: Django-1.5.1/tests/regressiontests/app_loading/not_installed/models.py class NotInstalledModel (line 4) | class NotInstalledModel(models.Model): class RelatedModel (line 8) | class RelatedModel(models.Model): class M2MRelatedModel (line 12) | class M2MRelatedModel(models.Model): FILE: Django-1.5.1/tests/regressiontests/app_loading/tests.py class EggLoadingTest (line 13) | class EggLoadingTest(TestCase): method setUp (line 15) | def setUp(self): method tearDown (line 25) | def tearDown(self): method test_egg1 (line 30) | def test_egg1(self): method test_egg2 (line 37) | def test_egg2(self): method test_egg3 (line 44) | def test_egg3(self): method test_egg4 (line 51) | def test_egg4(self): method test_egg5 (line 58) | def test_egg5(self): class GetModelsTest (line 71) | class GetModelsTest(TestCase): method setUp (line 72) | def setUp(self): method test_get_model_only_returns_installed_models (line 77) | def test_get_model_only_returns_installed_models(self): method test_get_model_with_not_installed (line 82) | def test_get_model_with_not_installed(self): method test_get_models_only_returns_installed_models (line 89) | def test_get_models_only_returns_installed_models(self): method test_get_models_with_app_label_only_returns_installed_models (line 95) | def test_get_models_with_app_label_only_returns_installed_models(self): method test_get_models_with_not_installed (line 99) | def test_get_models_with_not_installed(self): class NotInstalledModelsTest (line 105) | class NotInstalledModelsTest(TestCase): method test_related_not_installed_model (line 106) | def test_related_not_installed_model(self): FILE: Django-1.5.1/tests/regressiontests/backends/models.py class Square (line 10) | class Square(models.Model): method __str__ (line 14) | def __str__(self): class Person (line 19) | class Person(models.Model): method __str__ (line 23) | def __str__(self): class SchoolClass (line 27) | class SchoolClass(models.Model): class VeryLongModelNameZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ (line 35) | class VeryLongModelNameZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ... class Meta (line 36) | class Meta: class Tag (line 45) | class Tag(models.Model): class Post (line 52) | class Post(models.Model): class Meta (line 57) | class Meta: class Reporter (line 62) | class Reporter(models.Model): method __str__ (line 66) | def __str__(self): class Article (line 71) | class Article(models.Model): method __str__ (line 76) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/backends/tests.py class DummyBackendTest (line 26) | class DummyBackendTest(TestCase): method test_no_databases (line 27) | def test_no_databases(self): class OracleChecks (line 37) | class OracleChecks(unittest.TestCase): method test_quote_name (line 41) | def test_quote_name(self): method test_dbms_session (line 49) | def test_dbms_session(self): method test_cursor_var (line 59) | def test_cursor_var(self): method test_long_string (line 69) | def test_long_string(self): method test_client_encoding (line 83) | def test_client_encoding(self): method test_order_of_nls_parameters (line 92) | def test_order_of_nls_parameters(self): class MySQLTests (line 102) | class MySQLTests(TestCase): method test_autoincrement (line 105) | def test_autoincrement(self): method test_server_version_connections (line 127) | def test_server_version_connections(self): class DateQuotingTest (line 132) | class DateQuotingTest(TestCase): method test_django_date_trunc (line 134) | def test_django_date_trunc(self): method test_django_extract (line 148) | def test_django_extract(self): class LastExecutedQueryTest (line 162) | class LastExecutedQueryTest(TestCase): method test_debug_sql (line 164) | def test_debug_sql(self): method test_query_encoding (line 170) | def test_query_encoding(self): class ParameterHandlingTest (line 181) | class ParameterHandlingTest(TestCase): method test_bad_parameter_count (line 182) | def test_bad_parameter_count(self): class LongNameTest (line 196) | class LongNameTest(TestCase): method test_sequence_name_length_limits_create (line 205) | def test_sequence_name_length_limits_create(self): method test_sequence_name_length_limits_m2m (line 210) | def test_sequence_name_length_limits_m2m(self): method test_sequence_name_length_limits_flush (line 217) | def test_sequence_name_length_limits_flush(self): class SequenceResetTest (line 239) | class SequenceResetTest(TestCase): method test_generic_relation (line 240) | def test_generic_relation(self): class PostgresVersionTest (line 256) | class PostgresVersionTest(TestCase): method assert_parses (line 257) | def assert_parses(self, version_string, version): method test_parsing (line 260) | def test_parsing(self): method test_version_detection (line 269) | def test_version_detection(self): class PostgresNewConnectionTest (line 290) | class PostgresNewConnectionTest(TestCase): method test_connect_and_rollback (line 298) | def test_connect_and_rollback(self): class ConnectionCreatedSignalTest (line 333) | class ConnectionCreatedSignalTest(TestCase): method test_signal (line 335) | def test_signal(self): class EscapingChecks (line 351) | class EscapingChecks(TestCase): method test_parameter_escaping (line 355) | def test_parameter_escaping(self): class BackendTestCase (line 365) | class BackendTestCase(TestCase): method create_squares_with_executemany (line 367) | def create_squares_with_executemany(self, args): method test_cursor_executemany (line 376) | def test_cursor_executemany(self): method test_cursor_executemany_with_empty_params_list (line 385) | def test_cursor_executemany_with_empty_params_list(self): method test_cursor_executemany_with_iterator (line 391) | def test_cursor_executemany_with_iterator(self): method test_unicode_fetches (line 404) | def test_unicode_fetches(self): method test_unicode_password (line 423) | def test_unicode_password(self): method test_database_operations_helper_class (line 436) | def test_database_operations_helper_class(self): method test_cached_db_features (line 442) | def test_cached_db_features(self): method test_duplicate_table_error (line 447) | def test_duplicate_table_error(self): class FkConstraintsTests (line 462) | class FkConstraintsTests(TransactionTestCase): method setUp (line 464) | def setUp(self): method test_integrity_checks_on_creation (line 468) | def test_integrity_checks_on_creation(self): method test_integrity_checks_on_update (line 480) | def test_integrity_checks_on_update(self): method test_disable_constraint_checks_manually (line 496) | def test_disable_constraint_checks_manually(self): method test_disable_constraint_checks_context_manager (line 515) | def test_disable_constraint_checks_context_manager(self): method test_check_constraints (line 533) | def test_check_constraints(self): class ThreadTests (line 552) | class ThreadTests(TestCase): method test_default_connection_thread_local (line 554) | def test_default_connection_thread_local(self): method test_connections_thread_local (line 579) | def test_connections_thread_local(self): method test_pass_connection_between_threads (line 608) | def test_pass_connection_between_threads(self): method test_closing_non_shared_connections (line 647) | def test_closing_non_shared_connections(self): class MySQLPKZeroTests (line 690) | class MySQLPKZeroTests(TestCase): method test_zero_as_autoval (line 697) | def test_zero_as_autoval(self): FILE: Django-1.5.1/tests/regressiontests/bash_completion/management/commands/test_command.py class Command (line 6) | class Command(BaseCommand): method handle (line 12) | def handle(self, *args, **options): FILE: Django-1.5.1/tests/regressiontests/bash_completion/tests.py class BashCompletionTests (line 13) | class BashCompletionTests(unittest.TestCase): method setUp (line 20) | def setUp(self): method tearDown (line 27) | def tearDown(self): method _user_input (line 34) | def _user_input(self, input_str): method _run_autocomplete (line 39) | def _run_autocomplete(self): method test_django_admin_py (line 47) | def test_django_admin_py(self): method test_manage_py (line 53) | def test_manage_py(self): method test_custom_command (line 59) | def test_custom_command(self): method test_subcommands (line 65) | def test_subcommands(self): method test_help (line 71) | def test_help(self): method test_runfcgi (line 77) | def test_runfcgi(self): method test_app_completion (line 83) | def test_app_completion(self): FILE: Django-1.5.1/tests/regressiontests/bug639/models.py class Photo (line 11) | class Photo(models.Model): method __init__ (line 17) | def __init__(self, *args, **kwargs): method save (line 21) | def save(self, force_insert=False, force_update=False): class PhotoForm (line 25) | class PhotoForm(ModelForm): class Meta (line 26) | class Meta: FILE: Django-1.5.1/tests/regressiontests/bug639/tests.py class Bug639Test (line 19) | class Bug639Test(unittest.TestCase): method testBug639 (line 21) | def testBug639(self): method tearDown (line 41) | def tearDown(self): FILE: Django-1.5.1/tests/regressiontests/bug8245/models.py class Story (line 4) | class Story(models.Model): FILE: Django-1.5.1/tests/regressiontests/bug8245/tests.py class Bug8245Test (line 5) | class Bug8245Test(TestCase): method test_bug_8245 (line 10) | def test_bug_8245(self): FILE: Django-1.5.1/tests/regressiontests/builtin_server/tests.py class DummyHandler (line 14) | class DummyHandler(object): method log_request (line 15) | def log_request(*args, **kwargs): class FileWrapperHandler (line 18) | class FileWrapperHandler(ServerHandler): method __init__ (line 19) | def __init__(self, *args, **kwargs): method sendfile (line 24) | def sendfile(self): function wsgi_app (line 28) | def wsgi_app(environ, start_response): function wsgi_app_file_wrapper (line 32) | def wsgi_app_file_wrapper(environ, start_response): class WSGIFileWrapperTests (line 36) | class WSGIFileWrapperTests(TestCase): method test_file_wrapper_uses_sendfile (line 41) | def test_file_wrapper_uses_sendfile(self): method test_file_wrapper_no_sendfile (line 49) | def test_file_wrapper_no_sendfile(self): FILE: Django-1.5.1/tests/regressiontests/bulk_create/models.py class Country (line 4) | class Country(models.Model): class Place (line 8) | class Place(models.Model): class Meta (line 11) | class Meta: class Restaurant (line 14) | class Restaurant(Place): class Pizzeria (line 17) | class Pizzeria(Restaurant): class State (line 20) | class State(models.Model): class TwoFields (line 23) | class TwoFields(models.Model): FILE: Django-1.5.1/tests/regressiontests/bulk_create/tests.py class BulkCreateTests (line 12) | class BulkCreateTests(TestCase): method setUp (line 13) | def setUp(self): method test_simple (line 21) | def test_simple(self): method test_efficiency (line 33) | def test_efficiency(self): method test_inheritance (line 37) | def test_inheritance(self): method test_non_auto_increment_pk (line 53) | def test_non_auto_increment_pk(self): method test_non_auto_increment_pk_efficiency (line 63) | def test_non_auto_increment_pk_efficiency(self): method test_zero_as_autoval (line 74) | def test_zero_as_autoval(self): method test_batch_same_vals (line 85) | def test_batch_same_vals(self): method test_large_batch (line 93) | def test_large_batch(self): method test_large_single_field_batch (line 106) | def test_large_single_field_batch(self): method test_large_batch_efficiency (line 114) | def test_large_batch_efficiency(self): method test_large_batch_mixed (line 122) | def test_large_batch_mixed(self): method test_large_batch_mixed_efficiency (line 140) | def test_large_batch_mixed_efficiency(self): method test_explicit_batch_size (line 152) | def test_explicit_batch_size(self): method test_explicit_batch_size_efficiency (line 161) | def test_explicit_batch_size_efficiency(self): FILE: Django-1.5.1/tests/regressiontests/cache/closeable_cache.py class CloseHookMixin (line 4) | class CloseHookMixin(object): method close (line 7) | def close(self, **kwargs): class CacheClass (line 10) | class CacheClass(CloseHookMixin, LocMemCache): FILE: Django-1.5.1/tests/regressiontests/cache/liberal_backend.py class LiberalKeyValidationMixin (line 4) | class LiberalKeyValidationMixin(object): method validate_key (line 5) | def validate_key(self, key): class CacheClass (line 8) | class CacheClass(LiberalKeyValidationMixin, LocMemCache): FILE: Django-1.5.1/tests/regressiontests/cache/models.py function expensive_calculation (line 6) | def expensive_calculation(): class Poll (line 10) | class Poll(models.Model): FILE: Django-1.5.1/tests/regressiontests/cache/tests.py function f (line 39) | def f(): class C (line 42) | class C: method m (line 43) | def m(n): class DummyCacheTests (line 47) | class DummyCacheTests(unittest.TestCase): method setUp (line 52) | def setUp(self): method test_simple (line 55) | def test_simple(self): method test_add (line 60) | def test_add(self): method test_non_existent (line 67) | def test_non_existent(self): method test_get_many (line 72) | def test_get_many(self): method test_delete (line 81) | def test_delete(self): method test_has_key (line 90) | def test_has_key(self): method test_in (line 96) | def test_in(self): method test_incr (line 102) | def test_incr(self): method test_decr (line 108) | def test_decr(self): method test_data_types (line 114) | def test_data_types(self): method test_expiration (line 128) | def test_expiration(self): method test_unicode (line 141) | def test_unicode(self): method test_set_many (line 153) | def test_set_many(self): method test_delete_many (line 158) | def test_delete_many(self): method test_clear (line 162) | def test_clear(self): method test_incr_version (line 166) | def test_incr_version(self): method test_decr_version (line 172) | def test_decr_version(self): class BaseCacheTests (line 179) | class BaseCacheTests(object): method _get_request_cache (line 182) | def _get_request_cache(self, path): method test_simple (line 193) | def test_simple(self): method test_add (line 198) | def test_add(self): method test_prefix (line 205) | def test_prefix(self): method test_non_existent (line 217) | def test_non_existent(self): method test_get_many (line 223) | def test_get_many(self): method test_delete (line 232) | def test_delete(self): method test_has_key (line 241) | def test_has_key(self): method test_in (line 247) | def test_in(self): method test_incr (line 253) | def test_incr(self): method test_decr (line 263) | def test_decr(self): method test_data_types (line 273) | def test_data_types(self): method test_cache_read_for_model_instance (line 287) | def test_cache_read_for_model_instance(self): method test_cache_write_for_model_instance_with_deferred (line 300) | def test_cache_write_for_model_instance_with_deferred(self): method test_cache_read_for_model_instance_with_deferred (line 313) | def test_cache_read_for_model_instance_with_deferred(self): method test_expiration (line 328) | def test_expiration(self): method test_unicode (line 341) | def test_unicode(self): method test_binary_string (line 367) | def test_binary_string(self): method test_set_many (line 391) | def test_set_many(self): method test_set_many_expiration (line 397) | def test_set_many_expiration(self): method test_delete_many (line 404) | def test_delete_many(self): method test_clear (line 414) | def test_clear(self): method test_long_timeout (line 422) | def test_long_timeout(self): method test_float_timeout (line 438) | def test_float_timeout(self): method perform_cull_test (line 443) | def perform_cull_test(self, initial_count, final_count): method test_invalid_keys (line 457) | def test_invalid_keys(self): method test_cache_versioning_get_set (line 489) | def test_cache_versioning_get_set(self): method test_cache_versioning_add (line 530) | def test_cache_versioning_add(self): method test_cache_versioning_has_key (line 571) | def test_cache_versioning_has_key(self): method test_cache_versioning_delete (line 583) | def test_cache_versioning_delete(self): method test_cache_versioning_incr_decr (line 608) | def test_cache_versioning_incr_decr(self): method test_cache_versioning_get_set_many (line 645) | def test_cache_versioning_get_set_many(self): method test_incr_version (line 698) | def test_incr_version(self): method test_decr_version (line 725) | def test_decr_version(self): method test_custom_key_func (line 748) | def test_custom_key_func(self): method test_cache_write_unpickable_object (line 761) | def test_cache_write_unpickable_object(self): function custom_key_func (line 790) | def custom_key_func(key, key_prefix, version): class DBCacheTests (line 795) | class DBCacheTests(BaseCacheTests, TransactionTestCase): method setUp (line 798) | def setUp(self): method tearDown (line 808) | def tearDown(self): method test_cull (line 814) | def test_cull(self): method test_zero_cull (line 817) | def test_zero_cull(self): method test_old_initialization (line 821) | def test_old_initialization(self): method test_second_call_doesnt_crash (line 825) | def test_second_call_doesnt_crash(self): class DBCacheWithTimeZoneTests (line 837) | class DBCacheWithTimeZoneTests(DBCacheTests): class DBCacheRouter (line 841) | class DBCacheRouter(object): method db_for_read (line 844) | def db_for_read(self, model, **hints): method db_for_write (line 848) | def db_for_write(self, model, **hints): method allow_syncdb (line 852) | def allow_syncdb(self, db, model): class CreateCacheTableForDBCacheTests (line 857) | class CreateCacheTableForDBCacheTests(TestCase): method test_createcachetable_observes_database_router (line 860) | def test_createcachetable_observes_database_router(self): class LocMemCacheTests (line 879) | class LocMemCacheTests(unittest.TestCase, BaseCacheTests): method setUp (line 882) | def setUp(self): method tearDown (line 903) | def tearDown(self): method test_cull (line 906) | def test_cull(self): method test_zero_cull (line 909) | def test_zero_cull(self): method test_old_initialization (line 913) | def test_old_initialization(self): method test_multiple_caches (line 917) | def test_multiple_caches(self): method test_incr_decr_timeout (line 926) | def test_incr_decr_timeout(self): class MemcachedCacheTests (line 945) | class MemcachedCacheTests(unittest.TestCase, BaseCacheTests): method setUp (line 947) | def setUp(self): method tearDown (line 958) | def tearDown(self): method test_invalid_keys (line 961) | def test_invalid_keys(self): class FileBasedCacheTests (line 977) | class FileBasedCacheTests(unittest.TestCase, BaseCacheTests): method setUp (line 983) | def setUp(self): method tearDown (line 991) | def tearDown(self): method test_hashing (line 994) | def test_hashing(self): method test_subdirectory_removal (line 1002) | def test_subdirectory_removal(self): method test_cull (line 1017) | def test_cull(self): method test_old_initialization (line 1020) | def test_old_initialization(self): class CustomCacheKeyValidationTests (line 1025) | class CustomCacheKeyValidationTests(unittest.TestCase): method test_custom_key_validation (line 1032) | def test_custom_key_validation(self): class GetCacheTests (line 1042) | class GetCacheTests(unittest.TestCase): method test_simple (line 1044) | def test_simple(self): method test_close (line 1058) | def test_close(self): class CacheUtils (line 1076) | class CacheUtils(TestCase): method setUp (line 1079) | def setUp(self): method tearDown (line 1083) | def tearDown(self): method _get_request (line 1086) | def _get_request(self, path, method='GET'): method test_patch_vary_headers (line 1096) | def test_patch_vary_headers(self): method test_get_cache_key (line 1116) | def test_get_cache_key(self): method test_get_cache_key_with_query (line 1129) | def test_get_cache_key_with_query(self): method test_learn_cache_key (line 1139) | def test_learn_cache_key(self): method test_patch_cache_control (line 1147) | def test_patch_cache_control(self): class PrefixedCacheUtils (line 1181) | class PrefixedCacheUtils(CacheUtils): class CacheHEADTest (line 1194) | class CacheHEADTest(TestCase): method setUp (line 1196) | def setUp(self): method tearDown (line 1200) | def tearDown(self): method _get_request (line 1203) | def _get_request(self, method): method _get_request_cache (line 1213) | def _get_request_cache(self, method): method _set_cache (line 1218) | def _set_cache(self, request, msg): method test_head_caches_correctly (line 1223) | def test_head_caches_correctly(self): method test_head_with_cached_get (line 1234) | def test_head_with_cached_get(self): class CacheI18nTest (line 1258) | class CacheI18nTest(TestCase): method setUp (line 1260) | def setUp(self): method tearDown (line 1264) | def tearDown(self): method _get_request (line 1267) | def _get_request(self, method='GET'): method _get_request_cache (line 1277) | def _get_request_cache(self, query_string=None): method test_cache_key_i18n_translation (line 1293) | def test_cache_key_i18n_translation(self): method test_cache_key_i18n_formatting (line 1303) | def test_cache_key_i18n_formatting(self): method test_cache_key_i18n_timezone (line 1313) | def test_cache_key_i18n_timezone(self): method test_cache_key_no_i18n (line 1326) | def test_cache_key_no_i18n (self): method test_cache_key_with_non_ascii_tzname (line 1337) | def test_cache_key_with_non_ascii_tzname(self): method test_middleware (line 1364) | def test_middleware(self): method test_middleware_doesnt_cache_streaming_response (line 1427) | def test_middleware_doesnt_cache_streaming_response(self): class PrefixedCacheI18nTest (line 1451) | class PrefixedCacheI18nTest(CacheI18nTest): function hello_world_view (line 1455) | def hello_world_view(request, value): class CacheMiddlewareTest (line 1475) | class CacheMiddlewareTest(TestCase): method setUp (line 1480) | def setUp(self): method tearDown (line 1488) | def tearDown(self): method test_constructor (line 1493) | def test_constructor(self): method test_middleware (line 1525) | def test_middleware(self): method test_cache_middleware_anonymous_only_wont_cause_session_access (line 1556) | def test_cache_middleware_anonymous_only_wont_cause_session_access(self): method test_cache_middleware_anonymous_only_with_cache_page (line 1585) | def test_cache_middleware_anonymous_only_with_cache_page(self): method test_view_decorator (line 1606) | def test_view_decorator(self): class TestWithTemplateResponse (line 1710) | class TestWithTemplateResponse(TestCase): method setUp (line 1719) | def setUp(self): method tearDown (line 1723) | def tearDown(self): method _get_request (line 1726) | def _get_request(self, path, method='GET'): method test_patch_vary_headers (line 1736) | def test_patch_vary_headers(self): method test_get_cache_key (line 1756) | def test_get_cache_key(self): method test_get_cache_key_with_query (line 1769) | def test_get_cache_key_with_query(self): method test_without_etag (line 1780) | def test_without_etag(self): method test_with_etag (line 1789) | def test_with_etag(self): class TestEtagWithAdmin (line 1798) | class TestEtagWithAdmin(TestCase): method test_admin (line 1802) | def test_admin(self): FILE: Django-1.5.1/tests/regressiontests/comment_tests/custom_comments/__init__.py function get_model (line 5) | def get_model(): function get_form (line 8) | def get_form(): function get_form_target (line 11) | def get_form_target(): function get_flag_url (line 16) | def get_flag_url(c): function get_delete_url (line 22) | def get_delete_url(c): function get_approve_url (line 28) | def get_approve_url(c): FILE: Django-1.5.1/tests/regressiontests/comment_tests/custom_comments/forms.py class CustomCommentForm (line 4) | class CustomCommentForm(forms.Form): FILE: Django-1.5.1/tests/regressiontests/comment_tests/custom_comments/models.py class CustomComment (line 4) | class CustomComment(models.Model): FILE: Django-1.5.1/tests/regressiontests/comment_tests/custom_comments/views.py function custom_submit_comment (line 4) | def custom_submit_comment(request): function custom_flag_comment (line 7) | def custom_flag_comment(request, comment_id): function custom_delete_comment (line 10) | def custom_delete_comment(request, comment_id): function custom_approve_comment (line 13) | def custom_approve_comment(request, comment_id): FILE: Django-1.5.1/tests/regressiontests/comment_tests/models.py class Author (line 13) | class Author(models.Model): method __str__ (line 17) | def __str__(self): class Article (line 21) | class Article(models.Model): method __str__ (line 25) | def __str__(self): class Entry (line 29) | class Entry(models.Model): method __str__ (line 35) | def __str__(self): class Book (line 38) | class Book(models.Model): FILE: Django-1.5.1/tests/regressiontests/comment_tests/tests/__init__.py class CommentTestCase (line 18) | class CommentTestCase(TestCase): method createSomeComments (line 22) | def createSomeComments(self): method getData (line 74) | def getData(self): method getValidData (line 82) | def getValidData(self, obj): FILE: Django-1.5.1/tests/regressiontests/comment_tests/tests/app_api_tests.py class CommentAppAPITests (line 14) | class CommentAppAPITests(CommentTestCase): method testGetCommentApp (line 17) | def testGetCommentApp(self): method testGetMissingCommentApp (line 24) | def testGetMissingCommentApp(self): method testGetForm (line 28) | def testGetForm(self): method testGetFormTarget (line 31) | def testGetFormTarget(self): method testGetFlagURL (line 34) | def testGetFlagURL(self): method getGetDeleteURL (line 38) | def getGetDeleteURL(self): method getGetApproveURL (line 42) | def getGetApproveURL(self): class CustomCommentTest (line 52) | class CustomCommentTest(CommentTestCase): method testGetCommentApp (line 55) | def testGetCommentApp(self): method testGetModel (line 59) | def testGetModel(self): method testGetForm (line 63) | def testGetForm(self): method testGetFormTarget (line 67) | def testGetFormTarget(self): method testGetFlagURL (line 70) | def testGetFlagURL(self): method getGetDeleteURL (line 74) | def getGetDeleteURL(self): method getGetApproveURL (line 78) | def getGetApproveURL(self): FILE: Django-1.5.1/tests/regressiontests/comment_tests/tests/comment_form_tests.py class CommentFormTests (line 13) | class CommentFormTests(CommentTestCase): method testInit (line 14) | def testInit(self): method testValidPost (line 21) | def testValidPost(self): method tamperWithForm (line 27) | def tamperWithForm(self, **kwargs): method testHoneypotTampering (line 35) | def testHoneypotTampering(self): method testTimestampTampering (line 38) | def testTimestampTampering(self): method testSecurityHashTampering (line 41) | def testSecurityHashTampering(self): method testContentTypeTampering (line 44) | def testContentTypeTampering(self): method testObjectPKTampering (line 47) | def testObjectPKTampering(self): method testSecurityErrors (line 50) | def testSecurityErrors(self): method testGetCommentObject (line 54) | def testGetCommentObject(self): method testProfanities (line 63) | def testProfanities(self): FILE: Django-1.5.1/tests/regressiontests/comment_tests/tests/comment_utils_moderators_tests.py class EntryModerator1 (line 12) | class EntryModerator1(CommentModerator): class EntryModerator2 (line 15) | class EntryModerator2(CommentModerator): class EntryModerator3 (line 18) | class EntryModerator3(CommentModerator): class EntryModerator4 (line 22) | class EntryModerator4(CommentModerator): class EntryModerator5 (line 26) | class EntryModerator5(CommentModerator): class EntryModerator6 (line 30) | class EntryModerator6(CommentModerator): class CommentUtilsModeratorTests (line 34) | class CommentUtilsModeratorTests(CommentTestCase): method createSomeComments (line 37) | def createSomeComments(self): method tearDown (line 62) | def tearDown(self): method testRegisterExistingModel (line 65) | def testRegisterExistingModel(self): method testEmailNotification (line 69) | def testEmailNotification(self): method testCommentsEnabled (line 74) | def testCommentsEnabled(self): method testAutoCloseField (line 79) | def testAutoCloseField(self): method testAutoModerateField (line 84) | def testAutoModerateField(self): method testAutoModerateFieldImmediate (line 89) | def testAutoModerateFieldImmediate(self): method testAutoCloseFieldImmediate (line 94) | def testAutoCloseFieldImmediate(self): FILE: Django-1.5.1/tests/regressiontests/comment_tests/tests/comment_view_tests.py class CommentViewTests (line 16) | class CommentViewTests(CommentTestCase): method testPostCommentHTTPMethods (line 18) | def testPostCommentHTTPMethods(self): method testPostCommentMissingCtype (line 25) | def testPostCommentMissingCtype(self): method testPostCommentBadCtype (line 32) | def testPostCommentBadCtype(self): method testPostCommentMissingObjectPK (line 39) | def testPostCommentMissingObjectPK(self): method testPostCommentBadObjectPK (line 46) | def testPostCommentBadObjectPK(self): method testPostInvalidIntegerPK (line 53) | def testPostInvalidIntegerPK(self): method testPostInvalidDecimalPK (line 61) | def testPostInvalidDecimalPK(self): method testCommentPreview (line 69) | def testCommentPreview(self): method testHashTampering (line 77) | def testHashTampering(self): method testDebugCommentErrors (line 84) | def testDebugCommentErrors(self): method testCreateValidComment (line 103) | def testCreateValidComment(self): method testPostAsAuthenticatedUser (line 113) | def testPostAsAuthenticatedUser(self): method testPostAsAuthenticatedUserWithoutFullname (line 128) | def testPostAsAuthenticatedUserWithoutFullname(self): method testPreventDuplicateComments (line 145) | def testPreventDuplicateComments(self): method testCommentSignals (line 157) | def testCommentSignals(self): method testWillBePostedSignal (line 181) | def testWillBePostedSignal(self): method testWillBePostedSignalModifyComment (line 195) | def testWillBePostedSignalModifyComment(self): method testCommentNext (line 209) | def testCommentNext(self): method testCommentDoneView (line 232) | def testCommentDoneView(self): method testCommentNextWithQueryString (line 244) | def testCommentNextWithQueryString(self): method testCommentPostRedirectWithInvalidIntegerPK (line 257) | def testCommentPostRedirectWithInvalidIntegerPK(self): method testCommentNextWithQueryStringAndAnchor (line 272) | def testCommentNextWithQueryStringAndAnchor(self): FILE: Django-1.5.1/tests/regressiontests/comment_tests/tests/feed_tests.py class CommentFeedTests (line 14) | class CommentFeedTests(CommentTestCase): method setUp (line 18) | def setUp(self): method test_feed (line 32) | def test_feed(self): FILE: Django-1.5.1/tests/regressiontests/comment_tests/tests/model_tests.py class CommentModelTests (line 9) | class CommentModelTests(CommentTestCase): method testSave (line 10) | def testSave(self): method testUserProperties (line 14) | def testUserProperties(self): class CommentManagerTests (line 23) | class CommentManagerTests(CommentTestCase): method testInModeration (line 25) | def testInModeration(self): method testRemovedCommentsNotInModeration (line 35) | def testRemovedCommentsNotInModeration(self): method testForModel (line 46) | def testForModel(self): method testPrefetchRelated (line 53) | def testPrefetchRelated(self): FILE: Django-1.5.1/tests/regressiontests/comment_tests/tests/moderation_view_tests.py class FlagViewTests (line 11) | class FlagViewTests(CommentTestCase): method testFlagGet (line 13) | def testFlagGet(self): method testFlagPost (line 21) | def testFlagPost(self): method testFlagPostNext (line 32) | def testFlagPostNext(self): method testFlagPostUnsafeNext (line 43) | def testFlagPostUnsafeNext(self): method testFlagPostTwice (line 56) | def testFlagPostTwice(self): method testFlagAnon (line 63) | def testFlagAnon(self): method testFlaggedView (line 72) | def testFlaggedView(self): method testFlagSignals (line 78) | def testFlagSignals(self): function makeModerator (line 97) | def makeModerator(username): class DeleteViewTests (line 103) | class DeleteViewTests(CommentTestCase): method testDeletePermissions (line 105) | def testDeletePermissions(self): method testDeletePost (line 117) | def testDeletePost(self): method testDeletePostNext (line 129) | def testDeletePostNext(self): method testDeletePostUnsafeNext (line 142) | def testDeletePostUnsafeNext(self): method testDeleteSignals (line 156) | def testDeleteSignals(self): method testDeletedView (line 170) | def testDeletedView(self): class ApproveViewTests (line 176) | class ApproveViewTests(CommentTestCase): method testApprovePermissions (line 178) | def testApprovePermissions(self): method testApprovePost (line 190) | def testApprovePost(self): method testApprovePostNext (line 203) | def testApprovePostNext(self): method testApprovePostUnsafeNext (line 218) | def testApprovePostUnsafeNext(self): method testApproveSignals (line 233) | def testApproveSignals(self): method testApprovedView (line 247) | def testApprovedView(self): class AdminActionsTests (line 253) | class AdminActionsTests(CommentTestCase): method setUp (line 256) | def setUp(self): method testActionsNonModerator (line 270) | def testActionsNonModerator(self): method testActionsModerator (line 276) | def testActionsModerator(self): method testActionsDisabledDelete (line 283) | def testActionsDisabledDelete(self): FILE: Django-1.5.1/tests/regressiontests/comment_tests/tests/templatetag_tests.py class CommentTemplateTagTests (line 12) | class CommentTemplateTagTests(CommentTestCase): method render (line 14) | def render(self, t, **c): method testCommentFormTarget (line 19) | def testCommentFormTarget(self): method testGetCommentForm (line 23) | def testGetCommentForm(self, tag=None): method testGetCommentFormFromLiteral (line 29) | def testGetCommentFormFromLiteral(self): method testGetCommentFormFromObject (line 32) | def testGetCommentFormFromObject(self): method testRenderCommentForm (line 35) | def testRenderCommentForm(self, tag=None): method testRenderCommentFormFromLiteral (line 41) | def testRenderCommentFormFromLiteral(self): method testRenderCommentFormFromObject (line 44) | def testRenderCommentFormFromObject(self): method testRenderCommentFormFromObjectWithQueryCount (line 47) | def testRenderCommentFormFromObjectWithQueryCount(self): method verifyGetCommentCount (line 51) | def verifyGetCommentCount(self, tag=None): method testGetCommentCount (line 56) | def testGetCommentCount(self): method testGetCommentCountFromLiteral (line 60) | def testGetCommentCountFromLiteral(self): method testGetCommentCountFromObject (line 64) | def testGetCommentCountFromObject(self): method verifyGetCommentList (line 68) | def verifyGetCommentList(self, tag=None): method testGetCommentList (line 75) | def testGetCommentList(self): method testGetCommentListFromLiteral (line 79) | def testGetCommentListFromLiteral(self): method testGetCommentListFromObject (line 83) | def testGetCommentListFromObject(self): method testGetCommentPermalink (line 87) | def testGetCommentPermalink(self): method testGetCommentPermalinkFormatted (line 96) | def testGetCommentPermalinkFormatted(self): method testRenderCommentList (line 105) | def testRenderCommentList(self, tag=None): method testRenderCommentListFromLiteral (line 111) | def testRenderCommentListFromLiteral(self): method testRenderCommentListFromObject (line 114) | def testRenderCommentListFromObject(self): method testNumberQueries (line 117) | def testNumberQueries(self): FILE: Django-1.5.1/tests/regressiontests/conditional_processing/models.py class ConditionalGet (line 18) | class ConditionalGet(TestCase): method assertFullResponse (line 21) | def assertFullResponse(self, response, check_last_modified=True, check... method assertNotModified (line 29) | def assertNotModified(self, response): method testWithoutConditions (line 33) | def testWithoutConditions(self): method testIfModifiedSince (line 37) | def testIfModifiedSince(self): method testIfNoneMatch (line 51) | def testIfNoneMatch(self): method testIfMatch (line 64) | def testIfMatch(self): method testBothHeaders (line 72) | def testBothHeaders(self): method testSingleCondition1 (line 88) | def testSingleCondition1(self): method testSingleCondition2 (line 95) | def testSingleCondition2(self): method testSingleCondition3 (line 102) | def testSingleCondition3(self): method testSingleCondition4 (line 107) | def testSingleCondition4(self): method testSingleCondition5 (line 112) | def testSingleCondition5(self): method testSingleCondition6 (line 119) | def testSingleCondition6(self): method testInvalidETag (line 126) | def testInvalidETag(self): FILE: Django-1.5.1/tests/regressiontests/conditional_processing/views.py function index (line 10) | def index(request): function last_modified_view1 (line 14) | def last_modified_view1(request): function last_modified_view2 (line 18) | def last_modified_view2(request): function etag_view1 (line 22) | def etag_view1(request): function etag_view2 (line 26) | def etag_view2(request): FILE: Django-1.5.1/tests/regressiontests/context_processors/tests.py class RequestContextProcessorTests (line 7) | class RequestContextProcessorTests(TestCase): method test_request_attributes (line 14) | def test_request_attributes(self): FILE: Django-1.5.1/tests/regressiontests/context_processors/views.py function request_processor (line 6) | def request_processor(request): FILE: Django-1.5.1/tests/regressiontests/createsuperuser/tests.py class MultiDBChangepasswordManagementCommandTestCase (line 8) | class MultiDBChangepasswordManagementCommandTestCase(TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 15) | def tearDown(self): method test_that_changepassword_command_with_database_option_uses_given_db (line 18) | def test_that_changepassword_command_with_database_option_uses_given_d... class MultiDBCreatesuperuserTestCase (line 34) | class MultiDBCreatesuperuserTestCase(TestCase): method test_createsuperuser_command_with_database_option (line 37) | def test_createsuperuser_command_with_database_option(self): FILE: Django-1.5.1/tests/regressiontests/csrf_tests/tests.py function post_form_response (line 15) | def post_form_response(): function post_form_view (line 21) | def post_form_view(request): function token_view (line 27) | def token_view(request): function non_token_view_using_request_processor (line 33) | def non_token_view_using_request_processor(request): class TestingHttpRequest (line 41) | class TestingHttpRequest(HttpRequest): method is_secure (line 46) | def is_secure(self): class CsrfViewMiddlewareTest (line 49) | class CsrfViewMiddlewareTest(TestCase): method _get_GET_no_csrf_cookie_request (line 55) | def _get_GET_no_csrf_cookie_request(self): method _get_GET_csrf_cookie_request (line 58) | def _get_GET_csrf_cookie_request(self): method _get_POST_csrf_cookie_request (line 63) | def _get_POST_csrf_cookie_request(self): method _get_POST_no_csrf_cookie_request (line 68) | def _get_POST_no_csrf_cookie_request(self): method _get_POST_request_with_token (line 73) | def _get_POST_request_with_token(self): method _check_token_present (line 78) | def _check_token_present(self, response, csrf_id=None): method test_process_view_token_too_long (line 81) | def test_process_view_token_too_long(self): method test_process_response_get_token_used (line 94) | def test_process_response_get_token_used(self): method test_process_response_get_token_not_used (line 117) | def test_process_response_get_token_not_used(self): method test_process_request_no_csrf_cookie (line 138) | def test_process_request_no_csrf_cookie(self): method test_process_request_csrf_cookie_no_token (line 147) | def test_process_request_csrf_cookie_no_token(self): method test_process_request_csrf_cookie_and_token (line 156) | def test_process_request_csrf_cookie_and_token(self): method test_process_request_csrf_cookie_no_token_exempt_view (line 164) | def test_process_request_csrf_cookie_no_token_exempt_view(self): method test_csrf_token_in_header (line 173) | def test_csrf_token_in_header(self): method test_put_and_delete_rejected (line 182) | def test_put_and_delete_rejected(self): method test_put_and_delete_allowed (line 196) | def test_put_and_delete_allowed(self): method test_token_node_no_csrf_cookie (line 214) | def test_token_node_no_csrf_cookie(self): method test_token_node_empty_csrf_cookie (line 222) | def test_token_node_empty_csrf_cookie(self): method test_token_node_with_csrf_cookie (line 233) | def test_token_node_with_csrf_cookie(self): method test_get_token_for_exempt_view (line 242) | def test_get_token_for_exempt_view(self): method test_get_token_for_requires_csrf_token_view (line 251) | def test_get_token_for_requires_csrf_token_view(self): method test_token_node_with_new_csrf_cookie (line 259) | def test_token_node_with_new_csrf_cookie(self): method test_https_bad_referer (line 272) | def test_https_bad_referer(self): method test_https_good_referer (line 285) | def test_https_good_referer(self): method test_https_good_referer_2 (line 297) | def test_https_good_referer_2(self): method test_ensures_csrf_cookie_no_middleware (line 310) | def test_ensures_csrf_cookie_no_middleware(self): method test_ensures_csrf_cookie_with_middleware (line 325) | def test_ensures_csrf_cookie_with_middleware(self): FILE: Django-1.5.1/tests/regressiontests/custom_columns_regress/models.py class Article (line 15) | class Article(models.Model): method __str__ (line 21) | def __str__(self): class Meta (line 24) | class Meta: class Author (line 28) | class Author(models.Model): method __str__ (line 33) | def __str__(self): class Meta (line 36) | class Meta: FILE: Django-1.5.1/tests/regressiontests/custom_columns_regress/tests.py function pks (line 9) | def pks(objects): class CustomColumnRegression (line 13) | class CustomColumnRegression(TestCase): method setUp (line 15) | def setUp(self): method test_basic_creation (line 20) | def test_basic_creation(self): method test_author_querying (line 25) | def test_author_querying(self): method test_author_filtering (line 31) | def test_author_filtering(self): method test_author_get (line 37) | def test_author_get(self): method test_filter_on_nonexistant_field (line 40) | def test_filter_on_nonexistant_field(self): method test_author_get_attributes (line 48) | def test_author_get_attributes(self): method test_m2m_table (line 66) | def test_m2m_table(self): FILE: Django-1.5.1/tests/regressiontests/custom_managers_regress/models.py class RestrictedManager (line 9) | class RestrictedManager(models.Manager): method get_query_set (line 13) | def get_query_set(self): class RelatedModel (line 17) | class RelatedModel(models.Model): method __str__ (line 20) | def __str__(self): class RestrictedModel (line 24) | class RestrictedModel(models.Model): method __str__ (line 32) | def __str__(self): class OneToOneRestrictedModel (line 36) | class OneToOneRestrictedModel(models.Model): method __str__ (line 44) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/custom_managers_regress/tests.py class CustomManagersRegressTestCase (line 8) | class CustomManagersRegressTestCase(TestCase): method test_filtered_default_manager (line 9) | def test_filtered_default_manager(self): method test_delete_related_on_filtered_manager (line 23) | def test_delete_related_on_filtered_manager(self): method test_delete_one_to_one_manager (line 41) | def test_delete_one_to_one_manager(self): FILE: Django-1.5.1/tests/regressiontests/datatypes/models.py class Donut (line 11) | class Donut(models.Model): class Meta (line 20) | class Meta: method __str__ (line 23) | def __str__(self): class RumBaba (line 26) | class RumBaba(models.Model): FILE: Django-1.5.1/tests/regressiontests/datatypes/tests.py class DataTypesTestCase (line 12) | class DataTypesTestCase(TestCase): method test_boolean_type (line 14) | def test_boolean_type(self): method test_date_type (line 27) | def test_date_type(self): method test_time_field (line 39) | def test_time_field(self): method test_year_boundaries (line 48) | def test_year_boundaries(self): method test_textfields_unicode (line 72) | def test_textfields_unicode(self): method test_error_on_timezone (line 80) | def test_error_on_timezone(self): method test_datefield_auto_now_add (line 88) | def test_datefield_auto_now_add(self): FILE: Django-1.5.1/tests/regressiontests/dates/models.py class Article (line 6) | class Article(models.Model): method __str__ (line 12) | def __str__(self): class Comment (line 16) | class Comment(models.Model): method __str__ (line 22) | def __str__(self): class Category (line 25) | class Category(models.Model): FILE: Django-1.5.1/tests/regressiontests/dates/tests.py class DatesTests (line 10) | class DatesTests(TestCase): method test_related_model_traverse (line 11) | def test_related_model_traverse(self): FILE: Django-1.5.1/tests/regressiontests/db_typecasts/tests.py class DBTypeCasts (line 51) | class DBTypeCasts(unittest.TestCase): method test_typeCasts (line 52) | def test_typeCasts(self): FILE: Django-1.5.1/tests/regressiontests/decorators/tests.py function fully_decorated (line 17) | def fully_decorated(request): function compose (line 23) | def compose(*functions): class DecoratorsTest (line 68) | class DecoratorsTest(TestCase): method test_attributes (line 70) | def test_attributes(self): method test_user_passes_test_composition (line 79) | def test_user_passes_test_composition(self): method test_cache_page_new_style (line 108) | def test_cache_page_new_style(self): method test_cache_page_old_style (line 119) | def test_cache_page_old_style(self): method test_require_safe_accepts_only_safe_methods (line 135) | def test_require_safe_accepts_only_safe_methods(self): function simple_dec (line 159) | def simple_dec(func): function myattr_dec (line 168) | def myattr_dec(func): function myattr2_dec (line 177) | def myattr2_dec(func): class MethodDecoratorTests (line 186) | class MethodDecoratorTests(TestCase): method test_preserve_signature (line 190) | def test_preserve_signature(self): method test_preserve_attributes (line 198) | def test_preserve_attributes(self): class XFrameOptionsDecoratorsTests (line 226) | class XFrameOptionsDecoratorsTests(TestCase): method test_deny_decorator (line 230) | def test_deny_decorator(self): method test_sameorigin_decorator (line 240) | def test_sameorigin_decorator(self): method test_exempt_decorator (line 251) | def test_exempt_decorator(self): FILE: Django-1.5.1/tests/regressiontests/defaultfilters/tests.py class DefaultFiltersTests (line 15) | class DefaultFiltersTests(TestCase): method test_floatformat (line 17) | def test_floatformat(self): method test_floatformat_py2_fail (line 83) | def test_floatformat_py2_fail(self): method test_addslashes (line 93) | def test_addslashes(self): method test_capfirst (line 100) | def test_capfirst(self): method test_escapejs (line 103) | def test_escapejs(self): method test_fix_ampersands (line 116) | def test_fix_ampersands(self): method test_linenumbers (line 120) | def test_linenumbers(self): method test_lower (line 127) | def test_lower(self): method test_make_list (line 133) | def test_make_list(self): method test_slugify (line 137) | def test_slugify(self): method test_stringformat (line 145) | def test_stringformat(self): method test_title (line 149) | def test_title(self): method test_truncatewords (line 154) | def test_truncatewords(self): method test_truncatewords_html (line 167) | def test_truncatewords_html(self): method test_upper (line 185) | def test_upper(self): method test_urlencode (line 190) | def test_urlencode(self): method test_iriencode (line 195) | def test_iriencode(self): method test_urlizetrunc (line 201) | def test_urlizetrunc(self): method test_urlize (line 231) | def test_urlize(self): method test_wordcount (line 314) | def test_wordcount(self): method test_rjust (line 333) | def test_rjust(self): method test_center (line 339) | def test_center(self): method test_cut (line 342) | def test_cut(self): method test_force_escape (line 350) | def test_force_escape(self): method test_linebreaks (line 360) | def test_linebreaks(self): method test_linebreaksbr (line 369) | def test_linebreaksbr(self): method test_removetags (line 377) | def test_removetags(self): method test_dictsort (line 385) | def test_dictsort(self): method test_dictsortreversed (line 402) | def test_dictsortreversed(self): method test_first (line 420) | def test_first(self): method test_join (line 425) | def test_join(self): method test_length (line 428) | def test_length(self): method test_slice (line 436) | def test_slice(self): method test_unordered_list (line 444) | def test_unordered_list(self): method test_add (line 496) | def test_add(self): method test_get_digit (line 499) | def test_get_digit(self): method test_date (line 507) | def test_date(self): method test_time (line 514) | def test_time(self): method test_timesince (line 519) | def test_timesince(self): method test_timeuntil (line 530) | def test_timeuntil(self): method test_default (line 540) | def test_default(self): method test_if_none (line 545) | def test_if_none(self): method test_divisibleby (line 550) | def test_divisibleby(self): method test_yesno (line 554) | def test_yesno(self): method test_filesizeformat (line 567) | def test_filesizeformat(self): method test_localized_filesizeformat (line 585) | def test_localized_filesizeformat(self): method test_pluralize (line 606) | def test_pluralize(self): method test_phone2numeric (line 621) | def test_phone2numeric(self): method test_non_string_input (line 624) | def test_non_string_input(self): FILE: Django-1.5.1/tests/regressiontests/defer_regress/models.py class Item (line 10) | class Item(models.Model): method __str__ (line 16) | def __str__(self): class RelatedItem (line 19) | class RelatedItem(models.Model): class Child (line 22) | class Child(models.Model): class Leaf (line 27) | class Leaf(models.Model): method __str__ (line 33) | def __str__(self): class ResolveThis (line 36) | class ResolveThis(models.Model): class Proxy (line 40) | class Proxy(Item): class Meta (line 41) | class Meta: class SimpleItem (line 45) | class SimpleItem(models.Model): method __str__ (line 49) | def __str__(self): class Feature (line 52) | class Feature(models.Model): class SpecialFeature (line 55) | class SpecialFeature(models.Model): class OneToOneItem (line 58) | class OneToOneItem(models.Model): class ItemAndSimpleItem (line 62) | class ItemAndSimpleItem(models.Model): FILE: Django-1.5.1/tests/regressiontests/defer_regress/tests.py class DeferRegressionTest (line 15) | class DeferRegressionTest(TestCase): method test_basic (line 16) | def test_basic(self): method test_only_and_defer_usage_on_proxy_models (line 166) | def test_only_and_defer_usage_on_proxy_models(self): method test_resolve_columns (line 181) | def test_resolve_columns(self): method test_reverse_one_to_one_relations (line 187) | def test_reverse_one_to_one_relations(self): method test_defer_with_select_related (line 214) | def test_defer_with_select_related(self): method test_only_with_select_related (line 231) | def test_only_with_select_related(self): method test_deferred_class_factory (line 243) | def test_deferred_class_factory(self): FILE: Django-1.5.1/tests/regressiontests/delete_regress/models.py class Award (line 5) | class Award(models.Model): class AwardNote (line 11) | class AwardNote(models.Model): class Person (line 15) | class Person(models.Model): class Book (line 19) | class Book(models.Model): class Toy (line 22) | class Toy(models.Model): class Child (line 25) | class Child(models.Model): class PlayedWith (line 29) | class PlayedWith(models.Model): class PlayedWithNote (line 34) | class PlayedWithNote(models.Model): class Contact (line 38) | class Contact(models.Model): class Email (line 41) | class Email(Contact): class Researcher (line 44) | class Researcher(models.Model): class Food (line 47) | class Food(models.Model): class Eaten (line 50) | class Eaten(models.Model): class Policy (line 57) | class Policy(models.Model): class Version (line 60) | class Version(models.Model): class Location (line 63) | class Location(models.Model): class Item (line 66) | class Item(models.Model): class File (line 72) | class File(models.Model): class Image (line 75) | class Image(File): class Meta (line 76) | class Meta: class Photo (line 79) | class Photo(Image): class Meta (line 80) | class Meta: class FooImage (line 83) | class FooImage(models.Model): class FooFile (line 86) | class FooFile(models.Model): class FooPhoto (line 89) | class FooPhoto(models.Model): class FooFileProxy (line 92) | class FooFileProxy(FooFile): class Meta (line 93) | class Meta: class OrgUnit (line 96) | class OrgUnit(models.Model): class Login (line 99) | class Login(models.Model): class House (line 103) | class House(models.Model): class OrderedPerson (line 106) | class OrderedPerson(models.Model): class Meta (line 110) | class Meta: FILE: Django-1.5.1/tests/regressiontests/delete_regress/tests.py class DeleteLockingTest (line 17) | class DeleteLockingTest(TransactionTestCase): method setUp (line 18) | def setUp(self): method tearDown (line 36) | def tearDown(self): method test_concurrent_delete (line 42) | def test_concurrent_delete(self): class DeleteCascadeTests (line 72) | class DeleteCascadeTests(TestCase): method test_generic_relation_cascade (line 73) | def test_generic_relation_cascade(self): method test_fk_to_m2m_through (line 89) | def test_fk_to_m2m_through(self): method test_15776 (line 109) | def test_15776(self): class DeleteCascadeTransactionTests (line 117) | class DeleteCascadeTransactionTests(TransactionTestCase): method test_inheritance (line 118) | def test_inheritance(self): method test_to_field (line 134) | def test_to_field(self): class LargeDeleteTests (line 147) | class LargeDeleteTests(TestCase): method test_large_deletes (line 148) | def test_large_deletes(self): class ProxyDeleteTest (line 161) | class ProxyDeleteTest(TestCase): method create_image (line 168) | def create_image(self): method test_delete_proxy (line 184) | def test_delete_proxy(self): method test_delete_proxy_of_proxy (line 203) | def test_delete_proxy_of_proxy(self): method test_delete_concrete_parent (line 230) | def test_delete_concrete_parent(self): method test_delete_proxy_pair (line 250) | def test_delete_proxy_pair(self): method test_19187_values (line 270) | def test_19187_values(self): class Ticket19102Tests (line 276) | class Ticket19102Tests(TestCase): method setUp (line 286) | def setUp(self): method test_ticket_19102_annotate (line 293) | def test_ticket_19102_annotate(self): method test_ticket_19102_extra (line 306) | def test_ticket_19102_extra(self): method test_ticket_19102_distinct_on (line 320) | def test_ticket_19102_distinct_on(self): method test_ticket_19102_select_related (line 333) | def test_ticket_19102_select_related(self): method test_ticket_19102_defer (line 346) | def test_ticket_19102_defer(self): class OrderedDeleteTests (line 359) | class OrderedDeleteTests(TestCase): method test_meta_ordered_delete (line 360) | def test_meta_ordered_delete(self): FILE: Django-1.5.1/tests/regressiontests/dispatch/tests/test_dispatcher.py function garbage_collect (line 10) | def garbage_collect(): function garbage_collect (line 17) | def garbage_collect(): function garbage_collect (line 22) | def garbage_collect(): function receiver_1_arg (line 25) | def receiver_1_arg(val, **kwargs): class Callable (line 28) | class Callable(object): method __call__ (line 29) | def __call__(self, val, **kwargs): method a (line 32) | def a(self, val, **kwargs): class DispatcherTests (line 39) | class DispatcherTests(unittest.TestCase): method _testIsClean (line 42) | def _testIsClean(self, signal): method testExact (line 49) | def testExact(self): method testIgnoredSender (line 57) | def testIgnoredSender(self): method testGarbageCollected (line 65) | def testGarbageCollected(self): method testMultipleRegistration (line 75) | def testMultipleRegistration(self): method testUidRegistration (line 91) | def testUidRegistration(self): method testRobust (line 104) | def testRobust(self): method testDisconnection (line 116) | def testDisconnection(self): method test_has_listeners (line 129) | def test_has_listeners(self): class ReceiverTestCase (line 141) | class ReceiverTestCase(unittest.TestCase): method testReceiverSingleSignal (line 146) | def testReceiverSingleSignal(self): method testReceiverSignalList (line 154) | def testReceiverSignalList(self): FILE: Django-1.5.1/tests/regressiontests/dispatch/tests/test_saferef.py class Test1 (line 5) | class Test1(object): method x (line 6) | def x(self): function test2 (line 9) | def test2(obj): class Test2 (line 12) | class Test2(object): method __call__ (line 13) | def __call__(self, obj): class SaferefTests (line 16) | class SaferefTests(unittest.TestCase): method setUp (line 17) | def setUp(self): method tearDown (line 36) | def tearDown(self): method testIn (line 40) | def testIn(self): method testValid (line 45) | def testValid(self): method testShortCircuit (line 50) | def testShortCircuit(self): method testRepresentation (line 61) | def testRepresentation(self): method _closure (line 69) | def _closure(self, ref): FILE: Django-1.5.1/tests/regressiontests/expressions_regress/models.py class Number (line 10) | class Number(models.Model): method __str__ (line 14) | def __str__(self): class Experiment (line 17) | class Experiment(models.Model): class Meta (line 24) | class Meta: method duration (line 27) | def duration(self): FILE: Django-1.5.1/tests/regressiontests/expressions_regress/tests.py class ExpressionsRegressTests (line 15) | class ExpressionsRegressTests(TestCase): method setUp (line 17) | def setUp(self): method test_fill_with_value_from_same_object (line 23) | def test_fill_with_value_from_same_object(self): method test_increment_value (line 37) | def test_increment_value(self): method test_filter_not_equals_other_field (line 55) | def test_filter_not_equals_other_field(self): method test_complex_expressions (line 72) | def test_complex_expressions(self): class ExpressionOperatorTests (line 84) | class ExpressionOperatorTests(TestCase): method setUp (line 85) | def setUp(self): method test_lefthand_addition (line 88) | def test_lefthand_addition(self): method test_lefthand_subtraction (line 98) | def test_lefthand_subtraction(self): method test_lefthand_multiplication (line 106) | def test_lefthand_multiplication(self): method test_lefthand_division (line 114) | def test_lefthand_division(self): method test_lefthand_modulo (line 122) | def test_lefthand_modulo(self): method test_lefthand_bitwise_and (line 129) | def test_lefthand_bitwise_and(self): method test_lefthand_bitwise_or (line 137) | def test_lefthand_bitwise_or(self): method test_right_hand_addition (line 144) | def test_right_hand_addition(self): method test_right_hand_subtraction (line 153) | def test_right_hand_subtraction(self): method test_right_hand_multiplication (line 161) | def test_right_hand_multiplication(self): method test_right_hand_division (line 169) | def test_right_hand_division(self): method test_right_hand_modulo (line 177) | def test_right_hand_modulo(self): class FTimeDeltaTests (line 185) | class FTimeDeltaTests(TestCase): method setUp (line 187) | def setUp(self): method test_delta_add (line 259) | def test_delta_add(self): method test_delta_subtract (line 270) | def test_delta_subtract(self): method test_exclude (line 281) | def test_exclude(self): method test_date_comparison (line 292) | def test_date_comparison(self): method test_mixed_comparisons1 (line 304) | def test_mixed_comparisons1(self): method test_mixed_comparisons2 (line 317) | def test_mixed_comparisons2(self): method test_delta_update (line 330) | def test_delta_update(self): method test_delta_invalid_op_mult (line 347) | def test_delta_invalid_op_mult(self): method test_delta_invalid_op_div (line 355) | def test_delta_invalid_op_div(self): method test_delta_invalid_op_mod (line 363) | def test_delta_invalid_op_mod(self): method test_delta_invalid_op_and (line 371) | def test_delta_invalid_op_and(self): method test_delta_invalid_op_or (line 379) | def test_delta_invalid_op_or(self): FILE: Django-1.5.1/tests/regressiontests/extra_regress/models.py class RevisionableModel (line 12) | class RevisionableModel(models.Model): method __str__ (line 17) | def __str__(self): method save (line 20) | def save(self, *args, **kwargs): method new_revision (line 28) | def new_revision(self): class Order (line 33) | class Order(models.Model): class TestObject (line 38) | class TestObject(models.Model): method __str__ (line 43) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/extra_regress/tests.py class ExtraRegressTests (line 12) | class ExtraRegressTests(TestCase): method setUp (line 14) | def setUp(self): method test_regression_7314_7372 (line 21) | def test_regression_7314_7372(self): method test_extra_stay_tied (line 70) | def test_extra_stay_tied(self): method test_regression_7957 (line 85) | def test_regression_7957(self): method test_regression_7961 (line 101) | def test_regression_7961(self): method test_regression_8063 (line 113) | def test_regression_8063(self): method test_regression_8039 (line 122) | def test_regression_8039(self): method test_regression_8819 (line 137) | def test_regression_8819(self): method test_dates_query (line 155) | def test_dates_query(self): method test_values_with_extra (line 171) | def test_values_with_extra(self): method test_regression_10847 (line 277) | def test_regression_10847(self): method test_regression_17877 (line 317) | def test_regression_17877(self): FILE: Django-1.5.1/tests/regressiontests/file_storage/tests.py class GetStorageClassTests (line 43) | class GetStorageClassTests(SimpleTestCase): method test_get_filesystem_storage (line 45) | def test_get_filesystem_storage(self): method test_get_invalid_storage_module (line 53) | def test_get_invalid_storage_module(self): method test_get_nonexisting_storage_class (line 63) | def test_get_nonexisting_storage_class(self): method test_get_nonexisting_storage_module (line 74) | def test_get_nonexisting_storage_module(self): class FileStorageTests (line 87) | class FileStorageTests(unittest.TestCase): method setUp (line 90) | def setUp(self): method tearDown (line 98) | def tearDown(self): method test_emtpy_location (line 102) | def test_emtpy_location(self): method test_file_access_options (line 110) | def test_file_access_options(self): method test_file_accessed_time (line 127) | def test_file_accessed_time(self): method test_file_created_time (line 143) | def test_file_created_time(self): method test_file_modified_time (line 160) | def test_file_modified_time(self): method test_file_save_without_name (line 177) | def test_file_save_without_name(self): method test_file_save_with_path (line 195) | def test_file_save_with_path(self): method test_file_path (line 212) | def test_file_path(self): method test_file_url (line 226) | def test_file_url(self): method test_listdir (line 245) | def test_listdir(self): method test_file_storage_prevents_directory_traversal (line 266) | def test_file_storage_prevents_directory_traversal(self): method test_file_storage_preserves_filename_case (line 274) | def test_file_storage_preserves_filename_case(self): method test_makedirs_race_handling (line 288) | def test_makedirs_race_handling(self): method test_remove_race_handling (line 326) | def test_remove_race_handling(self): method test_file_chunks_error (line 362) | def test_file_chunks_error(self): class CustomStorage (line 374) | class CustomStorage(FileSystemStorage): method get_available_name (line 375) | def get_available_name(self, name): class CustomStorageTests (line 388) | class CustomStorageTests(FileStorageTests): method test_custom_get_available_name (line 391) | def test_custom_get_available_name(self): class UnicodeFileNameTests (line 399) | class UnicodeFileNameTests(unittest.TestCase): method test_unicode_file_names (line 400) | def test_unicode_file_names(self): class SlowFile (line 413) | class SlowFile(ContentFile): method chunks (line 414) | def chunks(self): class FileSaveRaceConditionTest (line 418) | class FileSaveRaceConditionTest(unittest.TestCase): method setUp (line 419) | def setUp(self): method tearDown (line 424) | def tearDown(self): method save_file (line 427) | def save_file(self, name): method test_race_condition (line 430) | def test_race_condition(self): class FileStoragePermissions (line 440) | class FileStoragePermissions(unittest.TestCase): method setUp (line 441) | def setUp(self): method tearDown (line 447) | def tearDown(self): method test_file_upload_permissions (line 452) | def test_file_upload_permissions(self): method test_file_upload_default_permissions (line 458) | def test_file_upload_default_permissions(self): class FileStoragePathParsing (line 463) | class FileStoragePathParsing(unittest.TestCase): method setUp (line 464) | def setUp(self): method tearDown (line 468) | def tearDown(self): method test_directory_with_dot (line 471) | def test_directory_with_dot(self): method test_first_character_dot (line 485) | def test_first_character_dot(self): class DimensionClosingBug (line 496) | class DimensionClosingBug(unittest.TestCase): method test_not_closing_of_files (line 501) | def test_not_closing_of_files(self): method test_closing_of_filenames (line 512) | def test_closing_of_filenames(self): class InconsistentGetImageDimensionsBug (line 543) | class InconsistentGetImageDimensionsBug(unittest.TestCase): method test_multiple_calls (line 549) | def test_multiple_calls(self): class ContentFileTestCase (line 562) | class ContentFileTestCase(unittest.TestCase): method setUp (line 564) | def setUp(self): method tearDown (line 568) | def tearDown(self): method test_content_file_default_name (line 571) | def test_content_file_default_name(self): method test_content_file_custom_name (line 574) | def test_content_file_custom_name(self): method test_content_file_input_type (line 581) | def test_content_file_input_type(self): method test_content_saving (line 592) | def test_content_saving(self): class NoNameFileTestCase (line 600) | class NoNameFileTestCase(unittest.TestCase): method test_noname_file_default_name (line 605) | def test_noname_file_default_name(self): method test_noname_file_get_size (line 608) | def test_noname_file_get_size(self): class FileLikeObjectTestCase (line 611) | class FileLikeObjectTestCase(LiveServerBase): method setUp (line 615) | def setUp(self): method tearDown (line 619) | def tearDown(self): method test_urllib2_urlopen (line 622) | def test_urllib2_urlopen(self): FILE: Django-1.5.1/tests/regressiontests/file_uploads/models.py class FileModel (line 4) | class FileModel(models.Model): FILE: Django-1.5.1/tests/regressiontests/file_uploads/tests.py class FileUploadTests (line 30) | class FileUploadTests(TestCase): method setUpClass (line 32) | def setUpClass(cls): method tearDownClass (line 37) | def tearDownClass(cls): method test_simple_upload (line 40) | def test_simple_upload(self): method test_large_upload (line 49) | def test_large_upload(self): method _test_base64_upload (line 77) | def _test_base64_upload(self, content): method test_base64_upload (line 98) | def test_base64_upload(self): method test_big_base64_upload (line 101) | def test_big_base64_upload(self): method test_unicode_file_name (line 104) | def test_unicode_file_name(self): method test_dangerous_file_names (line 121) | def test_dangerous_file_names(self): method test_filename_overflow (line 168) | def test_filename_overflow(self): method test_truncated_multipart_handled_gracefully (line 190) | def test_truncated_multipart_handled_gracefully(self): method test_empty_multipart_handled_gracefully (line 216) | def test_empty_multipart_handled_gracefully(self): method test_custom_upload_handler (line 231) | def test_custom_upload_handler(self): method test_broken_custom_upload_handler (line 252) | def test_broken_custom_upload_handler(self): method test_fileupload_getlist (line 265) | def test_fileupload_getlist(self): method test_file_error_blocking (line 292) | def test_file_error_blocking(self): method test_filename_case_preservation (line 334) | def test_filename_case_preservation(self): class DirectoryCreationTests (line 366) | class DirectoryCreationTests(TestCase): method setUpClass (line 372) | def setUpClass(cls): method tearDownClass (line 377) | def tearDownClass(cls): method setUp (line 380) | def setUp(self): method test_readonly_root (line 383) | def test_readonly_root(self): method test_not_a_directory (line 394) | def test_not_a_directory(self): class MultiParserTests (line 407) | class MultiParserTests(unittest.TestCase): method test_empty_upload_handlers (line 409) | def test_empty_upload_handlers(self): FILE: Django-1.5.1/tests/regressiontests/file_uploads/uploadhandler.py class QuotaUploadHandler (line 8) | class QuotaUploadHandler(FileUploadHandler): method __init__ (line 16) | def __init__(self, request=None): method receive_data_chunk (line 20) | def receive_data_chunk(self, raw_data, start): method file_complete (line 26) | def file_complete(self, file_size): class CustomUploadError (line 29) | class CustomUploadError(Exception): class ErroringUploadHandler (line 32) | class ErroringUploadHandler(FileUploadHandler): method receive_data_chunk (line 34) | def receive_data_chunk(self, raw_data, start): FILE: Django-1.5.1/tests/regressiontests/file_uploads/views.py function file_upload_view (line 17) | def file_upload_view(request): function file_upload_view_verify (line 33) | def file_upload_view_verify(request): function file_upload_unicode_name (line 60) | def file_upload_unicode_name(request): function file_upload_echo (line 88) | def file_upload_echo(request): function file_upload_echo_content (line 95) | def file_upload_echo_content(request): function file_upload_quota (line 102) | def file_upload_quota(request): function file_upload_quota_broken (line 109) | def file_upload_quota_broken(request): function file_upload_getlist_count (line 117) | def file_upload_getlist_count(request): function file_upload_errors (line 127) | def file_upload_errors(request): function file_upload_filename_case_view (line 131) | def file_upload_filename_case_view(request): FILE: Django-1.5.1/tests/regressiontests/fixtures_regress/models.py class Animal (line 10) | class Animal(models.Model): method __str__ (line 19) | def __str__(self): class Plant (line 23) | class Plant(models.Model): class Meta (line 26) | class Meta: class Stuff (line 31) | class Stuff(models.Model): method __str__ (line 35) | def __str__(self): class Absolute (line 39) | class Absolute(models.Model): method __init__ (line 44) | def __init__(self, *args, **kwargs): class Parent (line 49) | class Parent(models.Model): class Meta (line 52) | class Meta: class Child (line 56) | class Child(Parent): class Channel (line 61) | class Channel(models.Model): class Article (line 65) | class Article(models.Model): class Meta (line 69) | class Meta: class Widget (line 75) | class Widget(models.Model): class Meta (line 78) | class Meta: method __str__ (line 81) | def __str__(self): class WidgetProxy (line 85) | class WidgetProxy(Widget): class Meta (line 86) | class Meta: class TestManager (line 91) | class TestManager(models.Manager): method get_by_natural_key (line 92) | def get_by_natural_key(self, key): class Store (line 97) | class Store(models.Model): class Meta (line 102) | class Meta: method __str__ (line 105) | def __str__(self): method natural_key (line 108) | def natural_key(self): class Person (line 113) | class Person(models.Model): class Meta (line 117) | class Meta: method __str__ (line 120) | def __str__(self): method natural_key (line 125) | def natural_key(self): class Book (line 131) | class Book(models.Model): class Meta (line 136) | class Meta: method __str__ (line 139) | def __str__(self): class NKManager (line 147) | class NKManager(models.Manager): method get_by_natural_key (line 148) | def get_by_natural_key(self, data): class NKChild (line 153) | class NKChild(Parent): method natural_key (line 157) | def natural_key(self): method __str__ (line 160) | def __str__(self): class RefToNKChild (line 165) | class RefToNKChild(models.Model): method __str__ (line 170) | def __str__(self): class Circle1 (line 179) | class Circle1(models.Model): method natural_key (line 182) | def natural_key(self): class Circle2 (line 187) | class Circle2(models.Model): method natural_key (line 190) | def natural_key(self): class Circle3 (line 195) | class Circle3(models.Model): method natural_key (line 198) | def natural_key(self): class Circle4 (line 203) | class Circle4(models.Model): method natural_key (line 206) | def natural_key(self): class Circle5 (line 211) | class Circle5(models.Model): method natural_key (line 214) | def natural_key(self): class Circle6 (line 219) | class Circle6(models.Model): method natural_key (line 222) | def natural_key(self): class ExternalDependency (line 227) | class ExternalDependency(models.Model): method natural_key (line 230) | def natural_key(self): class Thingy (line 236) | class Thingy(models.Model): FILE: Django-1.5.1/tests/regressiontests/fixtures_regress/tests.py class TestFixtures (line 28) | class TestFixtures(TestCase): method animal_pre_save_check (line 30) | def animal_pre_save_check(self, signal, sender, instance, **kwargs): method test_duplicate_pk (line 38) | def test_duplicate_pk(self): method test_loaddata_not_found_fields_not_ignore (line 62) | def test_loaddata_not_found_fields_not_ignore(self): method test_loaddata_not_found_fields_ignore (line 75) | def test_loaddata_not_found_fields_ignore(self): method test_pretty_print_xml (line 91) | def test_pretty_print_xml(self): method test_pretty_print_xml_empty_strings (line 107) | def test_pretty_print_xml_empty_strings(self): method test_absolute_path (line 122) | def test_absolute_path(self): method test_unknown_format (line 144) | def test_unknown_format(self): method test_unimportable_serializer (line 160) | def test_unimportable_serializer(self): method test_invalid_data (line 173) | def test_invalid_data(self): method test_invalid_data_no_ext (line 188) | def test_invalid_data_no_ext(self): method test_empty (line 203) | def test_empty(self): method test_error_message (line 217) | def test_error_message(self): method test_pg_sequence_resetting_checks (line 231) | def test_pg_sequence_resetting_checks(self): method test_close_connection_after_loaddata (line 246) | def test_close_connection_after_loaddata(self): method test_field_value_coerce (line 273) | def test_field_value_coerce(self): method test_dumpdata_uses_default_manager (line 297) | def test_dumpdata_uses_default_manager(self): method test_proxy_model_included (line 350) | def test_proxy_model_included(self): method test_loaddata_works_when_fixture_has_forward_refs (line 370) | def test_loaddata_works_when_fixture_has_forward_refs(self): method test_loaddata_raises_error_when_fixture_has_invalid_foreign_key (line 383) | def test_loaddata_raises_error_when_fixture_has_invalid_foreign_key(se... method test_loaddata_forward_refs_split_fixtures (line 400) | def test_loaddata_forward_refs_split_fixtures(self): method test_loaddata_no_fixture_specified (line 415) | def test_loaddata_no_fixture_specified(self): method test_loaddata_not_existant_fixture_file (line 428) | def test_loaddata_not_existant_fixture_file(self): class NaturalKeyFixtureTests (line 441) | class NaturalKeyFixtureTests(TestCase): method test_nk_deserialize (line 443) | def test_nk_deserialize(self): method test_nk_deserialize_xml (line 470) | def test_nk_deserialize_xml(self): method test_nk_on_serialize (line 502) | def test_nk_on_serialize(self): method test_dependency_sorting (line 530) | def test_dependency_sorting(self): method test_dependency_sorting_2 (line 545) | def test_dependency_sorting_2(self): method test_dependency_sorting_3 (line 554) | def test_dependency_sorting_3(self): method test_dependency_sorting_4 (line 563) | def test_dependency_sorting_4(self): method test_dependency_sorting_5 (line 572) | def test_dependency_sorting_5(self): method test_dependency_sorting_6 (line 581) | def test_dependency_sorting_6(self): method test_dependency_sorting_dangling (line 590) | def test_dependency_sorting_dangling(self): method test_dependency_sorting_tight_circular (line 599) | def test_dependency_sorting_tight_circular(self): method test_dependency_sorting_tight_circular_2 (line 607) | def test_dependency_sorting_tight_circular_2(self): method test_dependency_self_referential (line 615) | def test_dependency_self_referential(self): method test_dependency_sorting_long (line 623) | def test_dependency_sorting_long(self): method test_dependency_sorting_normal (line 631) | def test_dependency_sorting_normal(self): method test_normal_pk (line 640) | def test_normal_pk(self): class TestTicket11101 (line 670) | class TestTicket11101(TransactionTestCase): method ticket_11101 (line 672) | def ticket_11101(self): method test_ticket_11101 (line 685) | def test_ticket_11101(self): FILE: Django-1.5.1/tests/regressiontests/forms/models.py class BoundaryModel (line 17) | class BoundaryModel(models.Model): function callable_default (line 22) | def callable_default(): class Defaults (line 28) | class Defaults(models.Model): class ChoiceModel (line 35) | class ChoiceModel(models.Model): class ChoiceOptionModel (line 41) | class ChoiceOptionModel(models.Model): class Meta (line 46) | class Meta: method __str__ (line 49) | def __str__(self): class ChoiceFieldModel (line 53) | class ChoiceFieldModel(models.Model): class OptionalMultiChoiceModel (line 66) | class OptionalMultiChoiceModel(models.Model): class FileModel (line 73) | class FileModel(models.Model): class Group (line 78) | class Group(models.Model): method __str__ (line 81) | def __str__(self): class Cheese (line 85) | class Cheese(models.Model): class Article (line 89) | class Article(models.Model): FILE: Django-1.5.1/tests/regressiontests/forms/tests/error_messages.py class AssertFormErrorsMixin (line 11) | class AssertFormErrorsMixin(object): method assertFormErrors (line 12) | def assertFormErrors(self, expected, the_callable, *args, **kwargs): class FormsErrorMessagesTestCase (line 19) | class FormsErrorMessagesTestCase(TestCase, AssertFormErrorsMixin): method test_charfield (line 20) | def test_charfield(self): method test_integerfield (line 31) | def test_integerfield(self): method test_floatfield (line 44) | def test_floatfield(self): method test_decimalfield (line 57) | def test_decimalfield(self): method test_datefield (line 78) | def test_datefield(self): method test_timefield (line 87) | def test_timefield(self): method test_datetimefield (line 96) | def test_datetimefield(self): method test_regexfield (line 105) | def test_regexfield(self): method test_emailfield (line 118) | def test_emailfield(self): method test_filefield (line 131) | def test_filefield(self): method test_urlfield (line 144) | def test_urlfield(self): method test_booleanfield (line 153) | def test_booleanfield(self): method test_choicefield (line 160) | def test_choicefield(self): method test_multiplechoicefield (line 169) | def test_multiplechoicefield(self): method test_splitdatetimefield (line 180) | def test_splitdatetimefield(self): method test_ipaddressfield (line 190) | def test_ipaddressfield(self): method test_generic_ipaddressfield (line 199) | def test_generic_ipaddressfield(self): method test_subclassing_errorlist (line 208) | def test_subclassing_errorlist(self): class ModelChoiceFieldErrorMessagesTestCase (line 237) | class ModelChoiceFieldErrorMessagesTestCase(TestCase, AssertFormErrorsMi... method test_modelchoicefield (line 238) | def test_modelchoicefield(self): FILE: Django-1.5.1/tests/regressiontests/forms/tests/extra.py class GetDate (line 18) | class GetDate(Form): class GetNotRequiredDate (line 21) | class GetNotRequiredDate(Form): class GetDateShowHiddenInitial (line 24) | class GetDateShowHiddenInitial(Form): class FormsExtraTestCase (line 27) | class FormsExtraTestCase(TestCase, AssertFormErrorsMixin): method test_selectdate (line 33) | def test_selectdate(self): method test_multiwidget (line 375) | def test_multiwidget(self): method test_ipaddress (line 456) | def test_ipaddress(self): method test_generic_ipaddress_invalid_arguments (line 475) | def test_generic_ipaddress_invalid_arguments(self): method test_generic_ipaddress_as_generic (line 479) | def test_generic_ipaddress_as_generic(self): method test_generic_ipaddress_as_ipv4_only (line 498) | def test_generic_ipaddress_as_ipv4_only(self): method test_generic_ipaddress_as_ipv6_only (line 510) | def test_generic_ipaddress_as_ipv6_only(self): method test_generic_ipaddress_as_generic_not_required (line 527) | def test_generic_ipaddress_as_generic_not_required(self): method test_generic_ipaddress_normalization (line 544) | def test_generic_ipaddress_normalization(self): method test_smart_text (line 555) | def test_smart_text(self): method test_accessing_clean (line 581) | def test_accessing_clean(self): method test_overriding_errorlist (line 598) | def test_overriding_errorlist(self): method test_multipart_encoded_form (line 621) | def test_multipart_encoded_form(self): method test_field_not_required (line 636) | def test_field_not_required(self): class FormsExtraL10NTestCase (line 646) | class FormsExtraL10NTestCase(TestCase): method setUp (line 647) | def setUp(self): method tearDown (line 651) | def tearDown(self): method test_l10n (line 655) | def test_l10n(self): method test_l10n_date_changed (line 726) | def test_l10n_date_changed(self): method test_l10n_invalid_date_in (line 780) | def test_l10n_invalid_date_in(self): method test_form_label_association (line 787) | def test_form_label_association(self): FILE: Django-1.5.1/tests/regressiontests/forms/tests/fields.py function fix_os_paths (line 42) | def fix_os_paths(x): class FieldsTests (line 53) | class FieldsTests(SimpleTestCase): method test_field_sets_widget_is_required (line 55) | def test_field_sets_widget_is_required(self): method test_charfield_1 (line 61) | def test_charfield_1(self): method test_charfield_2 (line 71) | def test_charfield_2(self): method test_charfield_3 (line 81) | def test_charfield_3(self): method test_charfield_4 (line 89) | def test_charfield_4(self): method test_charfield_5 (line 98) | def test_charfield_5(self): method test_charfield_widget_attrs (line 107) | def test_charfield_widget_attrs(self): method test_integerfield_1 (line 126) | def test_integerfield_1(self): method test_integerfield_2 (line 143) | def test_integerfield_2(self): method test_integerfield_3 (line 160) | def test_integerfield_3(self): method test_integerfield_4 (line 171) | def test_integerfield_4(self): method test_integerfield_5 (line 182) | def test_integerfield_5(self): method test_floatfield_1 (line 197) | def test_floatfield_1(self): method test_floatfield_2 (line 215) | def test_floatfield_2(self): method test_floatfield_3 (line 223) | def test_floatfield_3(self): method test_decimalfield_1 (line 234) | def test_decimalfield_1(self): method test_decimalfield_2 (line 269) | def test_decimalfield_2(self): method test_decimalfield_3 (line 279) | def test_decimalfield_3(self): method test_decimalfield_4 (line 292) | def test_decimalfield_4(self): method test_decimalfield_5 (line 296) | def test_decimalfield_5(self): method test_decimalfield_6 (line 307) | def test_decimalfield_6(self): method test_datefield_1 (line 314) | def test_datefield_1(self): method test_datefield_2 (line 333) | def test_datefield_2(self): method test_datefield_3 (line 340) | def test_datefield_3(self): method test_datefield_4 (line 349) | def test_datefield_4(self): method test_datefield_5 (line 360) | def test_datefield_5(self): method test_timefield_1 (line 367) | def test_timefield_1(self): method test_timefield_2 (line 376) | def test_timefield_2(self): method test_timefield_3 (line 384) | def test_timefield_3(self): method test_datetimefield_1 (line 393) | def test_datetimefield_1(self): method test_datetimefield_2 (line 418) | def test_datetimefield_2(self): method test_datetimefield_3 (line 427) | def test_datetimefield_3(self): method test_datetimefield_4 (line 434) | def test_datetimefield_4(self): method test_datetimefield_5 (line 446) | def test_datetimefield_5(self): method test_regexfield_1 (line 451) | def test_regexfield_1(self): method test_regexfield_2 (line 460) | def test_regexfield_2(self): method test_regexfield_3 (line 467) | def test_regexfield_3(self): method test_regexfield_4 (line 475) | def test_regexfield_4(self): method test_regexfield_5 (line 481) | def test_regexfield_5(self): method test_regexfield_6 (line 490) | def test_regexfield_6(self): method test_change_regex_after_init (line 498) | def test_change_regex_after_init(self): method test_emailfield_1 (line 507) | def test_emailfield_1(self): method test_email_regexp_for_performance (line 516) | def test_email_regexp_for_performance(self): method test_emailfield_not_required (line 523) | def test_emailfield_not_required(self): method test_emailfield_min_max_length (line 531) | def test_emailfield_min_max_length(self): method test_filefield_1 (line 539) | def test_filefield_1(self): method test_filefield_2 (line 557) | def test_filefield_2(self): method test_filefield_3 (line 564) | def test_filefield_3(self): method test_urlfield_1 (line 571) | def test_urlfield_1(self): method test_url_regex_ticket11198 (line 601) | def test_url_regex_ticket11198(self): method test_urlfield_2 (line 610) | def test_urlfield_2(self): method test_urlfield_5 (line 622) | def test_urlfield_5(self): method test_urlfield_6 (line 628) | def test_urlfield_6(self): method test_urlfield_7 (line 634) | def test_urlfield_7(self): method test_urlfield_8 (line 639) | def test_urlfield_8(self): method test_urlfield_9 (line 644) | def test_urlfield_9(self): method test_urlfield_10 (line 664) | def test_urlfield_10(self): method test_urlfield_not_string (line 676) | def test_urlfield_not_string(self): method test_booleanfield_1 (line 682) | def test_booleanfield_1(self): method test_booleanfield_2 (line 694) | def test_booleanfield_2(self): method test_boolean_picklable (line 709) | def test_boolean_picklable(self): method test_choicefield_1 (line 714) | def test_choicefield_1(self): method test_choicefield_2 (line 722) | def test_choicefield_2(self): method test_choicefield_3 (line 730) | def test_choicefield_3(self): method test_choicefield_4 (line 735) | def test_choicefield_4(self): method test_typedchoicefield_1 (line 749) | def test_typedchoicefield_1(self): method test_typedchoicefield_2 (line 754) | def test_typedchoicefield_2(self): method test_typedchoicefield_3 (line 759) | def test_typedchoicefield_3(self): method test_typedchoicefield_4 (line 764) | def test_typedchoicefield_4(self): method test_typedchoicefield_5 (line 772) | def test_typedchoicefield_5(self): method test_typedchoicefield_6 (line 778) | def test_typedchoicefield_6(self): method test_nullbooleanfield_1 (line 784) | def test_nullbooleanfield_1(self): method test_nullbooleanfield_2 (line 797) | def test_nullbooleanfield_2(self): method test_nullbooleanfield_3 (line 805) | def test_nullbooleanfield_3(self): method test_nullbooleanfield_4 (line 814) | def test_nullbooleanfield_4(self): method test_multiplechoicefield_1 (line 830) | def test_multiplechoicefield_1(self): method test_multiplechoicefield_2 (line 844) | def test_multiplechoicefield_2(self): method test_multiplechoicefield_3 (line 858) | def test_multiplechoicefield_3(self): method test_typedmultiplechoicefield_1 (line 873) | def test_typedmultiplechoicefield_1(self): method test_typedmultiplechoicefield_2 (line 878) | def test_typedmultiplechoicefield_2(self): method test_typedmultiplechoicefield_3 (line 883) | def test_typedmultiplechoicefield_3(self): method test_typedmultiplechoicefield_4 (line 888) | def test_typedmultiplechoicefield_4(self): method test_typedmultiplechoicefield_5 (line 893) | def test_typedmultiplechoicefield_5(self): method test_typedmultiplechoicefield_6 (line 901) | def test_typedmultiplechoicefield_6(self): method test_typedmultiplechoicefield_7 (line 906) | def test_typedmultiplechoicefield_7(self): method test_combofield_1 (line 913) | def test_combofield_1(self): method test_combofield_2 (line 921) | def test_combofield_2(self): method test_filepathfield_1 (line 931) | def test_filepathfield_1(self): method test_filepathfield_2 (line 936) | def test_filepathfield_2(self): method test_filepathfield_3 (line 957) | def test_filepathfield_3(self): method test_filepathfield_4 (line 975) | def test_filepathfield_4(self): method test_filepathfield_folders (line 995) | def test_filepathfield_folders(self): method test_splitdatetimefield_1 (line 1024) | def test_splitdatetimefield_1(self): method test_splitdatetimefield_2 (line 1036) | def test_splitdatetimefield_2(self): FILE: Django-1.5.1/tests/regressiontests/forms/tests/forms.py class Person (line 17) | class Person(Form): class PersonNew (line 23) | class PersonNew(Form): class FormsTestCase (line 29) | class FormsTestCase(TestCase): method test_form (line 34) | def test_form(self): method test_empty_dict (line 78) | def test_empty_dict(self): method test_unbound_form (line 103) | def test_unbound_form(self): method test_unicode_values (line 129) | def test_unicode_values(self): method test_cleaned_data_only_fields (line 151) | def test_cleaned_data_only_fields(self): method test_optional_data (line 163) | def test_optional_data(self): method test_auto_id (line 194) | def test_auto_id(self): method test_auto_id_true (line 210) | def test_auto_id_true(self): method test_auto_id_false (line 218) | def test_auto_id_false(self): method test_id_on_field (line 226) | def test_id_on_field(self): method test_auto_id_on_form_and_field (line 234) | def test_auto_id_on_form_and_field(self): method test_various_boolean_values (line 242) | def test_various_boolean_values(self): method test_widget_output (line 274) | def test_widget_output(self): method test_forms_with_choices (line 306) | def test_forms_with_choices(self): method test_forms_with_radio (line 384) | def test_forms_with_radio(self): method test_form_with_iterable_boundfield (line 434) | def test_form_with_iterable_boundfield(self): method test_form_with_noniterable_boundfield (line 448) | def test_form_with_noniterable_boundfield(self): method test_forms_with_multiple_choice (line 456) | def test_forms_with_multiple_choice(self): method test_hidden_data (line 482) | def test_hidden_data(self): method test_mulitple_choice_checkbox (line 505) | def test_mulitple_choice_checkbox(self): method test_checkbox_auto_id (line 527) | def test_checkbox_auto_id(self): method test_multiple_choice_list_data (line 541) | def test_multiple_choice_list_data(self): method test_multiple_hidden (line 565) | def test_multiple_hidden(self): method test_escaping (line 592) | def test_escaping(self): method test_validating_multiple_fields (line 614) | def test_validating_multiple_fields(self): method test_dynamic_construction (line 690) | def test_dynamic_construction(self): method test_validators_independence (line 811) | def test_validators_independence(self): method test_hidden_widget (line 824) | def test_hidden_widget(self): method test_field_order (line 886) | def test_field_order(self): method test_form_html_attributes (line 920) | def test_form_html_attributes(self): method test_specifying_labels (line 948) | def test_specifying_labels(self): method test_label_suffix (line 1015) | def test_label_suffix(self): method test_initial_data (line 1037) | def test_initial_data(self): method test_dynamic_initial_data (line 1070) | def test_dynamic_initial_data(self): method test_callable_initial_data (line 1116) | def test_callable_initial_data(self): method test_boundfield_values (line 1204) | def test_boundfield_values(self): method test_help_text (line 1219) | def test_help_text(self): method test_subclassing_forms (line 1256) | def test_subclassing_forms(self): method test_forms_with_prefixes (line 1298) | def test_forms_with_prefixes(self): method test_forms_with_null_boolean (line 1407) | def test_forms_with_null_boolean(self): method test_forms_with_file_fields (line 1451) | def test_forms_with_file_fields(self): method test_basic_processing_in_view (line 1476) | def test_basic_processing_in_view(self): method test_templates_with_forms (line 1523) | def test_templates_with_forms(self): method test_empty_permitted (line 1663) | def test_empty_permitted(self): method test_extracting_hidden_and_visible (line 1709) | def test_extracting_hidden_and_visible(self): method test_hidden_initial_gets_id (line 1719) | def test_hidden_initial_gets_id(self): method test_error_html_required_html_classes (line 1725) | def test_error_html_required_html_classes(self): method test_label_split_datetime_not_displayed (line 1765) | def test_label_split_datetime_not_displayed(self): method test_multivalue_field_validation (line 1772) | def test_multivalue_field_validation(self): FILE: Django-1.5.1/tests/regressiontests/forms/tests/formsets.py class Choice (line 11) | class Choice(Form): class FavoriteDrinkForm (line 21) | class FavoriteDrinkForm(Form): class BaseFavoriteDrinksFormSet (line 25) | class BaseFavoriteDrinksFormSet(BaseFormSet): method clean (line 26) | def clean(self): class EmptyFsetWontValidate (line 36) | class EmptyFsetWontValidate(BaseFormSet): method clean (line 37) | def clean(self): class FormsFormsetTestCase (line 48) | class FormsFormsetTestCase(TestCase): method test_basic_formset (line 49) | def test_basic_formset(self): method test_formset_validation (line 86) | def test_formset_validation(self): method test_formset_has_changed (line 102) | def test_formset_has_changed(self): method test_formset_initial_data (line 127) | def test_formset_initial_data(self): method test_second_form_partially_filled (line 160) | def test_second_form_partially_filled(self): method test_delete_prefilled_data (line 181) | def test_delete_prefilled_data(self): method test_displaying_more_than_one_blank_form (line 200) | def test_displaying_more_than_one_blank_form(self): method test_single_form_completed (line 239) | def test_single_form_completed(self): method test_second_form_partially_filled_2 (line 259) | def test_second_form_partially_filled_2(self): method test_more_initial_data (line 279) | def test_more_initial_data(self): method test_formset_with_deletion (line 318) | def test_formset_with_deletion(self): method test_formsets_with_ordering (line 411) | def test_formsets_with_ordering(self): method test_empty_ordered_fields (line 468) | def test_empty_ordered_fields(self): method test_ordering_blank_fieldsets (line 505) | def test_ordering_blank_fieldsets(self): method test_formset_with_ordering_and_deletion (line 524) | def test_formset_with_ordering_and_deletion(self): method test_invalid_deleted_form_with_ordering (line 595) | def test_invalid_deleted_form_with_ordering(self): method test_clean_hook (line 615) | def test_clean_hook(self): method test_limiting_max_forms (line 653) | def test_limiting_max_forms(self): method test_max_num_with_initial_data (line 702) | def test_max_num_with_initial_data(self): method test_max_num_zero (line 722) | def test_max_num_zero(self): method test_more_initial_than_max_num (line 739) | def test_more_initial_than_max_num(self): method test_regression_6926 (line 773) | def test_regression_6926(self): method test_regression_12878 (line 791) | def test_regression_12878(self): method test_formset_iteration (line 806) | def test_formset_iteration(self): method test_formset_nonzero (line 841) | def test_formset_nonzero(self): method test_formset_error_class (line 852) | def test_formset_error_class(self): method test_formset_calls_forms_is_valid (line 860) | def test_formset_calls_forms_is_valid(self): method test_hard_limit_on_instantiated_forms (line 881) | def test_hard_limit_on_instantiated_forms(self): method test_increase_hard_limit (line 910) | def test_increase_hard_limit(self): class Choice (line 948) | class Choice(Form): class FormsetAsFooTests (line 954) | class FormsetAsFooTests(TestCase): method test_as_table (line 955) | def test_as_table(self): method test_as_p (line 961) | def test_as_p(self): method test_as_ul (line 967) | def test_as_ul(self): class ArticleForm (line 975) | class ArticleForm(Form): class TestIsBoundBehavior (line 981) | class TestIsBoundBehavior(TestCase): method test_no_data_raises_validation_error (line 982) | def test_no_data_raises_validation_error(self): method test_with_management_data_attrs_work_fine (line 985) | def test_with_management_data_attrs_work_fine(self): method test_form_errors_are_cought_by_formset (line 1000) | def test_form_errors_are_cought_by_formset(self): method test_empty_forms_are_unbound (line 1013) | def test_empty_forms_are_unbound(self): class TestEmptyFormSet (line 1035) | class TestEmptyFormSet(TestCase): method test_empty_formset_is_valid (line 1036) | def test_empty_formset_is_valid(self): method test_empty_formset_media (line 1044) | def test_empty_formset_media(self): method test_empty_formset_is_multipart (line 1051) | def test_empty_formset_is_multipart(self): FILE: Django-1.5.1/tests/regressiontests/forms/tests/input_formats.py class LocalizedTimeTests (line 10) | class LocalizedTimeTests(SimpleTestCase): method setUp (line 11) | def setUp(self): method tearDown (line 15) | def tearDown(self): method test_timeField (line 18) | def test_timeField(self): method test_localized_timeField (line 40) | def test_localized_timeField(self): method test_timeField_with_inputformat (line 62) | def test_timeField_with_inputformat(self): method test_localized_timeField_with_inputformat (line 85) | def test_localized_timeField_with_inputformat(self): class CustomTimeInputFormatsTests (line 110) | class CustomTimeInputFormatsTests(SimpleTestCase): method test_timeField (line 111) | def test_timeField(self): method test_localized_timeField (line 133) | def test_localized_timeField(self): method test_timeField_with_inputformat (line 155) | def test_timeField_with_inputformat(self): method test_localized_timeField_with_inputformat (line 178) | def test_localized_timeField_with_inputformat(self): class SimpleTimeFormatTests (line 202) | class SimpleTimeFormatTests(SimpleTestCase): method test_timeField (line 203) | def test_timeField(self): method test_localized_timeField (line 225) | def test_localized_timeField(self): method test_timeField_with_inputformat (line 247) | def test_timeField_with_inputformat(self): method test_localized_timeField_with_inputformat (line 269) | def test_localized_timeField_with_inputformat(self): class LocalizedDateTests (line 293) | class LocalizedDateTests(SimpleTestCase): method setUp (line 294) | def setUp(self): method tearDown (line 297) | def tearDown(self): method test_dateField (line 300) | def test_dateField(self): method test_localized_dateField (line 325) | def test_localized_dateField(self): method test_dateField_with_inputformat (line 347) | def test_dateField_with_inputformat(self): method test_localized_dateField_with_inputformat (line 371) | def test_localized_dateField_with_inputformat(self): class CustomDateInputFormatsTests (line 397) | class CustomDateInputFormatsTests(SimpleTestCase): method test_dateField (line 398) | def test_dateField(self): method test_localized_dateField (line 420) | def test_localized_dateField(self): method test_dateField_with_inputformat (line 442) | def test_dateField_with_inputformat(self): method test_localized_dateField_with_inputformat (line 465) | def test_localized_dateField_with_inputformat(self): class SimpleDateFormatTests (line 488) | class SimpleDateFormatTests(SimpleTestCase): method test_dateField (line 489) | def test_dateField(self): method test_localized_dateField (line 511) | def test_localized_dateField(self): method test_dateField_with_inputformat (line 533) | def test_dateField_with_inputformat(self): method test_localized_dateField_with_inputformat (line 555) | def test_localized_dateField_with_inputformat(self): class LocalizedDateTimeTests (line 579) | class LocalizedDateTimeTests(SimpleTestCase): method setUp (line 580) | def setUp(self): method tearDown (line 583) | def tearDown(self): method test_dateTimeField (line 586) | def test_dateTimeField(self): method test_localized_dateTimeField (line 611) | def test_localized_dateTimeField(self): method test_dateTimeField_with_inputformat (line 633) | def test_dateTimeField_with_inputformat(self): method test_localized_dateTimeField_with_inputformat (line 657) | def test_localized_dateTimeField_with_inputformat(self): class CustomDateTimeInputFormatsTests (line 683) | class CustomDateTimeInputFormatsTests(SimpleTestCase): method test_dateTimeField (line 684) | def test_dateTimeField(self): method test_localized_dateTimeField (line 706) | def test_localized_dateTimeField(self): method test_dateTimeField_with_inputformat (line 728) | def test_dateTimeField_with_inputformat(self): method test_localized_dateTimeField_with_inputformat (line 751) | def test_localized_dateTimeField_with_inputformat(self): class SimpleDateTimeFormatTests (line 774) | class SimpleDateTimeFormatTests(SimpleTestCase): method test_dateTimeField (line 775) | def test_dateTimeField(self): method test_localized_dateTimeField (line 797) | def test_localized_dateTimeField(self): method test_dateTimeField_with_inputformat (line 819) | def test_dateTimeField_with_inputformat(self): method test_localized_dateTimeField_with_inputformat (line 841) | def test_localized_dateTimeField_with_inputformat(self): FILE: Django-1.5.1/tests/regressiontests/forms/tests/media.py class FormsMediaTestCase (line 12) | class FormsMediaTestCase(TestCase): method test_construction (line 15) | def test_construction(self): method test_media_dsl (line 44) | def test_media_dsl(self): method test_combine_media (line 74) | def test_combine_media(self): method test_media_property (line 128) | def test_media_property(self): method test_media_property_parent_references (line 155) | def test_media_property_parent_references(self): method test_media_inheritance (line 179) | def test_media_inheritance(self): method test_media_inheritance_from_property (line 219) | def test_media_inheritance_from_property(self): method test_media_inheritance_extends (line 262) | def test_media_inheritance_extends(self): method test_media_inheritance_single_type (line 288) | def test_media_inheritance_single_type(self): method test_multi_media (line 312) | def test_multi_media(self): method test_multi_widget (line 335) | def test_multi_widget(self): method test_form_media (line 377) | def test_form_media(self): class StaticFormsMediaTestCase (line 463) | class StaticFormsMediaTestCase(TestCase): method test_construction (line 466) | def test_construction(self): method test_media_dsl (line 495) | def test_media_dsl(self): method test_combine_media (line 525) | def test_combine_media(self): method test_media_property (line 579) | def test_media_property(self): method test_media_property_parent_references (line 606) | def test_media_property_parent_references(self): method test_media_inheritance (line 630) | def test_media_inheritance(self): method test_media_inheritance_from_property (line 670) | def test_media_inheritance_from_property(self): method test_media_inheritance_extends (line 713) | def test_media_inheritance_extends(self): method test_media_inheritance_single_type (line 739) | def test_media_inheritance_single_type(self): method test_multi_media (line 763) | def test_multi_media(self): method test_multi_widget (line 786) | def test_multi_widget(self): method test_form_media (line 828) | def test_form_media(self): FILE: Django-1.5.1/tests/regressiontests/forms/tests/models.py class ChoiceFieldForm (line 17) | class ChoiceFieldForm(ModelForm): class Meta (line 18) | class Meta: class OptionalMultiChoiceModelForm (line 22) | class OptionalMultiChoiceModelForm(ModelForm): class Meta (line 23) | class Meta: class FileForm (line 27) | class FileForm(Form): class TestTicket12510 (line 31) | class TestTicket12510(TestCase): method setUp (line 33) | def setUp(self): method test_choices_not_fetched_when_not_rendering (line 36) | def test_choices_not_fetched_when_not_rendering(self): class TestTicket14567 (line 43) | class TestTicket14567(TestCase): method test_empty_queryset_return (line 47) | def test_empty_queryset_return(self): class ModelFormCallableModelDefault (line 57) | class ModelFormCallableModelDefault(TestCase): method test_no_empty_option (line 58) | def test_no_empty_option(self): method test_callable_initial_value (line 66) | def test_callable_initial_value(self): method test_initial_instance_value (line 92) | def test_initial_instance_value(self): class FormsModelTestCase (line 126) | class FormsModelTestCase(TestCase): method test_unicode_filename (line 127) | def test_unicode_filename(self): method test_boundary_conditions (line 136) | def test_boundary_conditions(self): method test_formfield_initial (line 149) | def test_formfield_initial(self): class RelatedModelFormTests (line 189) | class RelatedModelFormTests(TestCase): method test_invalid_loading_order (line 190) | def test_invalid_loading_order(self): method test_valid_loading_order (line 205) | def test_valid_loading_order(self): FILE: Django-1.5.1/tests/regressiontests/forms/tests/regressions.py class FormsRegressionsTestCase (line 13) | class FormsRegressionsTestCase(TestCase): method test_class (line 14) | def test_class(self): method test_regression_3600 (line 24) | def test_regression_3600(self): method test_regression_5216 (line 40) | def test_regression_5216(self): method test_misc (line 82) | def test_misc(self): method test_xss_error_messages (line 100) | def test_xss_error_messages(self): method test_regression_14234 (line 132) | def test_regression_14234(self): FILE: Django-1.5.1/tests/regressiontests/forms/tests/util.py class FormsUtilTestCase (line 13) | class FormsUtilTestCase(TestCase): method test_flatatt (line 16) | def test_flatatt(self): method test_validation_error (line 25) | def test_validation_error(self): FILE: Django-1.5.1/tests/regressiontests/forms/tests/validators.py class TestFieldWithValidators (line 7) | class TestFieldWithValidators(TestCase): method test_all_errors_get_reported (line 8) | def test_all_errors_get_reported(self): FILE: Django-1.5.1/tests/regressiontests/forms/tests/widgets.py class FormsWidgetTestCase (line 23) | class FormsWidgetTestCase(TestCase): method test_textinput (line 27) | def test_textinput(self): method test_passwordinput (line 50) | def test_passwordinput(self): method test_hiddeninput (line 76) | def test_hiddeninput(self): method test_multiplehiddeninput (line 104) | def test_multiplehiddeninput(self): method test_fileinput (line 134) | def test_fileinput(self): method test_textarea (line 170) | def test_textarea(self): method test_checkboxinput (line 190) | def test_checkboxinput(self): method test_select (line 246) | def test_select(self): method test_nullbooleanselect (line 391) | def test_nullbooleanselect(self): method test_selectmultiple (line 426) | def test_selectmultiple(self): method test_radioselect (line 580) | def test_radioselect(self): method test_checkboxselectmultiple (line 747) | def test_checkboxselectmultiple(self): method test_multi (line 866) | def test_multi(self): method test_splitdatetime (line 897) | def test_splitdatetime(self): method test_datetimeinput (line 916) | def test_datetimeinput(self): method test_dateinput (line 938) | def test_dateinput(self): method test_timeinput (line 961) | def test_timeinput(self): method test_splithiddendatetime (line 986) | def test_splithiddendatetime(self): class NullBooleanSelectLazyForm (line 998) | class NullBooleanSelectLazyForm(Form): class FormsI18NWidgetsTestCase (line 1003) | class FormsI18NWidgetsTestCase(TestCase): method setUp (line 1004) | def setUp(self): method tearDown (line 1008) | def tearDown(self): method test_splitdatetime (line 1012) | def test_splitdatetime(self): method test_datetimeinput (line 1016) | def test_datetimeinput(self): method test_dateinput (line 1022) | def test_dateinput(self): method test_timeinput (line 1028) | def test_timeinput(self): method test_splithiddendatetime (line 1034) | def test_splithiddendatetime(self): method test_nullbooleanselect (line 1041) | def test_nullbooleanselect(self): class SelectAndTextWidget (line 1051) | class SelectAndTextWidget(MultiWidget): method __init__ (line 1055) | def __init__(self, choices=[]): method _set_choices (line 1062) | def _set_choices(self, choices): method _get_choices (line 1067) | def _get_choices(self): class WidgetTests (line 1075) | class WidgetTests(TestCase): method test_12048 (line 1076) | def test_12048(self): method test_13390 (line 1085) | def test_13390(self): class LiveWidgetTests (line 1104) | class LiveWidgetTests(AdminSeleniumWebDriverTestCase): method test_textarea_trailing_newlines (line 1107) | def test_textarea_trailing_newlines(self): class FakeFieldFile (line 1121) | class FakeFieldFile(object): method __str__ (line 1129) | def __str__(self): class ClearableFileInputTests (line 1132) | class ClearableFileInputTests(TestCase): method test_clear_input_renders (line 1133) | def test_clear_input_renders(self): method test_html_escaped (line 1144) | def test_html_escaped(self): method test_clear_input_renders_only_if_not_required (line 1167) | def test_clear_input_renders_only_if_not_required(self): method test_clear_input_renders_only_if_initial (line 1178) | def test_clear_input_renders_only_if_initial(self): method test_clear_input_checked_returns_false (line 1189) | def test_clear_input_checked_returns_false(self): method test_clear_input_checked_returns_false_only_if_not_required (line 1202) | def test_clear_input_checked_returns_false_only_if_not_required(self): FILE: Django-1.5.1/tests/regressiontests/forms/views.py class ArticleFormView (line 6) | class ArticleFormView(UpdateView): FILE: Django-1.5.1/tests/regressiontests/generic_inline_admin/admin.py class MediaInline (line 12) | class MediaInline(generic.GenericTabularInline): class EpisodeAdmin (line 16) | class EpisodeAdmin(admin.ModelAdmin): class MediaExtraInline (line 22) | class MediaExtraInline(generic.GenericTabularInline): class MediaMaxNumInline (line 27) | class MediaMaxNumInline(generic.GenericTabularInline): class PhoneNumberInline (line 33) | class PhoneNumberInline(generic.GenericTabularInline): class MediaPermanentInline (line 37) | class MediaPermanentInline(generic.GenericTabularInline): FILE: Django-1.5.1/tests/regressiontests/generic_inline_admin/models.py class Episode (line 7) | class Episode(models.Model): class Media (line 14) | class Media(models.Model): method __str__ (line 25) | def __str__(self): class EpisodeExtra (line 37) | class EpisodeExtra(Episode): class EpisodeMaxNum (line 44) | class EpisodeMaxNum(Episode): class Category (line 51) | class Category(models.Model): class PhoneNumber (line 55) | class PhoneNumber(models.Model): class Meta (line 62) | class Meta: class Contact (line 66) | class Contact(models.Model): class EpisodePermanent (line 73) | class EpisodePermanent(Episode): FILE: Django-1.5.1/tests/regressiontests/generic_inline_admin/tests.py class GenericAdminViewTest (line 21) | class GenericAdminViewTest(TestCase): method setUp (line 25) | def setUp(self): method tearDown (line 46) | def tearDown(self): method testBasicAddGet (line 50) | def testBasicAddGet(self): method testBasicEditGet (line 57) | def testBasicEditGet(self): method testBasicAddPost (line 64) | def testBasicAddPost(self): method testBasicEditPost (line 78) | def testBasicEditPost(self): method testGenericInlineFormset (line 99) | def testGenericInlineFormset(self): method testGenericInlineFormsetFactory (line 123) | def testGenericInlineFormsetFactory(self): class GenericInlineAdminParametersTest (line 134) | class GenericInlineAdminParametersTest(TestCase): method setUp (line 138) | def setUp(self): method tearDown (line 141) | def tearDown(self): method _create_object (line 144) | def _create_object(self, model): method testNoParam (line 155) | def testNoParam(self): method testExtraParam (line 165) | def testExtraParam(self): method testMaxNumParam (line 175) | def testMaxNumParam(self): class GenericInlineAdminWithUniqueTogetherTest (line 188) | class GenericInlineAdminWithUniqueTogetherTest(TestCase): method setUp (line 192) | def setUp(self): method tearDown (line 195) | def tearDown(self): method testAdd (line 198) | def testAdd(self): class NoInlineDeletionTest (line 215) | class NoInlineDeletionTest(TestCase): method test_no_deletion (line 218) | def test_no_deletion(self): class MockRequest (line 226) | class MockRequest(object): class MockSuperUser (line 229) | class MockSuperUser(object): method has_perm (line 230) | def has_perm(self, perm): class GenericInlineModelAdminTest (line 237) | class GenericInlineModelAdminTest(TestCase): method setUp (line 240) | def setUp(self): method test_get_formset_kwargs (line 243) | def test_get_formset_kwargs(self): method test_custom_form_meta_exclude_with_readonly (line 256) | def test_custom_form_meta_exclude_with_readonly(self): method test_custom_form_meta_exclude (line 283) | def test_custom_form_meta_exclude(self): FILE: Django-1.5.1/tests/regressiontests/generic_relations_regress/models.py class Link (line 12) | class Link(models.Model): method __str__ (line 17) | def __str__(self): class Place (line 21) | class Place(models.Model): method __str__ (line 25) | def __str__(self): class Restaurant (line 29) | class Restaurant(Place): method __str__ (line 30) | def __str__(self): class Address (line 34) | class Address(models.Model): method __str__ (line 43) | def __str__(self): class Person (line 47) | class Person(models.Model): method __str__ (line 52) | def __str__(self): class CharLink (line 55) | class CharLink(models.Model): class TextLink (line 60) | class TextLink(models.Model): class OddRelation1 (line 65) | class OddRelation1(models.Model): class OddRelation2 (line 69) | class OddRelation2(models.Model): class Note (line 74) | class Note(models.Model): class Contact (line 80) | class Contact(models.Model): class Organization (line 83) | class Organization(models.Model): FILE: Django-1.5.1/tests/regressiontests/generic_relations_regress/tests.py class GenericRelationTests (line 8) | class GenericRelationTests(TestCase): method test_inherited_models_content_type (line 10) | def test_inherited_models_content_type(self): method test_reverse_relation_pk (line 23) | def test_reverse_relation_pk(self): method test_charlink_delete (line 37) | def test_charlink_delete(self): method test_textlink_delete (line 42) | def test_textlink_delete(self): method test_q_object_or (line 47) | def test_q_object_or(self): FILE: Django-1.5.1/tests/regressiontests/generic_views/base.py class SimpleView (line 13) | class SimpleView(View): method get (line 17) | def get(self, request): class SimplePostView (line 21) | class SimplePostView(SimpleView): class PostOnlyView (line 25) | class PostOnlyView(View): method post (line 26) | def post(self, request): class CustomizableView (line 30) | class CustomizableView(SimpleView): function decorator (line 34) | def decorator(view): class DecoratedDispatchView (line 39) | class DecoratedDispatchView(SimpleView): method dispatch (line 42) | def dispatch(self, request, *args, **kwargs): class AboutTemplateView (line 46) | class AboutTemplateView(TemplateView): method get (line 47) | def get(self, request): method get_template_names (line 50) | def get_template_names(self): class AboutTemplateAttributeView (line 54) | class AboutTemplateAttributeView(TemplateView): method get (line 57) | def get(self, request): class InstanceView (line 61) | class InstanceView(View): method get (line 63) | def get(self, request): class ViewTest (line 67) | class ViewTest(unittest.TestCase): method _assert_simple (line 70) | def _assert_simple(self, response): method test_no_init_kwargs (line 74) | def test_no_init_kwargs(self): method test_no_init_args (line 84) | def test_no_init_args(self): method test_pathological_http_method (line 94) | def test_pathological_http_method(self): method test_get_only (line 102) | def test_get_only(self): method test_get_and_head (line 112) | def test_get_and_head(self): method test_head_no_get (line 120) | def test_head_no_get(self): method test_get_and_post (line 127) | def test_get_and_post(self): method test_invalid_keyword_argument (line 137) | def test_invalid_keyword_argument(self): method test_calling_more_than_once (line 152) | def test_calling_more_than_once(self): method test_class_attributes (line 160) | def test_class_attributes(self): method test_dispatch_decoration (line 169) | def test_dispatch_decoration(self): method test_options (line 176) | def test_options(self): method test_options_for_get_view (line 187) | def test_options_for_get_view(self): method test_options_for_get_and_post_view (line 196) | def test_options_for_get_and_post_view(self): method test_options_for_post_view (line 205) | def test_options_for_post_view(self): method _assert_allows (line 214) | def _assert_allows(self, response, *expected_methods): method test_args_kwargs_request_on_self (line 219) | def test_args_kwargs_request_on_self(self): class TemplateViewTest (line 231) | class TemplateViewTest(TestCase): method _assert_about (line 236) | def _assert_about(self, response): method test_get (line 241) | def test_get(self): method test_head (line 247) | def test_head(self): method test_get_template_attribute (line 254) | def test_get_template_attribute(self): method test_get_generic_template (line 261) | def test_get_generic_template(self): method test_template_name_required (line 268) | def test_template_name_required(self): method test_template_params (line 274) | def test_template_params(self): method test_extra_template_params (line 283) | def test_extra_template_params(self): method test_cached_views (line 293) | def test_cached_views(self): method test_content_type (line 315) | def test_content_type(self): class RedirectViewTest (line 320) | class RedirectViewTest(unittest.TestCase): method test_no_url (line 323) | def test_no_url(self): method test_permanent_redirect (line 328) | def test_permanent_redirect(self): method test_temporary_redirect (line 334) | def test_temporary_redirect(self): method test_include_args (line 340) | def test_include_args(self): method test_include_urlencoded_args (line 350) | def test_include_urlencoded_args(self): method test_parameter_substitution (line 357) | def test_parameter_substitution(self): method test_redirect_POST (line 363) | def test_redirect_POST(self): method test_redirect_HEAD (line 369) | def test_redirect_HEAD(self): method test_redirect_OPTIONS (line 375) | def test_redirect_OPTIONS(self): method test_redirect_PUT (line 381) | def test_redirect_PUT(self): method test_redirect_DELETE (line 387) | def test_redirect_DELETE(self): method test_redirect_when_meta_contains_no_query_string (line 393) | def test_redirect_when_meta_contains_no_query_string(self): class GetContextDataTest (line 400) | class GetContextDataTest(unittest.TestCase): method test_get_context_data_super (line 402) | def test_get_context_data_super(self): FILE: Django-1.5.1/tests/regressiontests/generic_views/dates.py function _make_books (line 26) | def _make_books(n, base_date): class ArchiveIndexViewTests (line 34) | class ArchiveIndexViewTests(TestCase): method test_archive_view (line 39) | def test_archive_view(self): method test_archive_view_context_object_name (line 46) | def test_archive_view_context_object_name(self): method test_empty_archive_view (line 54) | def test_empty_archive_view(self): method test_allow_empty_archive_view (line 59) | def test_allow_empty_archive_view(self): method test_archive_view_template (line 66) | def test_archive_view_template(self): method test_archive_view_template_suffix (line 73) | def test_archive_view_template_suffix(self): method test_archive_view_invalid (line 80) | def test_archive_view_invalid(self): method test_archive_view_by_month (line 83) | def test_archive_view_by_month(self): method test_paginated_archive_view (line 88) | def test_paginated_archive_view(self): method test_paginated_archive_view_does_not_load_entire_table (line 101) | def test_paginated_archive_view_does_not_load_entire_table(self): method test_no_duplicate_query (line 111) | def test_no_duplicate_query(self): method test_datetime_archive_view (line 116) | def test_datetime_archive_view(self): method test_aware_datetime_archive_view (line 123) | def test_aware_datetime_archive_view(self): method test_date_list_order (line 128) | def test_date_list_order(self): class YearArchiveViewTests (line 136) | class YearArchiveViewTests(TestCase): method test_year_view (line 140) | def test_year_view(self): method test_year_view_make_object_list (line 151) | def test_year_view_make_object_list(self): method test_year_view_empty (line 159) | def test_year_view_empty(self): method test_year_view_allow_future (line 171) | def test_year_view_allow_future(self): method test_year_view_paginated (line 186) | def test_year_view_paginated(self): method test_year_view_invalid_pattern (line 193) | def test_year_view_invalid_pattern(self): method test_no_duplicate_query (line 197) | def test_no_duplicate_query(self): method test_datetime_year_view (line 202) | def test_datetime_year_view(self): method test_aware_datetime_year_view (line 208) | def test_aware_datetime_year_view(self): method test_date_list_order (line 213) | def test_date_list_order(self): class MonthArchiveViewTests (line 220) | class MonthArchiveViewTests(TestCase): method test_month_view (line 224) | def test_month_view(self): method test_month_view_allow_empty (line 237) | def test_month_view_allow_empty(self): method test_month_view_allow_future (line 259) | def test_month_view_allow_future(self): method test_month_view_paginated (line 287) | def test_month_view_paginated(self): method test_custom_month_format (line 294) | def test_custom_month_format(self): method test_month_view_invalid_pattern (line 298) | def test_month_view_invalid_pattern(self): method test_previous_month_without_content (line 302) | def test_previous_month_without_content(self): method test_datetime_month_view (line 324) | def test_datetime_month_view(self): method test_aware_datetime_month_view (line 332) | def test_aware_datetime_month_view(self): method test_date_list_order (line 339) | def test_date_list_order(self): class WeekArchiveViewTests (line 346) | class WeekArchiveViewTests(TestCase): method test_week_view (line 350) | def test_week_view(self): method test_week_view_allow_empty (line 361) | def test_week_view_allow_empty(self): method test_week_view_allow_future (line 382) | def test_week_view_allow_future(self): method test_week_view_paginated (line 408) | def test_week_view_paginated(self): method test_week_view_invalid_pattern (line 417) | def test_week_view_invalid_pattern(self): method test_week_start_Monday (line 421) | def test_week_start_Monday(self): method test_datetime_week_view (line 431) | def test_datetime_week_view(self): method test_aware_datetime_week_view (line 437) | def test_aware_datetime_week_view(self): class DayArchiveViewTests (line 443) | class DayArchiveViewTests(TestCase): method test_day_view (line 447) | def test_day_view(self): method test_day_view_allow_empty (line 459) | def test_day_view_allow_empty(self): method test_day_view_allow_future (line 480) | def test_day_view_allow_future(self): method test_day_view_paginated (line 512) | def test_day_view_paginated(self): method test_next_prev_context (line 519) | def test_next_prev_context(self): method test_custom_month_format (line 523) | def test_custom_month_format(self): method test_day_view_invalid_pattern (line 527) | def test_day_view_invalid_pattern(self): method test_today_view (line 531) | def test_today_view(self): method test_datetime_day_view (line 538) | def test_datetime_day_view(self): method test_aware_datetime_day_view (line 545) | def test_aware_datetime_day_view(self): class DateDetailViewTests (line 561) | class DateDetailViewTests(TestCase): method test_date_detail_by_pk (line 565) | def test_date_detail_by_pk(self): method test_date_detail_by_slug (line 572) | def test_date_detail_by_slug(self): method test_date_detail_custom_month_format (line 577) | def test_date_detail_custom_month_format(self): method test_date_detail_allow_future (line 582) | def test_date_detail_allow_future(self): method test_invalid_url (line 595) | def test_invalid_url(self): method test_get_object_custom_queryset (line 598) | def test_get_object_custom_queryset(self): method test_datetime_date_detail (line 615) | def test_datetime_date_detail(self): method test_aware_datetime_date_detail (line 622) | def test_aware_datetime_date_detail(self): FILE: Django-1.5.1/tests/regressiontests/generic_views/detail.py class DetailViewTest (line 10) | class DetailViewTest(TestCase): method test_simple_object (line 14) | def test_simple_object(self): method test_detail_by_pk (line 21) | def test_detail_by_pk(self): method test_detail_by_custom_pk (line 28) | def test_detail_by_custom_pk(self): method test_detail_by_slug (line 35) | def test_detail_by_slug(self): method test_detail_by_custom_slug (line 42) | def test_detail_by_custom_slug(self): method test_verbose_name (line 49) | def test_verbose_name(self): method test_template_name (line 56) | def test_template_name(self): method test_template_name_suffix (line 63) | def test_template_name_suffix(self): method test_template_name_field (line 70) | def test_template_name_field(self): method test_context_object_name (line 77) | def test_context_object_name(self): method test_duplicated_context_object_name (line 85) | def test_duplicated_context_object_name(self): method test_invalid_url (line 92) | def test_invalid_url(self): method test_invalid_queryset (line 95) | def test_invalid_queryset(self): method test_non_model_object_with_meta (line 98) | def test_non_model_object_with_meta(self): FILE: Django-1.5.1/tests/regressiontests/generic_views/edit.py class FormMixinTests (line 15) | class FormMixinTests(TestCase): method test_initial_data (line 16) | def test_initial_data(self): class BasicFormTests (line 24) | class BasicFormTests(TestCase): method test_post_data (line 27) | def test_post_data(self): class ModelFormMixinTests (line 32) | class ModelFormMixinTests(TestCase): method test_get_form (line 33) | def test_get_form(self): class CreateViewTests (line 37) | class CreateViewTests(TestCase): method test_create (line 40) | def test_create(self): method test_create_invalid (line 55) | def test_create_invalid(self): method test_create_with_object_url (line 63) | def test_create_with_object_url(self): method test_create_with_redirect (line 71) | def test_create_with_redirect(self): method test_create_with_interpolated_redirect (line 78) | def test_create_with_interpolated_redirect(self): method test_create_with_special_properties (line 86) | def test_create_with_special_properties(self): method test_create_without_redirect (line 101) | def test_create_without_redirect(self): method test_create_restricted (line 109) | def test_create_restricted(self): class UpdateViewTests (line 116) | class UpdateViewTests(TestCase): method test_update_post (line 119) | def test_update_post(self): method test_update_put (line 139) | def test_update_put(self): method test_update_invalid (line 158) | def test_update_invalid(self): method test_update_with_object_url (line 170) | def test_update_with_object_url(self): method test_update_with_redirect (line 178) | def test_update_with_redirect(self): method test_update_with_interpolated_redirect (line 189) | def test_update_with_interpolated_redirect(self): method test_update_with_special_properties (line 201) | def test_update_with_special_properties(self): method test_update_without_redirect (line 220) | def test_update_without_redirect(self): method test_update_get_object (line 232) | def test_update_get_object(self): class DeleteViewTests (line 254) | class DeleteViewTests(TestCase): method test_delete_by_post (line 257) | def test_delete_by_post(self): method test_delete_by_delete (line 271) | def test_delete_by_delete(self): method test_delete_with_redirect (line 279) | def test_delete_with_redirect(self): method test_delete_with_special_properties (line 286) | def test_delete_with_special_properties(self): method test_delete_without_redirect (line 300) | def test_delete_without_redirect(self): FILE: Django-1.5.1/tests/regressiontests/generic_views/forms.py class AuthorForm (line 8) | class AuthorForm(forms.ModelForm): class Meta (line 12) | class Meta: class ContactForm (line 16) | class ContactForm(forms.Form): FILE: Django-1.5.1/tests/regressiontests/generic_views/list.py class ListViewTests (line 12) | class ListViewTests(TestCase): method test_items (line 16) | def test_items(self): method test_queryset (line 22) | def test_queryset(self): method test_paginated_queryset (line 33) | def test_paginated_queryset(self): method test_paginated_queryset_shortdata (line 46) | def test_paginated_queryset_shortdata(self): method test_paginated_get_page_by_query_string (line 57) | def test_paginated_get_page_by_query_string(self): method test_paginated_get_last_page_by_query_string (line 67) | def test_paginated_get_last_page_by_query_string(self): method test_paginated_get_page_by_urlvar (line 76) | def test_paginated_get_page_by_urlvar(self): method test_paginated_page_out_of_range (line 86) | def test_paginated_page_out_of_range(self): method test_paginated_invalid_page (line 91) | def test_paginated_invalid_page(self): method test_paginated_custom_paginator_class (line 96) | def test_paginated_custom_paginator_class(self): method test_paginated_custom_page_kwarg (line 104) | def test_paginated_custom_page_kwarg(self): method test_paginated_custom_paginator_constructor (line 114) | def test_paginated_custom_paginator_constructor(self): method test_paginated_non_queryset (line 121) | def test_paginated_non_queryset(self): method test_verbose_name (line 126) | def test_verbose_name(self): method test_allow_empty_false (line 136) | def test_allow_empty_false(self): method test_template_name (line 143) | def test_template_name(self): method test_template_name_suffix (line 150) | def test_template_name_suffix(self): method test_context_object_name (line 157) | def test_context_object_name(self): method test_duplicate_context_object_name (line 165) | def test_duplicate_context_object_name(self): method test_missing_items (line 173) | def test_missing_items(self): method test_paginated_list_view_does_not_load_entire_table (line 176) | def test_paginated_list_view_does_not_load_entire_table(self): method test_paginated_list_view_returns_useful_message_on_invalid_page (line 187) | def test_paginated_list_view_returns_useful_message_on_invalid_page(se... method _make_authors (line 196) | def _make_authors(self, n): FILE: Django-1.5.1/tests/regressiontests/generic_views/models.py class Artist (line 7) | class Artist(models.Model): class Meta (line 10) | class Meta: method __str__ (line 15) | def __str__(self): method get_absolute_url (line 18) | def get_absolute_url(self): class Author (line 22) | class Author(models.Model): class Meta (line 26) | class Meta: method __str__ (line 29) | def __str__(self): class Book (line 33) | class Book(models.Model): class Meta (line 40) | class Meta: method __str__ (line 43) | def __str__(self): class Page (line 46) | class Page(models.Model): class BookSigning (line 50) | class BookSigning(models.Model): FILE: Django-1.5.1/tests/regressiontests/generic_views/views.py class CustomTemplateView (line 13) | class CustomTemplateView(generic.TemplateView): method get_context_data (line 16) | def get_context_data(self, **kwargs): class ObjectDetail (line 22) | class ObjectDetail(generic.DetailView): method get_object (line 25) | def get_object(self): class ArtistDetail (line 29) | class ArtistDetail(generic.DetailView): class AuthorDetail (line 33) | class AuthorDetail(generic.DetailView): class PageDetail (line 37) | class PageDetail(generic.DetailView): class DictList (line 42) | class DictList(generic.ListView): class ArtistList (line 51) | class ArtistList(generic.ListView): class AuthorList (line 56) | class AuthorList(generic.ListView): class CustomPaginator (line 60) | class CustomPaginator(Paginator): method __init__ (line 61) | def __init__(self, queryset, page_size, orphans=0, allow_empty_first_p... class AuthorListCustomPaginator (line 68) | class AuthorListCustomPaginator(AuthorList): method get_paginator (line 71) | def get_paginator(self, queryset, page_size, orphans=0, allow_empty_fi... class ContactView (line 79) | class ContactView(generic.FormView): class ArtistCreate (line 85) | class ArtistCreate(generic.CreateView): class NaiveAuthorCreate (line 89) | class NaiveAuthorCreate(generic.CreateView): class AuthorCreate (line 93) | class AuthorCreate(generic.CreateView): class SpecializedAuthorCreate (line 98) | class SpecializedAuthorCreate(generic.CreateView): method get_success_url (line 104) | def get_success_url(self): class AuthorCreateRestricted (line 108) | class AuthorCreateRestricted(AuthorCreate): class ArtistUpdate (line 112) | class ArtistUpdate(generic.UpdateView): class NaiveAuthorUpdate (line 116) | class NaiveAuthorUpdate(generic.UpdateView): class AuthorUpdate (line 120) | class AuthorUpdate(generic.UpdateView): class OneAuthorUpdate (line 125) | class OneAuthorUpdate(generic.UpdateView): method get_object (line 128) | def get_object(self): class SpecializedAuthorUpdate (line 132) | class SpecializedAuthorUpdate(generic.UpdateView): method get_success_url (line 138) | def get_success_url(self): class NaiveAuthorDelete (line 142) | class NaiveAuthorDelete(generic.DeleteView): class AuthorDelete (line 146) | class AuthorDelete(generic.DeleteView): class SpecializedAuthorDelete (line 151) | class SpecializedAuthorDelete(generic.DeleteView): method get_success_url (line 156) | def get_success_url(self): class BookConfig (line 160) | class BookConfig(object): class BookArchive (line 164) | class BookArchive(BookConfig, generic.ArchiveIndexView): class BookYearArchive (line 167) | class BookYearArchive(BookConfig, generic.YearArchiveView): class BookMonthArchive (line 170) | class BookMonthArchive(BookConfig, generic.MonthArchiveView): class BookWeekArchive (line 173) | class BookWeekArchive(BookConfig, generic.WeekArchiveView): class BookDayArchive (line 176) | class BookDayArchive(BookConfig, generic.DayArchiveView): class BookTodayArchive (line 179) | class BookTodayArchive(BookConfig, generic.TodayArchiveView): class BookDetail (line 182) | class BookDetail(BookConfig, generic.DateDetailView): class AuthorGetQuerySetFormView (line 185) | class AuthorGetQuerySetFormView(generic.edit.ModelFormMixin): method get_queryset (line 186) | def get_queryset(self): class BookDetailGetObjectCustomQueryset (line 189) | class BookDetailGetObjectCustomQueryset(BookDetail): method get_object (line 190) | def get_object(self, queryset=None): class CustomContextView (line 194) | class CustomContextView(generic.detail.SingleObjectMixin, generic.View): method get_object (line 198) | def get_object(self): method get_context_data (line 201) | def get_context_data(self, **kwargs): method get_context_object_name (line 206) | def get_context_object_name(self, obj): class BookSigningConfig (line 209) | class BookSigningConfig(object): method get_template_names (line 213) | def get_template_names(self): class BookSigningArchive (line 216) | class BookSigningArchive(BookSigningConfig, generic.ArchiveIndexView): class BookSigningYearArchive (line 219) | class BookSigningYearArchive(BookSigningConfig, generic.YearArchiveView): class BookSigningMonthArchive (line 222) | class BookSigningMonthArchive(BookSigningConfig, generic.MonthArchiveView): class BookSigningWeekArchive (line 225) | class BookSigningWeekArchive(BookSigningConfig, generic.WeekArchiveView): class BookSigningDayArchive (line 228) | class BookSigningDayArchive(BookSigningConfig, generic.DayArchiveView): class BookSigningTodayArchive (line 231) | class BookSigningTodayArchive(BookSigningConfig, generic.TodayArchiveView): class BookSigningDetail (line 234) | class BookSigningDetail(BookSigningConfig, generic.DateDetailView): class NonModel (line 238) | class NonModel(object): class NonModelDetail (line 244) | class NonModelDetail(generic.DetailView): method get_object (line 249) | def get_object(self, queryset=None): FILE: Django-1.5.1/tests/regressiontests/get_or_create_regress/models.py class Publisher (line 4) | class Publisher(models.Model): class Author (line 7) | class Author(models.Model): class Book (line 10) | class Book(models.Model): FILE: Django-1.5.1/tests/regressiontests/get_or_create_regress/tests.py class GetOrCreateTests (line 8) | class GetOrCreateTests(TestCase): method test_related (line 9) | def test_related(self): FILE: Django-1.5.1/tests/regressiontests/handlers/tests.py class HandlerTests (line 8) | class HandlerTests(TestCase): method test_lock_safety (line 12) | def test_lock_safety(self): method test_bad_path_info (line 24) | def test_bad_path_info(self): class SignalsTests (line 33) | class SignalsTests(TestCase): method setUp (line 36) | def setUp(self): method tearDown (line 41) | def tearDown(self): method register_started (line 45) | def register_started(self, **kwargs): method register_finished (line 48) | def register_finished(self, **kwargs): method test_request_signals (line 51) | def test_request_signals(self): method test_request_signals_streaming_response (line 56) | def test_request_signals_streaming_response(self): FILE: Django-1.5.1/tests/regressiontests/http_utils/tests.py class HttpUtilTests (line 8) | class HttpUtilTests(TestCase): method test_conditional_content_removal (line 10) | def test_conditional_content_removal(self): FILE: Django-1.5.1/tests/regressiontests/httpwrappers/tests.py class QueryDictTests (line 22) | class QueryDictTests(unittest.TestCase): method test_missing_key (line 23) | def test_missing_key(self): method test_immutability (line 27) | def test_immutability(self): method test_immutable_get_with_default (line 37) | def test_immutable_get_with_default(self): method test_immutable_basic_operations (line 41) | def test_immutable_basic_operations(self): method test_single_key_value (line 54) | def test_single_key_value(self): method test_urlencode (line 91) | def test_urlencode(self): method test_mutable_copy (line 101) | def test_mutable_copy(self): method test_mutable_delete (line 108) | def test_mutable_delete(self): method test_basic_mutable_operations (line 114) | def test_basic_mutable_operations(self): method test_multiple_keys (line 157) | def test_multiple_keys(self): method test_invalid_input_encoding (line 194) | def test_invalid_input_encoding(self): method test_pickle (line 206) | def test_pickle(self): method test_update_from_querydict (line 217) | def test_update_from_querydict(self): method test_non_default_encoding (line 224) | def test_non_default_encoding(self): class HttpResponseTests (line 237) | class HttpResponseTests(unittest.TestCase): method test_headers_type (line 239) | def test_headers_type(self): method test_newlines_in_headers (line 289) | def test_newlines_in_headers(self): method test_dict_behavior (line 295) | def test_dict_behavior(self): method test_non_string_content (line 302) | def test_non_string_content(self): method test_iter_content (line 312) | def test_iter_content(self): method test_iterator_isnt_rewound (line 373) | def test_iterator_isnt_rewound(self): method test_file_interface (line 380) | def test_file_interface(self): method test_unsafe_redirect (line 392) | def test_unsafe_redirect(self): class HttpResponseSubclassesTests (line 404) | class HttpResponseSubclassesTests(TestCase): method test_redirect (line 405) | def test_redirect(self): method test_not_modified (line 414) | def test_not_modified(self): method test_not_allowed (line 422) | def test_not_allowed(self): class StreamingHttpResponseTests (line 431) | class StreamingHttpResponseTests(TestCase): method test_streaming_response (line 432) | def test_streaming_response(self): class FileCloseTests (line 484) | class FileCloseTests(TestCase): method test_response (line 485) | def test_response(self): method test_streaming_response (line 518) | def test_streaming_response(self): class CookieTests (line 540) | class CookieTests(unittest.TestCase): method test_encode (line 541) | def test_encode(self): method test_decode (line 550) | def test_decode(self): method test_decode_2 (line 560) | def test_decode_2(self): method test_nonstandard_keys (line 570) | def test_nonstandard_keys(self): method test_repeated_nonstandard_keys (line 576) | def test_repeated_nonstandard_keys(self): method test_httponly_after_load (line 582) | def test_httponly_after_load(self): method test_load_dict (line 591) | def test_load_dict(self): FILE: Django-1.5.1/tests/regressiontests/i18n/commands/compilation.py class MessageCompilationTests (line 13) | class MessageCompilationTests(TestCase): method setUp (line 15) | def setUp(self): method tearDown (line 18) | def tearDown(self): class PoFileTests (line 22) | class PoFileTests(MessageCompilationTests): method test_bom_rejection (line 27) | def test_bom_rejection(self): class PoFileContentsTests (line 35) | class PoFileContentsTests(MessageCompilationTests): method setUp (line 41) | def setUp(self): method test_percent_symbol_in_po_file (line 45) | def test_percent_symbol_in_po_file(self): class PercentRenderingTests (line 51) | class PercentRenderingTests(MessageCompilationTests): method test_percent_symbol_escaping (line 59) | def test_percent_symbol_escaping(self): FILE: Django-1.5.1/tests/regressiontests/i18n/commands/extraction.py class ExtractorTests (line 17) | class ExtractorTests(TestCase): method setUp (line 21) | def setUp(self): method _rmrf (line 25) | def _rmrf(self, dname): method tearDown (line 30) | def tearDown(self): method assertMsgId (line 38) | def assertMsgId(self, msgid, s, use_quotes=True): method assertNotMsgId (line 47) | def assertNotMsgId(self, msgid, s, use_quotes=True): class BasicExtractorTests (line 54) | class BasicExtractorTests(ExtractorTests): method test_comments_extractor (line 56) | def test_comments_extractor(self): method test_templatize_trans_tag (line 83) | def test_templatize_trans_tag(self): method test_templatize_blocktrans_tag (line 99) | def test_templatize_blocktrans_tag(self): method test_extraction_error (line 110) | def test_extraction_error(self): method test_extraction_warning (line 123) | def test_extraction_warning(self): method test_template_message_context_extractor (line 131) | def test_template_message_context_extractor(self): method test_context_in_single_quotes (line 162) | def test_context_in_single_quotes(self): class JavascriptExtractorTests (line 177) | class JavascriptExtractorTests(ExtractorTests): method test_javascript_literals (line 181) | def test_javascript_literals(self): class IgnoredExtractorTests (line 201) | class IgnoredExtractorTests(ExtractorTests): method test_ignore_option (line 203) | def test_ignore_option(self): class SymlinkExtractorTests (line 218) | class SymlinkExtractorTests(ExtractorTests): method setUp (line 220) | def setUp(self): method tearDown (line 225) | def tearDown(self): method test_symlink (line 234) | def test_symlink(self): class CopyPluralFormsExtractorTests (line 249) | class CopyPluralFormsExtractorTests(ExtractorTests): method test_copy_plural_forms (line 251) | def test_copy_plural_forms(self): class NoWrapExtractorTests (line 260) | class NoWrapExtractorTests(ExtractorTests): method test_no_wrap_enabled (line 262) | def test_no_wrap_enabled(self): method test_no_wrap_disabled (line 270) | def test_no_wrap_disabled(self): class NoLocationExtractorTests (line 279) | class NoLocationExtractorTests(ExtractorTests): method test_no_location_enabled (line 281) | def test_no_location_enabled(self): method test_no_location_disabled (line 289) | def test_no_location_disabled(self): FILE: Django-1.5.1/tests/regressiontests/i18n/commands/javascript.js function mfunc (line 17) | function mfunc() { FILE: Django-1.5.1/tests/regressiontests/i18n/commands/tests.py function find_command (line 10) | def find_command(cmd, path=None, pathext=None): FILE: Django-1.5.1/tests/regressiontests/i18n/contenttypes/tests.py class ContentTypeTests (line 25) | class ContentTypeTests(TestCase): method test_verbose_name (line 26) | def test_verbose_name(self): method test_field_override (line 33) | def test_field_override(self): FILE: Django-1.5.1/tests/regressiontests/i18n/forms.py class I18nForm (line 9) | class I18nForm(forms.Form): class SelectDateForm (line 17) | class SelectDateForm(forms.Form): class CompanyForm (line 20) | class CompanyForm(forms.ModelForm): class Meta (line 25) | class Meta: FILE: Django-1.5.1/tests/regressiontests/i18n/models.py class TestModel (line 7) | class TestModel(models.Model): class Company (line 10) | class Company(models.Model): class Meta (line 16) | class Meta: FILE: Django-1.5.1/tests/regressiontests/i18n/patterns/tests.py class URLTestCaseBase (line 33) | class URLTestCaseBase(TestCase): method setUp (line 39) | def setUp(self): method tearDown (line 43) | def tearDown(self): class URLPrefixTests (line 48) | class URLPrefixTests(URLTestCaseBase): method test_not_prefixed (line 52) | def test_not_prefixed(self): method test_prefixed (line 58) | def test_prefixed(self): method test_invalid_prefix_use (line 65) | def test_invalid_prefix_use(self): class URLDisabledTests (line 69) | class URLDisabledTests(URLTestCaseBase): method test_prefixed_i18n_disabled (line 73) | def test_prefixed_i18n_disabled(self): class PathUnusedTests (line 80) | class PathUnusedTests(URLTestCaseBase): method test_no_lang_activate (line 87) | def test_no_lang_activate(self): class URLTranslationTests (line 94) | class URLTranslationTests(URLTestCaseBase): method test_no_prefix_translated (line 99) | def test_no_prefix_translated(self): method test_users_url (line 112) | def test_users_url(self): class URLNamespaceTests (line 124) | class URLNamespaceTests(URLTestCaseBase): method test_account_register (line 128) | def test_account_register(self): class URLRedirectTests (line 136) | class URLRedirectTests(URLTestCaseBase): method test_no_prefix_response (line 141) | def test_no_prefix_response(self): method test_en_redirect (line 145) | def test_en_redirect(self): method test_en_redirect_wrong_url (line 152) | def test_en_redirect_wrong_url(self): method test_nl_redirect (line 156) | def test_nl_redirect(self): method test_nl_redirect_wrong_url (line 163) | def test_nl_redirect_wrong_url(self): method test_pt_br_redirect (line 167) | def test_pt_br_redirect(self): class URLRedirectWithoutTrailingSlashTests (line 175) | class URLRedirectWithoutTrailingSlashTests(URLTestCaseBase): method test_not_prefixed_redirect (line 180) | def test_not_prefixed_redirect(self): method test_en_redirect (line 184) | def test_en_redirect(self): class URLRedirectWithoutTrailingSlashSettingTests (line 194) | class URLRedirectWithoutTrailingSlashSettingTests(URLTestCaseBase): method test_not_prefixed_redirect (line 200) | def test_not_prefixed_redirect(self): method test_en_redirect (line 205) | def test_en_redirect(self): class URLResponseTests (line 213) | class URLResponseTests(URLTestCaseBase): method test_not_prefixed_with_prefix (line 217) | def test_not_prefixed_with_prefix(self): method test_en_url (line 221) | def test_en_url(self): method test_nl_url (line 227) | def test_nl_url(self): method test_wrong_en_prefix (line 233) | def test_wrong_en_prefix(self): method test_wrong_nl_prefix (line 237) | def test_wrong_nl_prefix(self): method test_pt_br_url (line 241) | def test_pt_br_url(self): class URLTagTests (line 248) | class URLTagTests(URLTestCaseBase): method test_strings_only (line 252) | def test_strings_only(self): method test_context (line 259) | def test_context(self): method test_args (line 267) | def test_args(self): method test_kwargs (line 274) | def test_kwargs(self): FILE: Django-1.5.1/tests/regressiontests/i18n/tests.py class TranslationTests (line 53) | class TranslationTests(TestCase): method test_override (line 55) | def test_override(self): method test_lazy_objects (line 65) | def test_lazy_objects(self): method test_lazy_pickle (line 91) | def test_lazy_pickle(self): method test_pgettext (line 98) | def test_pgettext(self): method test_template_tags_pgettext (line 108) | def test_template_tags_pgettext(self): method test_string_concat (line 222) | def test_string_concat(self): method test_safe_status (line 229) | def test_safe_status(self): method test_maclines (line 243) | def test_maclines(self): method test_to_locale (line 255) | def test_to_locale(self): method test_to_language (line 263) | def test_to_language(self): method test_bad_placeholder_1 (line 271) | def test_bad_placeholder_1(self): method test_bad_placeholder_2 (line 283) | def test_bad_placeholder_2(self): class FormattingTests (line 295) | class FormattingTests(TestCase): method setUp (line 297) | def setUp(self): method tearDown (line 318) | def tearDown(self): method test_locale_independent (line 326) | def test_locale_independent(self): method test_l10n_disabled (line 348) | def test_l10n_disabled(self): method test_false_like_locale_formats (line 414) | def test_false_like_locale_formats(self): method test_l10n_enabled (line 447) | def test_l10n_enabled(self): method test_sub_locales (line 606) | def test_sub_locales(self): method test_localized_input (line 616) | def test_localized_input(self): method test_iter_format_modules (line 639) | def test_iter_format_modules(self): method test_iter_format_modules_stability (line 651) | def test_iter_format_modules_stability(self): method test_get_format_modules_lang (line 661) | def test_get_format_modules_lang(self): method test_get_format_modules_stability (line 666) | def test_get_format_modules_stability(self): method test_localize_templatetag_and_filter (line 674) | def test_localize_templatetag_and_filter(self): class MiscTests (line 696) | class MiscTests(TestCase): method setUp (line 698) | def setUp(self): method test_parse_spec_http_header (line 701) | def test_parse_spec_http_header(self): method test_parse_literal_http_header (line 739) | def test_parse_literal_http_header(self): method test_parse_language_cookie (line 772) | def test_parse_language_cookie(self): method test_get_language_from_path_real (line 806) | def test_get_language_from_path_real(self): method test_get_language_from_path_null (line 812) | def test_get_language_from_path_null(self): method test_percent_in_translatable_block (line 819) | def test_percent_in_translatable_block(self): method test_percent_formatting_in_blocktrans (line 828) | def test_percent_formatting_in_blocktrans(self): class ResolutionOrderI18NTests (line 842) | class ResolutionOrderI18NTests(TestCase): method setUp (line 844) | def setUp(self): method tearDown (line 851) | def tearDown(self): method assertUgettext (line 854) | def assertUgettext(self, msgid, msgstr): class AppResolutionOrderI18NTests (line 859) | class AppResolutionOrderI18NTests(ResolutionOrderI18NTests): method setUp (line 861) | def setUp(self): method tearDown (line 866) | def tearDown(self): method test_app_translation (line 870) | def test_app_translation(self): class LocalePathsResolutionOrderI18NTests (line 874) | class LocalePathsResolutionOrderI18NTests(ResolutionOrderI18NTests): method test_locale_paths_translation (line 876) | def test_locale_paths_translation(self): method test_locale_paths_override_app_translation (line 879) | def test_locale_paths_override_app_translation(self): class DjangoFallbackResolutionOrderI18NTests (line 884) | class DjangoFallbackResolutionOrderI18NTests(ResolutionOrderI18NTests): method test_django_fallback (line 886) | def test_django_fallback(self): class TestModels (line 890) | class TestModels(TestCase): method test_lazy (line 891) | def test_lazy(self): method test_safestr (line 895) | def test_safestr(self): class TestLanguageInfo (line 903) | class TestLanguageInfo(TestCase): method test_localized_language_info (line 904) | def test_localized_language_info(self): class MultipleLocaleActivationTests (line 912) | class MultipleLocaleActivationTests(TestCase): method setUp (line 917) | def setUp(self): method tearDown (line 920) | def tearDown(self): method test_single_locale_activation (line 923) | def test_single_locale_activation(self): method test_multiple_locale_filter (line 934) | def test_multiple_locale_filter(self): method test_multiple_locale_filter_deactivate (line 941) | def test_multiple_locale_filter_deactivate(self): method test_multiple_locale_filter_direct_switch (line 947) | def test_multiple_locale_filter_direct_switch(self): method test_multiple_locale (line 955) | def test_multiple_locale(self): method test_multiple_locale_deactivate (line 962) | def test_multiple_locale_deactivate(self): method test_multiple_locale_direct_switch (line 968) | def test_multiple_locale_direct_switch(self): method test_multiple_locale_loadi18n (line 976) | def test_multiple_locale_loadi18n(self): method test_multiple_locale_loadi18n_deactivate (line 983) | def test_multiple_locale_loadi18n_deactivate(self): method test_multiple_locale_loadi18n_direct_switch (line 989) | def test_multiple_locale_loadi18n_direct_switch(self): method test_multiple_locale_trans (line 997) | def test_multiple_locale_trans(self): method test_multiple_locale_deactivate_trans (line 1004) | def test_multiple_locale_deactivate_trans(self): method test_multiple_locale_direct_switch_trans (line 1010) | def test_multiple_locale_direct_switch_trans(self): method test_multiple_locale_btrans (line 1018) | def test_multiple_locale_btrans(self): method test_multiple_locale_deactivate_btrans (line 1025) | def test_multiple_locale_deactivate_btrans(self): method test_multiple_locale_direct_switch_btrans (line 1031) | def test_multiple_locale_direct_switch_btrans(self): FILE: Django-1.5.1/tests/regressiontests/indexes/models.py class Article (line 5) | class Article(models.Model): class Meta (line 9) | class Meta: class IndexedArticle (line 17) | class IndexedArticle(models.Model): FILE: Django-1.5.1/tests/regressiontests/indexes/tests.py class IndexesTests (line 9) | class IndexesTests(TestCase): method test_index_together (line 10) | def test_index_together(self): method test_postgresql_text_indexes (line 17) | def test_postgresql_text_indexes(self): FILE: Django-1.5.1/tests/regressiontests/initial_sql_regress/models.py class Simple (line 8) | class Simple(models.Model): FILE: Django-1.5.1/tests/regressiontests/initial_sql_regress/tests.py class InitialSQLTests (line 9) | class InitialSQLTests(TestCase): method test_initial_sql (line 13) | def test_initial_sql(self): method test_custom_sql (line 20) | def test_custom_sql(self): FILE: Django-1.5.1/tests/regressiontests/inline_formsets/models.py class School (line 6) | class School(models.Model): class Parent (line 9) | class Parent(models.Model): class Child (line 12) | class Child(models.Model): class Poet (line 19) | class Poet(models.Model): method __str__ (line 22) | def __str__(self): class Poem (line 26) | class Poem(models.Model): method __str__ (line 30) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/inline_formsets/tests.py class DeletionTests (line 10) | class DeletionTests(TestCase): method test_deletion (line 12) | def test_deletion(self): method test_add_form_deletion_when_invalid (line 30) | def test_add_form_deletion_when_invalid(self): method test_change_form_deletion_when_invalid (line 58) | def test_change_form_deletion_when_invalid(self): method test_save_new (line 87) | def test_save_new(self): class InlineFormsetFactoryTest (line 113) | class InlineFormsetFactoryTest(TestCase): method test_inline_formset_factory (line 114) | def test_inline_formset_factory(self): method test_exception_on_unspecified_foreign_key (line 121) | def test_exception_on_unspecified_foreign_key(self): method test_fk_name_not_foreign_key_field_from_child (line 131) | def test_fk_name_not_foreign_key_field_from_child(self): method test_non_foreign_key_field (line 141) | def test_non_foreign_key_field(self): method test_any_iterable_allowed_as_argument_to_exclude (line 151) | def test_any_iterable_allowed_as_argument_to_exclude(self): FILE: Django-1.5.1/tests/regressiontests/inspectdb/models.py class People (line 4) | class People(models.Model): class Message (line 7) | class Message(models.Model): class PeopleData (line 10) | class PeopleData(models.Model): class PeopleMoreData (line 14) | class PeopleMoreData(models.Model): class DigitsInColumnName (line 18) | class DigitsInColumnName(models.Model): class SpecialColumnName (line 23) | class SpecialColumnName(models.Model): FILE: Django-1.5.1/tests/regressiontests/inspectdb/tests.py class InspectDBTestCase (line 9) | class InspectDBTestCase(TestCase): method test_stealth_table_name_filter_option (line 11) | def test_stealth_table_name_filter_option(self): method test_attribute_name_not_python_keyword (line 25) | def test_attribute_name_not_python_keyword(self): method test_digits_column_name_introspection (line 43) | def test_digits_column_name_introspection(self): method test_special_column_name_introspection (line 63) | def test_special_column_name_introspection(self): FILE: Django-1.5.1/tests/regressiontests/introspection/models.py class Reporter (line 8) | class Reporter(models.Model): class Meta (line 14) | class Meta: method __str__ (line 17) | def __str__(self): class Article (line 22) | class Article(models.Model): method __str__ (line 27) | def __str__(self): class Meta (line 30) | class Meta: FILE: Django-1.5.1/tests/regressiontests/introspection/tests.py function ignore_not_implemented (line 28) | def ignore_not_implemented(func): class IgnoreNotimplementedError (line 38) | class IgnoreNotimplementedError(type): method __new__ (line 39) | def __new__(cls, name, bases, attrs): class IntrospectionTests (line 46) | class IntrospectionTests(six.with_metaclass(IgnoreNotimplementedError, T... method test_table_names (line 47) | def test_table_names(self): method test_django_table_names (line 55) | def test_django_table_names(self): method test_django_table_names_retval_type (line 63) | def test_django_table_names_retval_type(self): method test_installed_models (line 74) | def test_installed_models(self): method test_sequence_list (line 79) | def test_sequence_list(self): method test_get_table_description_names (line 85) | def test_get_table_description_names(self): method test_get_table_description_types (line 91) | def test_get_table_description_types(self): method test_get_table_description_col_lengths (line 102) | def test_get_table_description_col_lengths(self): method test_get_table_description_nullable (line 114) | def test_get_table_description_nullable(self): method test_postgresql_real_type (line 124) | def test_postgresql_real_type(self): method test_get_relations (line 131) | def test_get_relations(self): method test_get_key_columns (line 142) | def test_get_key_columns(self): method test_get_primary_key_column (line 147) | def test_get_primary_key_column(self): method test_get_indexes (line 152) | def test_get_indexes(self): method test_get_indexes_multicol (line 157) | def test_get_indexes_multicol(self): function datatype (line 168) | def datatype(dbtype, description): FILE: Django-1.5.1/tests/regressiontests/localflavor/generic/tests.py class GenericLocalFlavorTests (line 10) | class GenericLocalFlavorTests(SimpleTestCase): method test_GenericDateField (line 11) | def test_GenericDateField(self): method test_GenericDateTimeField (line 50) | def test_GenericDateTimeField(self): FILE: Django-1.5.1/tests/regressiontests/logging_tests/logconfig.py class MyHandler (line 5) | class MyHandler(logging.Handler): method __init__ (line 6) | def __init__(self): FILE: Django-1.5.1/tests/regressiontests/logging_tests/tests.py class PatchLoggingConfigTest (line 41) | class PatchLoggingConfigTest(TestCase): method test_filter_added (line 47) | def test_filter_added(self): method test_filter_configuration (line 64) | def test_filter_configuration(self): method test_require_debug_false_filter (line 77) | def test_require_debug_false_filter(self): method test_no_patch_if_filters_key_exists (line 90) | def test_no_patch_if_filters_key_exists(self): method test_no_patch_if_no_mail_admins_handler (line 103) | def test_no_patch_if_no_mail_admins_handler(self): class DefaultLoggingTest (line 117) | class DefaultLoggingTest(TestCase): method setUp (line 118) | def setUp(self): method tearDown (line 122) | def tearDown(self): method test_django_logger (line 125) | def test_django_logger(self): class WarningLoggerTests (line 139) | class WarningLoggerTests(TestCase): method setUp (line 144) | def setUp(self): method tearDown (line 164) | def tearDown(self): method test_warnings_capture (line 172) | def test_warnings_capture(self): method test_warnings_capture_debug_false (line 177) | def test_warnings_capture_debug_false(self): class CallbackFilterTest (line 183) | class CallbackFilterTest(TestCase): method test_sense (line 184) | def test_sense(self): method test_passes_on_record (line 191) | def test_passes_on_record(self): class AdminEmailHandlerTest (line 204) | class AdminEmailHandlerTest(TestCase): method get_admin_email_handler (line 207) | def get_admin_email_handler(self, logger): method test_accepts_args (line 221) | def test_accepts_args(self): method test_accepts_args_and_request (line 252) | def test_accepts_args_and_request(self): method test_subject_accepts_newlines (line 287) | def test_subject_accepts_newlines(self): method test_truncate_subject (line 310) | def test_truncate_subject(self): class SettingsConfigTest (line 328) | class SettingsConfigTest(AdminScriptTestCase): method setUp (line 333) | def setUp(self): method tearDown (line 345) | def tearDown(self): method test_circular_dependency (line 348) | def test_circular_dependency(self): function dictConfig (line 355) | def dictConfig(config): class SettingsConfigureLogging (line 360) | class SettingsConfigureLogging(TestCase): method test_configure_initializes_logging (line 365) | def test_configure_initializes_logging(self): FILE: Django-1.5.1/tests/regressiontests/m2m_regress/models.py class SelfRefer (line 8) | class SelfRefer(models.Model): method __str__ (line 13) | def __str__(self): class Tag (line 17) | class Tag(models.Model): method __str__ (line 20) | def __str__(self): class TagCollection (line 25) | class TagCollection(Tag): method __str__ (line 28) | def __str__(self): class Entry (line 34) | class Entry(models.Model): method __str__ (line 39) | def __str__(self): class SelfReferChild (line 43) | class SelfReferChild(SelfRefer): class SelfReferChildSibling (line 46) | class SelfReferChildSibling(SelfRefer): class Line (line 50) | class Line(models.Model): class Worksheet (line 53) | class Worksheet(models.Model): class User (line 61) | class User(models.Model): class BadModelWithSplit (line 66) | class BadModelWithSplit(models.Model): method split (line 69) | def split(self): class Meta (line 72) | class Meta: class RegressionModelSplit (line 76) | class RegressionModelSplit(BadModelWithSplit): FILE: Django-1.5.1/tests/regressiontests/m2m_regress/tests.py class M2MRegressionTests (line 11) | class M2MRegressionTests(TestCase): method test_multiple_m2m (line 12) | def test_multiple_m2m(self): method test_internal_related_name_not_in_error_msg (line 35) | def test_internal_related_name_not_in_error_msg(self): method test_m2m_inheritance_symmetry (line 44) | def test_m2m_inheritance_symmetry(self): method test_m2m_pk_field_type (line 58) | def test_m2m_pk_field_type(self): method test_add_m2m_with_base_class (line 66) | def test_add_m2m_with_base_class(self): method test_manager_class_caching (line 80) | def test_manager_class_caching(self): method test_m2m_abstract_split (line 94) | def test_m2m_abstract_split(self): FILE: Django-1.5.1/tests/regressiontests/m2m_through_regress/models.py class Membership (line 10) | class Membership(models.Model): method __str__ (line 15) | def __str__(self): class UserMembership (line 20) | class UserMembership(models.Model): method __str__ (line 26) | def __str__(self): class Person (line 30) | class Person(models.Model): method __str__ (line 33) | def __str__(self): class Group (line 37) | class Group(models.Model): method __str__ (line 43) | def __str__(self): class A (line 47) | class A(models.Model): class ThroughBase (line 50) | class ThroughBase(models.Model): class Through (line 54) | class Through(ThroughBase): class B (line 57) | class B(models.Model): class Car (line 64) | class Car(models.Model): method __str__ (line 68) | def __str__(self): class Driver (line 72) | class Driver(models.Model): method __str__ (line 75) | def __str__(self): class Meta (line 78) | class Meta: class CarDriver (line 82) | class CarDriver(models.Model): method __str__ (line 86) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/m2m_through_regress/tests.py class M2MThroughTestCase (line 12) | class M2MThroughTestCase(TestCase): method test_everything (line 13) | def test_everything(self): method test_serialization (line 63) | def test_serialization(self): method test_join_trimming (line 96) | def test_join_trimming(self): class ToFieldThroughTests (line 121) | class ToFieldThroughTests(TestCase): method setUp (line 122) | def setUp(self): method test_to_field (line 135) | def test_to_field(self): method test_to_field_reverse (line 141) | def test_to_field_reverse(self): method test_to_field_clear_reverse (line 147) | def test_to_field_clear_reverse(self): method test_to_field_clear (line 152) | def test_to_field_clear(self): method test_add (line 162) | def test_add(self): method test_add_null (line 174) | def test_add_null(self): method test_add_related_null (line 179) | def test_add_related_null(self): method test_add_reverse (line 184) | def test_add_reverse(self): method test_add_null_reverse (line 196) | def test_add_null_reverse(self): method test_add_null_reverse_related (line 201) | def test_add_null_reverse_related(self): method test_remove (line 206) | def test_remove(self): method test_remove_reverse (line 215) | def test_remove_reverse(self): class ThroughLoadDataTestCase (line 225) | class ThroughLoadDataTestCase(TestCase): method test_sequence_creation (line 228) | def test_sequence_creation(self): FILE: Django-1.5.1/tests/regressiontests/mail/custombackend.py class EmailBackend (line 6) | class EmailBackend(BaseEmailBackend): method __init__ (line 8) | def __init__(self, *args, **kwargs): method send_messages (line 12) | def send_messages(self, email_messages): FILE: Django-1.5.1/tests/regressiontests/mail/tests.py class MailTests (line 25) | class MailTests(TestCase): method test_ascii (line 30) | def test_ascii(self): method test_multiple_recipients (line 38) | def test_multiple_recipients(self): method test_cc (line 46) | def test_cc(self): method test_recipients_as_tuple (line 65) | def test_recipients_as_tuple(self): method test_header_injection (line 71) | def test_header_injection(self): method test_space_continuation (line 77) | def test_space_continuation(self): method test_message_header_overrides (line 86) | def test_message_header_overrides(self): method test_from_header (line 105) | def test_from_header(self): method test_to_header (line 113) | def test_to_header(self): method test_multiple_message_call (line 131) | def test_multiple_message_call(self): method test_unicode_address_header (line 142) | def test_unicode_address_header(self): method test_unicode_headers (line 153) | def test_unicode_headers(self): method test_safe_mime_multipart (line 162) | def test_safe_mime_multipart(self): method test_encoding (line 177) | def test_encoding(self): method test_attachments (line 197) | def test_attachments(self): method test_non_ascii_attachment_filename (line 215) | def test_non_ascii_attachment_filename(self): method test_dummy_backend (line 228) | def test_dummy_backend(self): method test_arbitrary_keyword (line 236) | def test_arbitrary_keyword(self): method test_custom_backend (line 244) | def test_custom_backend(self): method test_backend_arg (line 252) | def test_backend_arg(self): method test_connection_arg (line 269) | def test_connection_arg(self): method test_dont_mangle_from_in_body (line 302) | def test_dont_mangle_from_in_body(self): method test_dont_base64_encode (line 308) | def test_dont_base64_encode(self): class BaseEmailBackendTests (line 333) | class BaseEmailBackendTests(object): method setUp (line 336) | def setUp(self): method tearDown (line 340) | def tearDown(self): method assertStartsWith (line 343) | def assertStartsWith(self, first, second): method get_mailbox_content (line 348) | def get_mailbox_content(self): method flush_mailbox (line 351) | def flush_mailbox(self): method get_the_message (line 354) | def get_the_message(self): method test_send (line 361) | def test_send(self): method test_send_unicode (line 371) | def test_send_unicode(self): method test_send_many (line 379) | def test_send_many(self): method test_send_verbose_name (line 389) | def test_send_verbose_name(self): method test_html_mail_managers (line 399) | def test_html_mail_managers(self): method test_html_mail_admins (line 414) | def test_html_mail_admins(self): method test_manager_and_admin_mail_prefix (line 431) | def test_manager_and_admin_mail_prefix(self): method test_empty_admins (line 446) | def test_empty_admins(self): method test_message_cc_header (line 456) | def test_message_cc_header(self): method test_idn_send (line 465) | def test_idn_send(self): method test_recipient_without_domain (line 485) | def test_recipient_without_domain(self): method test_close_connection (line 495) | def test_close_connection(self): class LocmemBackendTests (line 506) | class LocmemBackendTests(BaseEmailBackendTests, TestCase): method get_mailbox_content (line 509) | def get_mailbox_content(self): method flush_mailbox (line 512) | def flush_mailbox(self): method tearDown (line 515) | def tearDown(self): method test_locmem_shared_messages (line 519) | def test_locmem_shared_messages(self): method test_validate_multiline_headers (line 530) | def test_validate_multiline_headers(self): class FileBackendTests (line 536) | class FileBackendTests(BaseEmailBackendTests, TestCase): method setUp (line 539) | def setUp(self): method tearDown (line 546) | def tearDown(self): method flush_mailbox (line 550) | def flush_mailbox(self): method get_mailbox_content (line 554) | def get_mailbox_content(self): method test_file_sessions (line 562) | def test_file_sessions(self): class ConsoleBackendTests (line 593) | class ConsoleBackendTests(BaseEmailBackendTests, TestCase): method setUp (line 596) | def setUp(self): method tearDown (line 601) | def tearDown(self): method flush_mailbox (line 607) | def flush_mailbox(self): method get_mailbox_content (line 610) | def get_mailbox_content(self): method test_console_stream_kwarg (line 614) | def test_console_stream_kwarg(self): class FakeSMTPServer (line 624) | class FakeSMTPServer(smtpd.SMTPServer, threading.Thread): method __init__ (line 630) | def __init__(self, *args, **kwargs): method process_message (line 638) | def process_message(self, peer, mailfrom, rcpttos, data): method get_sink (line 649) | def get_sink(self): method flush_sink (line 653) | def flush_sink(self): method start (line 657) | def start(self): method run (line 663) | def run(self): method stop (line 671) | def stop(self): class SMTPBackendTests (line 677) | class SMTPBackendTests(BaseEmailBackendTests, TestCase): method setUpClass (line 681) | def setUpClass(cls): method tearDownClass (line 690) | def tearDownClass(cls): method setUp (line 694) | def setUp(self): method tearDown (line 698) | def tearDown(self): method flush_mailbox (line 702) | def flush_mailbox(self): method get_mailbox_content (line 705) | def get_mailbox_content(self): method test_email_authentication_use_settings (line 710) | def test_email_authentication_use_settings(self): method test_email_authentication_override_settings (line 717) | def test_email_authentication_override_settings(self): method test_email_disabled_authentication (line 724) | def test_email_disabled_authentication(self): method test_server_stopped (line 729) | def test_server_stopped(self): FILE: Django-1.5.1/tests/regressiontests/managers_regress/models.py class OnlyFred (line 9) | class OnlyFred(models.Manager): method get_query_set (line 10) | def get_query_set(self): class OnlyBarney (line 14) | class OnlyBarney(models.Manager): method get_query_set (line 15) | def get_query_set(self): class Value42 (line 19) | class Value42(models.Manager): method get_query_set (line 20) | def get_query_set(self): class AbstractBase1 (line 24) | class AbstractBase1(models.Model): class Meta (line 27) | class Meta: class AbstractBase2 (line 36) | class AbstractBase2(models.Model): class Meta (line 39) | class Meta: class AbstractBase3 (line 47) | class AbstractBase3(models.Model): class Meta (line 50) | class Meta: class Parent (line 55) | class Parent(models.Model): method __str__ (line 60) | def __str__(self): class Child1 (line 68) | class Child1(AbstractBase1): method __str__ (line 71) | def __str__(self): class Child2 (line 76) | class Child2(AbstractBase1, AbstractBase2): method __str__ (line 79) | def __str__(self): class Child3 (line 84) | class Child3(AbstractBase1, AbstractBase3): method __str__ (line 87) | def __str__(self): class Child4 (line 92) | class Child4(AbstractBase1): method __str__ (line 99) | def __str__(self): class Child5 (line 104) | class Child5(AbstractBase3): method __str__ (line 110) | def __str__(self): class Child6 (line 115) | class Child6(Child4): class Child7 (line 120) | class Child7(Parent): FILE: Django-1.5.1/tests/regressiontests/managers_regress/tests.py class ManagersRegressionTests (line 24) | class ManagersRegressionTests(TestCase): method test_managers (line 25) | def test_managers(self): method test_abstract_manager (line 74) | def test_abstract_manager(self): method test_custom_abstract_manager (line 87) | def test_custom_abstract_manager(self): method test_explicit_abstract_manager (line 97) | def test_explicit_abstract_manager(self): method test_swappable_manager (line 107) | def test_swappable_manager(self): method test_custom_swappable_manager (line 134) | def test_custom_swappable_manager(self): method test_explicit_swappable_manager (line 165) | def test_explicit_swappable_manager(self): FILE: Django-1.5.1/tests/regressiontests/many_to_one_regress/models.py class First (line 13) | class First(models.Model): class Second (line 16) | class Second(models.Model): class Third (line 20) | class Third(models.Model): class Parent (line 24) | class Parent(models.Model): class Child (line 28) | class Child(models.Model): class Category (line 35) | class Category(models.Model): method __str__ (line 38) | def __str__(self): class Record (line 41) | class Record(models.Model): class Relation (line 45) | class Relation(models.Model): method __str__ (line 49) | def __str__(self): class Car (line 52) | class Car(models.Model): class Driver (line 55) | class Driver(models.Model): FILE: Django-1.5.1/tests/regressiontests/many_to_one_regress/tests.py class ManyToOneRegressionTests (line 11) | class ManyToOneRegressionTests(TestCase): method test_object_creation (line 12) | def test_object_creation(self): method test_fk_assignment_and_related_object_cache (line 18) | def test_fk_assignment_and_related_object_cache(self): method test_multiple_foreignkeys (line 84) | def test_multiple_foreignkeys(self): method test_fk_instantiation_outside_model (line 110) | def test_fk_instantiation_outside_model(self): method test_relation_unsaved (line 116) | def test_relation_unsaved(self): method test_related_null_to_field (line 130) | def test_related_null_to_field(self): FILE: Django-1.5.1/tests/regressiontests/max_lengths/models.py class PersonWithDefaultMaxLengths (line 4) | class PersonWithDefaultMaxLengths(models.Model): class PersonWithCustomMaxLengths (line 10) | class PersonWithCustomMaxLengths(models.Model): FILE: Django-1.5.1/tests/regressiontests/max_lengths/tests.py class MaxLengthArgumentsTests (line 8) | class MaxLengthArgumentsTests(unittest.TestCase): method verify_max_length (line 10) | def verify_max_length(self, model,field,length): method test_default_max_lengths (line 13) | def test_default_max_lengths(self): method test_custom_max_lengths (line 19) | def test_custom_max_lengths(self): class MaxLengthORMTests (line 25) | class MaxLengthORMTests(unittest.TestCase): method test_custom_max_lengths (line 27) | def test_custom_max_lengths(self): FILE: Django-1.5.1/tests/regressiontests/middleware/models.py class Band (line 6) | class Band(models.Model): class Meta (line 9) | class Meta: method __str__ (line 12) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/middleware/tests.py class CommonMiddlewareTest (line 28) | class CommonMiddlewareTest(TestCase): method setUp (line 29) | def setUp(self): method tearDown (line 35) | def tearDown(self): method _get_request (line 41) | def _get_request(self, path): method test_append_slash_have_slash (line 50) | def test_append_slash_have_slash(self): method test_append_slash_slashless_resource (line 58) | def test_append_slash_slashless_resource(self): method test_append_slash_slashless_unknown (line 66) | def test_append_slash_slashless_unknown(self): method test_append_slash_redirect (line 74) | def test_append_slash_redirect(self): method test_append_slash_no_redirect_on_POST_in_DEBUG (line 84) | def test_append_slash_no_redirect_on_POST_in_DEBUG(self): method test_append_slash_disabled (line 104) | def test_append_slash_disabled(self): method test_append_slash_quoted (line 112) | def test_append_slash_quoted(self): method test_prepend_www (line 125) | def test_prepend_www(self): method test_prepend_www_append_slash_have_slash (line 135) | def test_prepend_www_append_slash_have_slash(self): method test_prepend_www_append_slash_slashless (line 144) | def test_prepend_www_append_slash_slashless(self): method test_append_slash_have_slash_custom_urlconf (line 157) | def test_append_slash_have_slash_custom_urlconf(self): method test_append_slash_slashless_resource_custom_urlconf (line 166) | def test_append_slash_slashless_resource_custom_urlconf(self): method test_append_slash_slashless_unknown_custom_urlconf (line 175) | def test_append_slash_slashless_unknown_custom_urlconf(self): method test_append_slash_redirect_custom_urlconf (line 184) | def test_append_slash_redirect_custom_urlconf(self): method test_append_slash_no_redirect_on_POST_in_DEBUG_custom_urlconf (line 197) | def test_append_slash_no_redirect_on_POST_in_DEBUG_custom_urlconf(self): method test_append_slash_disabled_custom_urlconf (line 218) | def test_append_slash_disabled_custom_urlconf(self): method test_append_slash_quoted_custom_urlconf (line 227) | def test_append_slash_quoted_custom_urlconf(self): method test_prepend_www_custom_urlconf (line 243) | def test_prepend_www_custom_urlconf(self): method test_prepend_www_append_slash_have_slash_custom_urlconf (line 254) | def test_prepend_www_append_slash_have_slash_custom_urlconf(self): method test_prepend_www_append_slash_slashless_custom_urlconf (line 264) | def test_prepend_www_append_slash_slashless_custom_urlconf(self): method test_404_error_reporting (line 276) | def test_404_error_reporting(self): method test_404_error_reporting_no_referer (line 286) | def test_404_error_reporting_no_referer(self): method test_404_error_reporting_ignored_url (line 294) | def test_404_error_reporting_ignored_url(self): method test_non_ascii_query_string_does_not_crash (line 305) | def test_non_ascii_query_string_does_not_crash(self): class ConditionalGetMiddlewareTest (line 313) | class ConditionalGetMiddlewareTest(TestCase): method setUp (line 315) | def setUp(self): method test_date_header_added (line 326) | def test_date_header_added(self): method test_content_length_header_added (line 333) | def test_content_length_header_added(self): method test_content_length_header_not_added (line 340) | def test_content_length_header_not_added(self): method test_content_length_header_not_changed (line 346) | def test_content_length_header_not_changed(self): method test_if_none_match_and_no_etag (line 354) | def test_if_none_match_and_no_etag(self): method test_no_if_none_match_and_etag (line 359) | def test_no_if_none_match_and_etag(self): method test_if_none_match_and_same_etag (line 364) | def test_if_none_match_and_same_etag(self): method test_if_none_match_and_different_etag (line 369) | def test_if_none_match_and_different_etag(self): method test_etag (line 376) | def test_etag(self): method test_etag_streaming_response (line 383) | def test_etag_streaming_response(self): method test_no_etag_streaming_response (line 392) | def test_no_etag_streaming_response(self): method test_if_modified_since_and_no_last_modified (line 400) | def test_if_modified_since_and_no_last_modified(self): method test_no_if_modified_since_and_last_modified (line 405) | def test_no_if_modified_since_and_last_modified(self): method test_if_modified_since_and_same_last_modified (line 410) | def test_if_modified_since_and_same_last_modified(self): method test_if_modified_since_and_last_modified_in_the_past (line 416) | def test_if_modified_since_and_last_modified_in_the_past(self): method test_if_modified_since_and_last_modified_in_the_future (line 422) | def test_if_modified_since_and_last_modified_in_the_future(self): class XFrameOptionsMiddlewareTest (line 429) | class XFrameOptionsMiddlewareTest(TestCase): method setUp (line 433) | def setUp(self): method tearDown (line 436) | def tearDown(self): method test_same_origin (line 439) | def test_same_origin(self): method test_deny (line 454) | def test_deny(self): method test_defaults_sameorigin (line 469) | def test_defaults_sameorigin(self): method test_dont_set_if_set (line 479) | def test_dont_set_if_set(self): method test_response_exempt (line 498) | def test_response_exempt(self): method test_is_extendable (line 517) | def test_is_extendable(self): class GZipMiddlewareTest (line 551) | class GZipMiddlewareTest(TestCase): method setUp (line 560) | def setUp(self): method decompress (line 577) | def decompress(gzipped_string): method test_compress_response (line 580) | def test_compress_response(self): method test_compress_streaming_response (line 589) | def test_compress_streaming_response(self): method test_compress_non_200_response (line 598) | def test_compress_non_200_response(self): method test_no_compress_short_response (line 608) | def test_no_compress_short_response(self): method test_no_compress_compressed_response (line 617) | def test_no_compress_compressed_response(self): method test_no_compress_ie_js_requests (line 626) | def test_no_compress_ie_js_requests(self): method test_no_compress_uncompressible_response (line 636) | def test_no_compress_uncompressible_response(self): class ETagGZipMiddlewareTest (line 647) | class ETagGZipMiddlewareTest(TestCase): method setUp (line 653) | def setUp(self): method test_compress_response (line 656) | def test_compress_response(self): class TransactionMiddlewareTest (line 674) | class TransactionMiddlewareTest(TransactionTestCase): method setUp (line 678) | def setUp(self): method test_request (line 688) | def test_request(self): method test_managed_response (line 692) | def test_managed_response(self): method test_unmanaged_response (line 701) | def test_unmanaged_response(self): method test_exception (line 707) | def test_exception(self): method test_failing_commit (line 716) | def test_failing_commit(self): FILE: Django-1.5.1/tests/regressiontests/middleware_exceptions/tests.py class TestException (line 10) | class TestException(Exception): class TestMiddleware (line 15) | class TestMiddleware(object): method __init__ (line 16) | def __init__(self): method process_request (line 23) | def process_request(self, request): method process_view (line 26) | def process_view(self, request, view_func, view_args, view_kwargs): method process_template_response (line 29) | def process_template_response(self, request, response): method process_response (line 33) | def process_response(self, request, response): method process_exception (line 37) | def process_exception(self, request, exception): class RequestMiddleware (line 42) | class RequestMiddleware(TestMiddleware): method process_request (line 43) | def process_request(self, request): class ViewMiddleware (line 47) | class ViewMiddleware(TestMiddleware): method process_view (line 48) | def process_view(self, request, view_func, view_args, view_kwargs): class ResponseMiddleware (line 52) | class ResponseMiddleware(TestMiddleware): method process_response (line 53) | def process_response(self, request, response): class TemplateResponseMiddleware (line 57) | class TemplateResponseMiddleware(TestMiddleware): method process_template_response (line 58) | def process_template_response(self, request, response): class ExceptionMiddleware (line 62) | class ExceptionMiddleware(TestMiddleware): method process_exception (line 63) | def process_exception(self, request, exception): class BadRequestMiddleware (line 70) | class BadRequestMiddleware(TestMiddleware): method process_request (line 71) | def process_request(self, request): class BadViewMiddleware (line 75) | class BadViewMiddleware(TestMiddleware): method process_view (line 76) | def process_view(self, request, view_func, view_args, view_kwargs): class BadTemplateResponseMiddleware (line 80) | class BadTemplateResponseMiddleware(TestMiddleware): method process_template_response (line 81) | def process_template_response(self, request, response): class BadResponseMiddleware (line 85) | class BadResponseMiddleware(TestMiddleware): method process_response (line 86) | def process_response(self, request, response): class BadExceptionMiddleware (line 90) | class BadExceptionMiddleware(TestMiddleware): method process_exception (line 91) | def process_exception(self, request, exception): class BaseMiddlewareExceptionTest (line 96) | class BaseMiddlewareExceptionTest(TestCase): method setUp (line 99) | def setUp(self): method tearDown (line 104) | def tearDown(self): method _on_request_exception (line 108) | def _on_request_exception(self, sender, request, **kwargs): method _add_middleware (line 111) | def _add_middleware(self, middleware): method assert_exceptions_handled (line 118) | def assert_exceptions_handled(self, url, errors, extra_error=None): method assert_middleware_usage (line 135) | def assert_middleware_usage(self, middleware, request, view, template_... class MiddlewareTests (line 143) | class MiddlewareTests(BaseMiddlewareExceptionTest): method test_process_request_middleware (line 145) | def test_process_request_middleware(self): method test_process_view_middleware (line 159) | def test_process_view_middleware(self): method test_process_response_middleware (line 173) | def test_process_response_middleware(self): method test_process_template_response_middleware (line 187) | def test_process_template_response_middleware(self): method test_process_exception_middleware (line 201) | def test_process_exception_middleware(self): method test_process_request_middleware_not_found (line 215) | def test_process_request_middleware_not_found(self): method test_process_view_middleware_not_found (line 229) | def test_process_view_middleware_not_found(self): method test_process_template_response_middleware_not_found (line 243) | def test_process_template_response_middleware_not_found(self): method test_process_response_middleware_not_found (line 257) | def test_process_response_middleware_not_found(self): method test_process_exception_middleware_not_found (line 271) | def test_process_exception_middleware_not_found(self): method test_process_request_middleware_exception (line 285) | def test_process_request_middleware_exception(self): method test_process_view_middleware_exception (line 299) | def test_process_view_middleware_exception(self): method test_process_response_middleware_exception (line 313) | def test_process_response_middleware_exception(self): method test_process_exception_middleware_exception (line 327) | def test_process_exception_middleware_exception(self): method test_process_request_middleware_null_view (line 341) | def test_process_request_middleware_null_view(self): method test_process_view_middleware_null_view (line 355) | def test_process_view_middleware_null_view(self): method test_process_response_middleware_null_view (line 369) | def test_process_response_middleware_null_view(self): method test_process_exception_middleware_null_view (line 386) | def test_process_exception_middleware_null_view(self): method test_process_request_middleware_permission_denied (line 403) | def test_process_request_middleware_permission_denied(self): method test_process_view_middleware_permission_denied (line 417) | def test_process_view_middleware_permission_denied(self): method test_process_response_middleware_permission_denied (line 431) | def test_process_response_middleware_permission_denied(self): method test_process_exception_middleware_permission_denied (line 445) | def test_process_exception_middleware_permission_denied(self): method test_process_template_response_error (line 459) | def test_process_template_response_error(self): class BadMiddlewareTests (line 468) | class BadMiddlewareTests(BaseMiddlewareExceptionTest): method test_process_request_bad_middleware (line 470) | def test_process_request_bad_middleware(self): method test_process_view_bad_middleware (line 484) | def test_process_view_bad_middleware(self): method test_process_template_response_bad_middleware (line 498) | def test_process_template_response_bad_middleware(self): method test_process_response_bad_middleware (line 512) | def test_process_response_bad_middleware(self): method test_process_exception_bad_middleware (line 526) | def test_process_exception_bad_middleware(self): method test_process_request_bad_middleware_not_found (line 540) | def test_process_request_bad_middleware_not_found(self): method test_process_view_bad_middleware_not_found (line 554) | def test_process_view_bad_middleware_not_found(self): method test_process_response_bad_middleware_not_found (line 568) | def test_process_response_bad_middleware_not_found(self): method test_process_exception_bad_middleware_not_found (line 582) | def test_process_exception_bad_middleware_not_found(self): method test_process_request_bad_middleware_exception (line 596) | def test_process_request_bad_middleware_exception(self): method test_process_view_bad_middleware_exception (line 610) | def test_process_view_bad_middleware_exception(self): method test_process_response_bad_middleware_exception (line 624) | def test_process_response_bad_middleware_exception(self): method test_process_exception_bad_middleware_exception (line 638) | def test_process_exception_bad_middleware_exception(self): method test_process_request_bad_middleware_null_view (line 652) | def test_process_request_bad_middleware_null_view(self): method test_process_view_bad_middleware_null_view (line 666) | def test_process_view_bad_middleware_null_view(self): method test_process_response_bad_middleware_null_view (line 680) | def test_process_response_bad_middleware_null_view(self): method test_process_exception_bad_middleware_null_view (line 697) | def test_process_exception_bad_middleware_null_view(self): method test_process_request_bad_middleware_permission_denied (line 714) | def test_process_request_bad_middleware_permission_denied(self): method test_process_view_bad_middleware_permission_denied (line 728) | def test_process_view_bad_middleware_permission_denied(self): method test_process_response_bad_middleware_permission_denied (line 742) | def test_process_response_bad_middleware_permission_denied(self): method test_process_exception_bad_middleware_permission_denied (line 756) | def test_process_exception_bad_middleware_permission_denied(self): class RootUrlconfTests (line 772) | class RootUrlconfTests(TestCase): method test_missing_root_urlconf (line 775) | def test_missing_root_urlconf(self): FILE: Django-1.5.1/tests/regressiontests/middleware_exceptions/views.py function normal_view (line 7) | def normal_view(request): function template_response (line 10) | def template_response(request): function template_response_error (line 13) | def template_response_error(request): function not_found (line 16) | def not_found(request): function server_error (line 19) | def server_error(request): function null_view (line 22) | def null_view(request): function permission_denied (line 25) | def permission_denied(request): FILE: Django-1.5.1/tests/regressiontests/model_fields/imagefield.py class Person (line 20) | class Person(): class ImageFieldTestMixin (line 26) | class ImageFieldTestMixin(object): method setUp (line 36) | def setUp(self): method tearDown (line 53) | def tearDown(self): method check_dimensions (line 59) | def check_dimensions(self, instance, width, height, class ImageFieldTests (line 93) | class ImageFieldTests(ImageFieldTestMixin, TestCase): method test_equal_notequal_hash (line 99) | def test_equal_notequal_hash(self): method test_instantiate_missing (line 123) | def test_instantiate_missing(self): method test_delete_when_missing (line 135) | def test_delete_when_missing(self): method test_size_method (line 145) | def test_size_method(self): method test_pickle (line 161) | def test_pickle(self): class ImageFieldTwoDimensionsTests (line 180) | class ImageFieldTwoDimensionsTests(ImageFieldTestMixin, TestCase): method test_constructor (line 185) | def test_constructor(self): method test_image_after_constructor (line 194) | def test_image_after_constructor(self): method test_create (line 210) | def test_create(self): method test_default_value (line 217) | def test_default_value(self): method test_assignment_to_None (line 227) | def test_assignment_to_None(self): method test_field_save_and_delete_methods (line 241) | def test_field_save_and_delete_methods(self): method test_dimensions (line 259) | def test_dimensions(self): class ImageFieldNoDimensionsTests (line 294) | class ImageFieldNoDimensionsTests(ImageFieldTwoDimensionsTests): class ImageFieldOneDimensionTests (line 303) | class ImageFieldOneDimensionTests(ImageFieldTwoDimensionsTests): class ImageFieldDimensionsFirstTests (line 312) | class ImageFieldDimensionsFirstTests(ImageFieldTwoDimensionsTests): class ImageFieldUsingFileTests (line 322) | class ImageFieldUsingFileTests(ImageFieldTwoDimensionsTests): class TwoImageFieldTests (line 333) | class TwoImageFieldTests(ImageFieldTestMixin, TestCase): method test_constructor (line 340) | def test_constructor(self): method test_create (line 348) | def test_create(self): method test_assignment (line 354) | def test_assignment(self): method test_field_save_and_delete_methods (line 374) | def test_field_save_and_delete_methods(self): method test_dimensions (line 392) | def test_dimensions(self): FILE: Django-1.5.1/tests/regressiontests/model_fields/models.py class Foo (line 21) | class Foo(models.Model): function get_foo (line 25) | def get_foo(): class Bar (line 28) | class Bar(models.Model): class Whiz (line 32) | class Whiz(models.Model): class BigD (line 48) | class BigD(models.Model): class BigS (line 51) | class BigS(models.Model): class BigInt (line 54) | class BigInt(models.Model): class Post (line 58) | class Post(models.Model): class NullBooleanModel (line 62) | class NullBooleanModel(models.Model): class BooleanModel (line 65) | class BooleanModel(models.Model): class FksToBooleans (line 69) | class FksToBooleans(models.Model): class RenamedField (line 74) | class RenamedField(models.Model): class VerboseNameField (line 77) | class VerboseNameField(models.Model): class DecimalLessThanOne (line 106) | class DecimalLessThanOne(models.Model): class Document (line 112) | class Document(models.Model): class TestImageFieldFile (line 120) | class TestImageFieldFile(ImageFieldFile): method __init__ (line 125) | def __init__(self, *args, **kwargs): method open (line 128) | def open(self): class TestImageField (line 132) | class TestImageField(ImageField): class Person (line 140) | class Person(models.Model): class PersonWithHeight (line 147) | class PersonWithHeight(models.Model): class PersonWithHeightAndWidth (line 156) | class PersonWithHeightAndWidth(models.Model): class PersonDimensionsFirst (line 167) | class PersonDimensionsFirst(models.Model): class PersonTwoImages (line 178) | class PersonTwoImages(models.Model): FILE: Django-1.5.1/tests/regressiontests/model_fields/tests.py class BasicFieldTests (line 24) | class BasicFieldTests(test.TestCase): method test_show_hidden_initial (line 25) | def test_show_hidden_initial(self): method test_nullbooleanfield_blank (line 38) | def test_nullbooleanfield_blank(self): method test_field_repr (line 50) | def test_field_repr(self): method test_field_name (line 59) | def test_field_name(self): method test_field_verbose_name (line 68) | def test_field_verbose_name(self): class DecimalFieldTests (line 76) | class DecimalFieldTests(test.TestCase): method test_to_python (line 77) | def test_to_python(self): method test_default (line 83) | def test_default(self): method test_format (line 87) | def test_format(self): method test_get_db_prep_lookup (line 93) | def test_get_db_prep_lookup(self): method test_filter_with_strings (line 98) | def test_filter_with_strings(self): method test_save_without_float_conversion (line 105) | def test_save_without_float_conversion(self): method test_lookup_really_big_value (line 115) | def test_lookup_really_big_value(self): class ForeignKeyTests (line 123) | class ForeignKeyTests(test.TestCase): method test_callable_default (line 124) | def test_callable_default(self): class DateTimeFieldTests (line 130) | class DateTimeFieldTests(unittest.TestCase): method test_datetimefield_to_python_usecs (line 131) | def test_datetimefield_to_python_usecs(self): method test_timefield_to_python_usecs (line 139) | def test_timefield_to_python_usecs(self): class BooleanFieldTests (line 147) | class BooleanFieldTests(unittest.TestCase): method _test_get_db_prep_lookup (line 148) | def _test_get_db_prep_lookup(self, f): method _test_to_python (line 158) | def _test_to_python(self, f): method test_booleanfield_get_db_prep_lookup (line 162) | def test_booleanfield_get_db_prep_lookup(self): method test_nullbooleanfield_get_db_prep_lookup (line 165) | def test_nullbooleanfield_get_db_prep_lookup(self): method test_booleanfield_to_python (line 168) | def test_booleanfield_to_python(self): method test_nullbooleanfield_to_python (line 171) | def test_nullbooleanfield_to_python(self): method test_booleanfield_choices_blank (line 174) | def test_booleanfield_choices_blank(self): method test_return_type (line 186) | def test_return_type(self): method test_select_related (line 222) | def test_select_related(self): class ChoicesTests (line 259) | class ChoicesTests(test.TestCase): method test_choices_and_field_display (line 260) | def test_choices_and_field_display(self): class SlugFieldTests (line 271) | class SlugFieldTests(test.TestCase): method test_slugfield_max_length (line 272) | def test_slugfield_max_length(self): class ValidationTest (line 281) | class ValidationTest(test.TestCase): method test_charfield_raises_error_on_empty_string (line 282) | def test_charfield_raises_error_on_empty_string(self): method test_charfield_cleans_empty_string_when_blank_true (line 286) | def test_charfield_cleans_empty_string_when_blank_true(self): method test_integerfield_cleans_valid_string (line 290) | def test_integerfield_cleans_valid_string(self): method test_integerfield_raises_error_on_invalid_intput (line 294) | def test_integerfield_raises_error_on_invalid_intput(self): method test_charfield_with_choices_cleans_valid_choice (line 298) | def test_charfield_with_choices_cleans_valid_choice(self): method test_charfield_with_choices_raises_error_on_invalid_choice (line 302) | def test_charfield_with_choices_raises_error_on_invalid_choice(self): method test_choices_validation_supports_named_groups (line 306) | def test_choices_validation_supports_named_groups(self): method test_nullable_integerfield_raises_error_with_blank_false (line 310) | def test_nullable_integerfield_raises_error_with_blank_false(self): method test_nullable_integerfield_cleans_none_on_null_and_blank_true (line 314) | def test_nullable_integerfield_cleans_none_on_null_and_blank_true(self): method test_integerfield_raises_error_on_empty_input (line 318) | def test_integerfield_raises_error_on_empty_input(self): method test_integerfield_validates_zero_against_choices (line 323) | def test_integerfield_validates_zero_against_choices(self): method test_charfield_raises_error_on_empty_input (line 327) | def test_charfield_raises_error_on_empty_input(self): method test_datefield_cleans_date (line 331) | def test_datefield_cleans_date(self): method test_boolean_field_doesnt_accept_empty_input (line 335) | def test_boolean_field_doesnt_accept_empty_input(self): class BigIntegerFieldTests (line 340) | class BigIntegerFieldTests(test.TestCase): method test_limits (line 341) | def test_limits(self): method test_types (line 355) | def test_types(self): method test_coercing (line 363) | def test_coercing(self): class TypeCoercionTests (line 368) | class TypeCoercionTests(test.TestCase): method test_lookup_integer_in_charfield (line 375) | def test_lookup_integer_in_charfield(self): method test_lookup_integer_in_textfield (line 378) | def test_lookup_integer_in_textfield(self): class FileFieldTests (line 381) | class FileFieldTests(unittest.TestCase): method test_clearable (line 382) | def test_clearable(self): method test_unchanged (line 394) | def test_unchanged(self): method test_changed (line 406) | def test_changed(self): FILE: Django-1.5.1/tests/regressiontests/model_forms_regress/models.py class Person (line 11) | class Person(models.Model): class Triple (line 14) | class Triple(models.Model): class Meta (line 19) | class Meta: class FilePathModel (line 22) | class FilePathModel(models.Model): class Publication (line 26) | class Publication(models.Model): method __str__ (line 30) | def __str__(self): class Article (line 34) | class Article(models.Model): method __str__ (line 38) | def __str__(self): class CustomFileField (line 41) | class CustomFileField(models.FileField): method save_form_data (line 42) | def save_form_data(self, instance, data): class CustomFF (line 47) | class CustomFF(models.Model): class RealPerson (line 50) | class RealPerson(models.Model): method clean (line 53) | def clean(self): class Author (line 57) | class Author(models.Model): class Author1 (line 61) | class Author1(models.Model): class Homepage (line 65) | class Homepage(models.Model): class Document (line 68) | class Document(models.Model): class Edition (line 71) | class Edition(models.Model): class Meta (line 77) | class Meta: FILE: Django-1.5.1/tests/regressiontests/model_forms_regress/tests.py class ModelMultipleChoiceFieldTests (line 18) | class ModelMultipleChoiceFieldTests(TestCase): method test_model_multiple_choice_number_of_queries (line 19) | def test_model_multiple_choice_number_of_queries(self): method test_model_multiple_choice_run_validators (line 29) | def test_model_multiple_choice_run_validators(self): class TripleForm (line 46) | class TripleForm(forms.ModelForm): class Meta (line 47) | class Meta: class UniqueTogetherTests (line 50) | class UniqueTogetherTests(TestCase): method test_multiple_field_unique_together (line 51) | def test_multiple_field_unique_together(self): class TripleFormWithCleanOverride (line 66) | class TripleFormWithCleanOverride(forms.ModelForm): class Meta (line 67) | class Meta: method clean (line 70) | def clean(self): class OverrideCleanTests (line 75) | class OverrideCleanTests(TestCase): method test_override_clean (line 76) | def test_override_clean(self): class PublicationForm (line 91) | class PublicationForm(forms.ModelForm): method clean (line 92) | def clean(self): class Meta (line 96) | class Meta: class ModelFormCleanTest (line 99) | class ModelFormCleanTest(TestCase): method test_model_form_clean_applies_to_model (line 100) | def test_model_form_clean_applies_to_model(self): class FPForm (line 106) | class FPForm(forms.ModelForm): class Meta (line 107) | class Meta: class FilePathFieldTests (line 110) | class FilePathFieldTests(TestCase): method test_file_path_field_blank (line 111) | def test_file_path_field_blank(self): class ManyToManyCallableInitialTests (line 120) | class ManyToManyCallableInitialTests(TestCase): method test_callable (line 121) | def test_callable(self): class CFFForm (line 146) | class CFFForm(forms.ModelForm): class Meta (line 147) | class Meta: class CustomFieldSaveTests (line 150) | class CustomFieldSaveTests(TestCase): method test_save (line 151) | def test_save(self): class ModelChoiceIteratorTests (line 159) | class ModelChoiceIteratorTests(TestCase): method test_len (line 160) | def test_len(self): class RealPersonForm (line 171) | class RealPersonForm(forms.ModelForm): class Meta (line 172) | class Meta: class CustomModelFormSaveMethod (line 175) | class CustomModelFormSaveMethod(TestCase): method test_string_message (line 176) | def test_string_message(self): class ModelClassTests (line 182) | class ModelClassTests(TestCase): method test_no_model_class (line 183) | def test_no_model_class(self): class OneToOneFieldTests (line 188) | class OneToOneFieldTests(TestCase): method test_assignment_of_none (line 189) | def test_assignment_of_none(self): method test_assignment_of_none_null_false (line 207) | def test_assignment_of_none_null_false(self): class ModelChoiceForm (line 220) | class ModelChoiceForm(forms.Form): class TestTicket11183 (line 224) | class TestTicket11183(TestCase): method test_11183 (line 225) | def test_11183(self): class HomepageForm (line 233) | class HomepageForm(forms.ModelForm): class Meta (line 234) | class Meta: class URLFieldTests (line 237) | class URLFieldTests(TestCase): method test_url_on_modelform (line 238) | def test_url_on_modelform(self): method test_http_prefixing (line 254) | def test_http_prefixing(self): class FormFieldCallbackTests (line 267) | class FormFieldCallbackTests(TestCase): method test_baseform_with_widgets_in_meta (line 269) | def test_baseform_with_widgets_in_meta(self): method test_factory_with_widget_argument (line 281) | def test_factory_with_widget_argument(self): method test_custom_callback (line 295) | def test_custom_callback(self): method test_bad_callback (line 318) | def test_bad_callback(self): class InvalidFieldAndFactory (line 324) | class InvalidFieldAndFactory(TestCase): method test_extra_field_model_form (line 327) | def test_extra_field_model_form(self): method test_extra_declared_field_model_form (line 344) | def test_extra_declared_field_model_form(self): method test_extra_field_modelform_factory (line 357) | def test_extra_field_modelform_factory(self): class DocumentForm (line 362) | class DocumentForm(forms.ModelForm): class Meta (line 363) | class Meta: class FileFieldTests (line 366) | class FileFieldTests(unittest.TestCase): method test_clean_false (line 367) | def test_clean_false(self): method test_clean_false_required (line 378) | def test_clean_false_required(self): method test_full_clear (line 389) | def test_full_clear(self): method test_clear_and_file_contradiction (line 408) | def test_clear_and_file_contradiction(self): class EditionForm (line 428) | class EditionForm(forms.ModelForm): class Meta (line 434) | class Meta: class UniqueErrorsTests (line 437) | class UniqueErrorsTests(TestCase): method setUp (line 438) | def setUp(self): method test_unique_error_message (line 446) | def test_unique_error_message(self): method test_unique_together_error_message (line 450) | def test_unique_together_error_message(self): class EmptyFieldsTestCase (line 457) | class EmptyFieldsTestCase(TestCase): class EmptyPersonForm (line 459) | class EmptyPersonForm(forms.ModelForm): class Meta (line 460) | class Meta: method test_empty_fields_to_fields_for_model (line 464) | def test_empty_fields_to_fields_for_model(self): method test_empty_fields_on_modelform (line 469) | def test_empty_fields_on_modelform(self): method test_empty_fields_to_construct_instance (line 474) | def test_empty_fields_to_construct_instance(self): class CustomMetaclass (line 482) | class CustomMetaclass(ModelFormMetaclass): method __new__ (line 483) | def __new__(cls, name, bases, attrs): class CustomMetaclassForm (line 488) | class CustomMetaclassForm(six.with_metaclass(CustomMetaclass, forms.Mode... class CustomMetaclassTestCase (line 491) | class CustomMetaclassTestCase(TestCase): method test_modelform_factory_metaclass (line 492) | def test_modelform_factory_metaclass(self): FILE: Django-1.5.1/tests/regressiontests/model_formsets_regress/models.py class User (line 5) | class User(models.Model): class UserSite (line 9) | class UserSite(models.Model): class Place (line 13) | class Place(models.Model): class Restaurant (line 16) | class Restaurant(Place): class Manager (line 19) | class Manager(models.Model): class Network (line 23) | class Network(models.Model): class Host (line 27) | class Host(models.Model): method __str__ (line 31) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/model_formsets_regress/tests.py class InlineFormsetTests (line 13) | class InlineFormsetTests(TestCase): method test_formset_over_to_field (line 14) | def test_formset_over_to_field(self): method test_formset_over_inherited_model (line 90) | def test_formset_over_inherited_model(self): method test_formset_with_none_instance (line 157) | def test_formset_with_none_instance(self): method test_empty_fields_on_modelformset (line 167) | def test_empty_fields_on_modelformset(self): method test_save_as_new_with_new_inlines (line 175) | def test_save_as_new_with_new_inlines(self): method test_initial_data (line 208) | def test_initial_data(self): class FormsetTests (line 219) | class FormsetTests(TestCase): method test_error_class (line 220) | def test_error_class(self): method test_initial_data (line 245) | def test_initial_data(self): method test_extraneous_query_is_not_run (line 253) | def test_extraneous_query_is_not_run(self): class CustomWidget (line 264) | class CustomWidget(forms.CharField): class UserSiteForm (line 268) | class UserSiteForm(forms.ModelForm): class Meta (line 269) | class Meta: class Callback (line 274) | class Callback(object): method __init__ (line 276) | def __init__(self): method __call__ (line 279) | def __call__(self, db_field, **kwargs): class FormfieldCallbackTests (line 284) | class FormfieldCallbackTests(TestCase): method test_inlineformset_factory_default (line 290) | def test_inlineformset_factory_default(self): method test_modelformset_factory_default (line 295) | def test_modelformset_factory_default(self): method assertCallbackCalled (line 300) | def assertCallbackCalled(self, callback): method test_inlineformset_custom_callback (line 309) | def test_inlineformset_custom_callback(self): method test_modelformset_custom_callback (line 315) | def test_modelformset_custom_callback(self): class BaseCustomDeleteFormSet (line 322) | class BaseCustomDeleteFormSet(BaseFormSet): method add_fields (line 329) | def add_fields(self, form, index): method _should_delete_form (line 335) | def _should_delete_form(self, form): class FormfieldShouldDeleteFormTests (line 339) | class FormfieldShouldDeleteFormTests(TestCase): class BaseCustomDeleteModelFormSet (line 344) | class BaseCustomDeleteModelFormSet(BaseModelFormSet, BaseCustomDeleteF... class CustomDeleteUserForm (line 347) | class CustomDeleteUserForm(forms.ModelForm): class Meta (line 349) | class Meta: method should_delete (line 352) | def should_delete(self): method test_init_database (line 380) | def test_init_database(self): method test_no_delete (line 386) | def test_no_delete(self): method test_all_delete (line 403) | def test_all_delete(self): method test_custom_delete (line 421) | def test_custom_delete(self): FILE: Django-1.5.1/tests/regressiontests/model_inheritance_regress/models.py class Place (line 9) | class Place(models.Model): class Meta (line 13) | class Meta: method __str__ (line 16) | def __str__(self): class Restaurant (line 20) | class Restaurant(Place): method __str__ (line 24) | def __str__(self): class ItalianRestaurant (line 28) | class ItalianRestaurant(Restaurant): method __str__ (line 31) | def __str__(self): class ParkingLot (line 35) | class ParkingLot(Place): method __str__ (line 40) | def __str__(self): class ParkingLot2 (line 43) | class ParkingLot2(Place): class ParkingLot3 (line 48) | class ParkingLot3(Place): class Supplier (line 53) | class Supplier(models.Model): class Wholesaler (line 56) | class Wholesaler(Supplier): class Parent (line 59) | class Parent(models.Model): class Child (line 62) | class Child(Parent): class SelfRefParent (line 65) | class SelfRefParent(models.Model): class SelfRefChild (line 69) | class SelfRefChild(SelfRefParent): class Article (line 73) | class Article(models.Model): class Meta (line 76) | class Meta: method __str__ (line 79) | def __str__(self): class ArticleWithAuthor (line 82) | class ArticleWithAuthor(Article): class M2MBase (line 85) | class M2MBase(models.Model): class M2MChild (line 88) | class M2MChild(M2MBase): class Evaluation (line 91) | class Evaluation(Article): class Meta (line 94) | class Meta: class QualityControl (line 97) | class QualityControl(Evaluation): class BaseM (line 101) | class BaseM(models.Model): method __str__ (line 104) | def __str__(self): class DerivedM (line 108) | class DerivedM(BaseM): method __str__ (line 112) | def __str__(self): class AuditBase (line 116) | class AuditBase(models.Model): class Meta (line 119) | class Meta: class CertificationAudit (line 123) | class CertificationAudit(AuditBase): class Meta (line 124) | class Meta(AuditBase.Meta): class InternalCertificationAudit (line 127) | class InternalCertificationAudit(CertificationAudit): class Person (line 132) | class Person(models.Model): class Meta (line 135) | class Meta: method __str__ (line 138) | def __str__(self): class AbstractEvent (line 142) | class AbstractEvent(models.Model): class Meta (line 146) | class Meta: method __str__ (line 150) | def __str__(self): class BirthdayParty (line 153) | class BirthdayParty(AbstractEvent): class BachelorParty (line 156) | class BachelorParty(AbstractEvent): class MessyBachelorParty (line 159) | class MessyBachelorParty(BachelorParty): class SearchableLocation (line 163) | class SearchableLocation(models.Model): class Station (line 166) | class Station(SearchableLocation): class Meta (line 169) | class Meta: class BusStation (line 172) | class BusStation(Station): class TrainStation (line 176) | class TrainStation(Station): class User (line 179) | class User(models.Model): class Profile (line 182) | class Profile(User): FILE: Django-1.5.1/tests/regressiontests/model_inheritance_regress/tests.py class ModelInheritanceTest (line 19) | class ModelInheritanceTest(TestCase): method test_model_inheritance (line 20) | def test_model_inheritance(self): method test_issue_7105 (line 131) | def test_issue_7105(self): method test_issue_7276 (line 140) | def test_issue_7276(self): method test_issue_6755 (line 179) | def test_issue_6755(self): method test_issue_7488 (line 192) | def test_issue_7488(self): method test_issue_11764 (line 201) | def test_issue_11764(self): method test_issue_7853 (line 208) | def test_issue_7853(self): method test_get_next_previous_by_date (line 217) | def test_get_next_previous_by_date(self): method test_inherited_fields (line 249) | def test_inherited_fields(self): method test_queryset_update_on_parent_model (line 269) | def test_queryset_update_on_parent_model(self): method test_use_explicit_o2o_to_parent_as_pk (line 296) | def test_use_explicit_o2o_to_parent_as_pk(self): method test_all_fields_from_abstract_base_class (line 313) | def test_all_fields_from_abstract_base_class(self): method test_abstract_base_class_m2m_relation_inheritance (line 326) | def test_abstract_base_class_m2m_relation_inheritance(self): method test_abstract_verbose_name_plural_inheritance (line 363) | def test_abstract_verbose_name_plural_inheritance(self): method test_inherited_nullable_exclude (line 377) | def test_inherited_nullable_exclude(self): method test_concrete_abstract_concrete_pk (line 392) | def test_concrete_abstract_concrete_pk(self): method test_inherited_unique_field_with_form (line 412) | def test_inherited_unique_field_with_form(self): FILE: Django-1.5.1/tests/regressiontests/model_inheritance_select_related/models.py class Place (line 12) | class Place(models.Model): class Meta (line 15) | class Meta: method __str__ (line 18) | def __str__(self): class Restaurant (line 22) | class Restaurant(Place): method __str__ (line 26) | def __str__(self): class Person (line 30) | class Person(models.Model): method __str__ (line 34) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/model_inheritance_select_related/tests.py class ModelInheritanceSelectRelatedTests (line 10) | class ModelInheritanceSelectRelatedTests(TestCase): method test_inherited_select_related (line 11) | def test_inherited_select_related(self): FILE: Django-1.5.1/tests/regressiontests/model_permalink/models.py function set_attr (line 4) | def set_attr(name, value): class Guitarist (line 11) | class Guitarist(models.Model): method url (line 16) | def url(self): method url_with_attribute (line 22) | def url_with_attribute(self): FILE: Django-1.5.1/tests/regressiontests/model_permalink/tests.py class PermalinkTests (line 8) | class PermalinkTests(TestCase): method test_permalink (line 11) | def test_permalink(self): method test_wrapped_docstring (line 15) | def test_wrapped_docstring(self): method test_wrapped_attribute (line 20) | def test_wrapped_attribute(self): FILE: Django-1.5.1/tests/regressiontests/model_regress/models.py class Article (line 13) | class Article(models.Model): class Meta (line 20) | class Meta: method __str__ (line 25) | def __str__(self): class Movie (line 29) | class Movie(models.Model): class Party (line 35) | class Party(models.Model): class Event (line 39) | class Event(models.Model): class Department (line 44) | class Department(models.Model): method __str__ (line 48) | def __str__(self): class Worker (line 53) | class Worker(models.Model): method __str__ (line 57) | def __str__(self): class BrokenUnicodeMethod (line 62) | class BrokenUnicodeMethod(models.Model): method __str__ (line 65) | def __str__(self): class NonAutoPK (line 70) | class NonAutoPK(models.Model): class Model1 (line 75) | class Model1(models.Model): class Model2 (line 79) | class Model2(models.Model): class Model3 (line 83) | class Model3(models.Model): FILE: Django-1.5.1/tests/regressiontests/model_regress/tests.py class ModelTests (line 15) | class ModelTests(TestCase): method test_related_gte_lookup (line 18) | def test_related_gte_lookup(self): method test_related_lte_lookup (line 24) | def test_related_lte_lookup(self): method test_empty_choice (line 30) | def test_empty_choice(self): method test_long_textfield (line 44) | def test_long_textfield(self): method test_date_lookup (line 55) | def test_date_lookup(self): method test_date_filter_null (line 104) | def test_date_filter_null(self): method test_get_next_prev_by_field (line 118) | def test_get_next_prev_by_field(self): method test_primary_key_foreign_key_types (line 138) | def test_primary_key_foreign_key_types(self): method test_broken_unicode (line 144) | def test_broken_unicode(self): method test_timezones (line 150) | def test_timezones(self): method test_chained_fks (line 167) | def test_chained_fks(self): class ModelValidationTest (line 181) | class ModelValidationTest(TestCase): method test_pk_validation (line 182) | def test_pk_validation(self): class EvaluateMethodTest (line 188) | class EvaluateMethodTest(TestCase): method test_model_with_evaluate_method (line 193) | def test_model_with_evaluate_method(self): FILE: Django-1.5.1/tests/regressiontests/modeladmin/models.py class Band (line 8) | class Band(models.Model): class Meta (line 13) | class Meta: method __str__ (line 16) | def __str__(self): class Concert (line 19) | class Concert(models.Model): class ValidationTestModel (line 30) | class ValidationTestModel(models.Model): method decade_published_in (line 40) | def decade_published_in(self): class ValidationTestInlineModel (line 43) | class ValidationTestInlineModel(models.Model): FILE: Django-1.5.1/tests/regressiontests/modeladmin/tests.py class MockRequest (line 24) | class MockRequest(object): class MockSuperUser (line 28) | class MockSuperUser(object): method has_perm (line 29) | def has_perm(self, perm): class ModelAdminTests (line 36) | class ModelAdminTests(TestCase): method setUp (line 38) | def setUp(self): method test_default_fields (line 48) | def test_default_fields(self): method test_default_fieldsets (line 54) | def test_default_fieldsets(self): method test_field_arguments (line 68) | def test_field_arguments(self): method test_field_arguments_restricted_on_form (line 82) | def test_field_arguments_restricted_on_form(self): method test_custom_form_meta_exclude_with_readonly (line 132) | def test_custom_form_meta_exclude_with_readonly(self): method test_custom_form_meta_exclude (line 179) | def test_custom_form_meta_exclude(self): method test_custom_form_validation (line 225) | def test_custom_form_validation(self): method test_form_exclude_kwarg_override (line 246) | def test_form_exclude_kwarg_override(self): method test_formset_exclude_kwarg_override (line 270) | def test_formset_exclude_kwarg_override(self): method test_queryset_override (line 302) | def test_queryset_override(self): method test_regression_for_ticket_15820 (line 341) | def test_regression_for_ticket_15820(self): method test_default_foreign_key_widget (line 376) | def test_default_foreign_key_widget(self): method test_foreign_key_as_radio_field (line 408) | def test_foreign_key_as_radio_field(self): class ValidationTests (line 498) | class ValidationTests(unittest.TestCase): method test_validation_only_runs_in_debug (line 499) | def test_validation_only_runs_in_debug(self): method test_raw_id_fields_validation (line 522) | def test_raw_id_fields_validation(self): method test_fieldsets_validation (line 562) | def test_fieldsets_validation(self): method test_form_validation (line 669) | def test_form_validation(self): method test_fieldsets_with_custom_form_validation (line 685) | def test_fieldsets_with_custom_form_validation(self): method test_filter_vertical_validation (line 750) | def test_filter_vertical_validation(self): method test_filter_horizontal_validation (line 790) | def test_filter_horizontal_validation(self): method test_radio_fields_validation (line 830) | def test_radio_fields_validation(self): method test_prepopulated_fields_validation (line 881) | def test_prepopulated_fields_validation(self): method test_list_display_validation (line 932) | def test_list_display_validation(self): method test_list_display_links_validation (line 977) | def test_list_display_links_validation(self): method test_list_filter_validation (line 1023) | def test_list_filter_validation(self): method test_list_per_page_validation (line 1109) | def test_list_per_page_validation(self): method test_max_show_all_allowed_validation (line 1127) | def test_max_show_all_allowed_validation(self): method test_search_fields_validation (line 1145) | def test_search_fields_validation(self): method test_date_hierarchy_validation (line 1158) | def test_date_hierarchy_validation(self): method test_ordering_validation (line 1187) | def test_ordering_validation(self): method test_list_select_related_validation (line 1237) | def test_list_select_related_validation(self): method test_save_as_validation (line 1255) | def test_save_as_validation(self): method test_save_on_top_validation (line 1273) | def test_save_on_top_validation(self): method test_inlines_validation (line 1291) | def test_inlines_validation(self): method test_fields_validation (line 1357) | def test_fields_validation(self): method test_fk_name_validation (line 1389) | def test_fk_name_validation(self): method test_extra_validation (line 1415) | def test_extra_validation(self): method test_max_num_validation (line 1441) | def test_max_num_validation(self): method test_formset_validation (line 1467) | def test_formset_validation(self): FILE: Django-1.5.1/tests/regressiontests/multiple_database/models.py class Review (line 11) | class Review(models.Model): method __str__ (line 17) | def __str__(self): class Meta (line 20) | class Meta: class PersonManager (line 23) | class PersonManager(models.Manager): method get_by_natural_key (line 24) | def get_by_natural_key(self, name): class Person (line 28) | class Person(models.Model): method __str__ (line 32) | def __str__(self): class Meta (line 35) | class Meta: class BookManager (line 42) | class BookManager(models.Manager): method create (line 43) | def create(self, *args, **kwargs): method get_or_create (line 47) | def get_or_create(self, *args, **kwargs): class Book (line 52) | class Book(models.Model): method __str__ (line 61) | def __str__(self): class Meta (line 64) | class Meta: class Pet (line 68) | class Pet(models.Model): method __str__ (line 72) | def __str__(self): class Meta (line 75) | class Meta: class UserProfile (line 78) | class UserProfile(models.Model): class Meta (line 82) | class Meta: FILE: Django-1.5.1/tests/regressiontests/multiple_database/tests.py class QueryTestCase (line 19) | class QueryTestCase(TestCase): method test_db_selection (line 22) | def test_db_selection(self): method test_default_creation (line 32) | def test_default_creation(self): method test_other_creation (line 68) | def test_other_creation(self): method test_basic_queries (line 109) | def test_basic_queries(self): method test_m2m_separation (line 141) | def test_m2m_separation(self): method test_m2m_forward_operations (line 186) | def test_m2m_forward_operations(self): method test_m2m_reverse_operations (line 230) | def test_m2m_reverse_operations(self): method test_m2m_cross_database_protection (line 273) | def test_m2m_cross_database_protection(self): method test_m2m_deletion (line 321) | def test_m2m_deletion(self): method test_foreign_key_separation (line 381) | def test_foreign_key_separation(self): method test_foreign_key_reverse_operations (line 429) | def test_foreign_key_reverse_operations(self): method test_foreign_key_cross_database_protection (line 475) | def test_foreign_key_cross_database_protection(self): method test_foreign_key_deletion (line 558) | def test_foreign_key_deletion(self): method test_foreign_key_validation (line 580) | def test_foreign_key_validation(self): method test_o2o_separation (line 586) | def test_o2o_separation(self): method test_o2o_cross_database_protection (line 622) | def test_o2o_cross_database_protection(self): method test_generic_key_separation (line 696) | def test_generic_key_separation(self): method test_generic_key_reverse_operations (line 723) | def test_generic_key_reverse_operations(self): method test_generic_key_cross_database_protection (line 767) | def test_generic_key_cross_database_protection(self): method test_generic_key_deletion (line 818) | def test_generic_key_deletion(self): method test_ordering (line 841) | def test_ordering(self): method test_raw (line 855) | def test_raw(self): method test_select_related (line 865) | def test_select_related(self): method test_subquery (line 879) | def test_subquery(self): method test_related_manager (line 897) | def test_related_manager(self): class TestRouter (line 920) | class TestRouter(object): method db_for_read (line 923) | def db_for_read(self, model, instance=None, **hints): method db_for_write (line 928) | def db_for_write(self, model, **hints): method allow_relation (line 931) | def allow_relation(self, obj1, obj2, **hints): method allow_syncdb (line 934) | def allow_syncdb(self, db, model): class AuthRouter (line 937) | class AuthRouter(object): method db_for_read (line 941) | def db_for_read(self, model, **hints): method db_for_write (line 949) | def db_for_write(self, model, **hints): method allow_relation (line 955) | def allow_relation(self, obj1, obj2, **hints): method allow_syncdb (line 961) | def allow_syncdb(self, db, model): class WriteRouter (line 969) | class WriteRouter(object): method db_for_write (line 971) | def db_for_write(self, model, **hints): class RouterTestCase (line 974) | class RouterTestCase(TestCase): method setUp (line 977) | def setUp(self): method tearDown (line 982) | def tearDown(self): method test_db_selection (line 986) | def test_db_selection(self): method test_syncdb_selection (line 996) | def test_syncdb_selection(self): method test_partial_router (line 1024) | def test_partial_router(self): method test_database_routing (line 1056) | def test_database_routing(self): method test_foreign_key_cross_database_protection (line 1116) | def test_foreign_key_cross_database_protection(self): method test_m2m_cross_database_protection (line 1245) | def test_m2m_cross_database_protection(self): method test_o2o_cross_database_protection (line 1361) | def test_o2o_cross_database_protection(self): method test_generic_key_cross_database_protection (line 1385) | def test_generic_key_cross_database_protection(self): method test_m2m_managers (line 1468) | def test_m2m_managers(self): method test_foreign_key_managers (line 1485) | def test_foreign_key_managers(self): method test_generic_key_managers (line 1496) | def test_generic_key_managers(self): method test_subquery (line 1508) | def test_subquery(self): method test_deferred_models (line 1528) | def test_deferred_models(self): class AuthTestCase (line 1543) | class AuthTestCase(TestCase): method setUp (line 1546) | def setUp(self): method tearDown (line 1551) | def tearDown(self): method test_auth_manager (line 1555) | def test_auth_manager(self): method test_dumpdata (line 1583) | def test_dumpdata(self): class UserProfileTestCase (line 1603) | class UserProfileTestCase(TestCase): method test_user_profiles (line 1605) | def test_user_profiles(self): class AntiPetRouter (line 1618) | class AntiPetRouter(object): method allow_syncdb (line 1622) | def allow_syncdb(self, db, model): class FixtureTestCase (line 1629) | class FixtureTestCase(TestCase): method setUp (line 1633) | def setUp(self): method tearDown (line 1638) | def tearDown(self): method test_fixture_loading (line 1642) | def test_fixture_loading(self): method test_pseudo_empty_fixtures (line 1679) | def test_pseudo_empty_fixtures(self): class PickleQuerySetTestCase (line 1687) | class PickleQuerySetTestCase(TestCase): method test_pickling (line 1690) | def test_pickling(self): class DatabaseReceiver (line 1697) | class DatabaseReceiver(object): method __call__ (line 1701) | def __call__(self, signal, sender, **kwargs): class WriteToOtherRouter (line 1704) | class WriteToOtherRouter(object): method db_for_write (line 1708) | def db_for_write(self, model, **hints): class SignalTests (line 1711) | class SignalTests(TestCase): method setUp (line 1714) | def setUp(self): method tearDown (line 1717) | def tearDown(self): method _write_to_other (line 1720) | def _write_to_other(self): method _write_to_default (line 1724) | def _write_to_default(self): method test_database_arg_save_and_delete (line 1728) | def test_database_arg_save_and_delete(self): method test_database_arg_m2m (line 1766) | def test_database_arg_m2m(self): class AttributeErrorRouter (line 1818) | class AttributeErrorRouter(object): method db_for_read (line 1820) | def db_for_read(self, model, **hints): method db_for_write (line 1823) | def db_for_write(self, model, **hints): class RouterAttributeErrorTestCase (line 1826) | class RouterAttributeErrorTestCase(TestCase): method setUp (line 1829) | def setUp(self): method tearDown (line 1833) | def tearDown(self): method test_attribute_error_read (line 1836) | def test_attribute_error_read(self): method test_attribute_error_save (line 1844) | def test_attribute_error_save(self): method test_attribute_error_delete (line 1851) | def test_attribute_error_delete(self): method test_attribute_error_m2m (line 1862) | def test_attribute_error_m2m(self): class ModelMetaRouter (line 1871) | class ModelMetaRouter(object): method db_for_write (line 1873) | def db_for_write(self, model, **hints): class RouterModelArgumentTestCase (line 1877) | class RouterModelArgumentTestCase(TestCase): method setUp (line 1880) | def setUp(self): method tearDown (line 1884) | def tearDown(self): method test_m2m_collection (line 1887) | def test_m2m_collection(self): method test_foreignkey_collection (line 1903) | def test_foreignkey_collection(self): class SyncOnlyDefaultDatabaseRouter (line 1910) | class SyncOnlyDefaultDatabaseRouter(object): method allow_syncdb (line 1911) | def allow_syncdb(self, db, model): class SyncDBTestCase (line 1915) | class SyncDBTestCase(TestCase): method test_syncdb_to_other_database (line 1918) | def test_syncdb_to_other_database(self): method test_syncdb_to_other_database_with_router (line 1930) | def test_syncdb_to_other_database_with_router(self): FILE: Django-1.5.1/tests/regressiontests/nested_foreign_keys/models.py class Person (line 4) | class Person(models.Model): class Movie (line 8) | class Movie(models.Model): class Event (line 13) | class Event(models.Model): class Screening (line 17) | class Screening(Event): class ScreeningNullFK (line 20) | class ScreeningNullFK(Event): class Package (line 24) | class Package(models.Model): class PackageNullFK (line 27) | class PackageNullFK(models.Model): FILE: Django-1.5.1/tests/regressiontests/nested_foreign_keys/tests.py class NestedForeignKeysTests (line 26) | class NestedForeignKeysTests(TestCase): method setUp (line 27) | def setUp(self): method testInheritance (line 34) | def testInheritance(self): method testInheritanceNullFK (line 56) | def testInheritanceNullFK(self): method testExplicitForeignKey (line 77) | def testExplicitForeignKey(self): method testExplicitForeignKeyNullFK (line 98) | def testExplicitForeignKeyNullFK(self): class DeeplyNestedForeignKeysTests (line 122) | class DeeplyNestedForeignKeysTests(TestCase): method setUp (line 123) | def setUp(self): method testInheritance (line 128) | def testInheritance(self): method testExplicitForeignKey (line 148) | def testExplicitForeignKey(self): FILE: Django-1.5.1/tests/regressiontests/null_fk/models.py class SystemDetails (line 9) | class SystemDetails(models.Model): class SystemInfo (line 12) | class SystemInfo(models.Model): class Forum (line 16) | class Forum(models.Model): class Post (line 21) | class Post(models.Model): method __str__ (line 25) | def __str__(self): class Comment (line 29) | class Comment(models.Model): class Meta (line 33) | class Meta: method __str__ (line 36) | def __str__(self): class Item (line 41) | class Item(models.Model): class PropertyValue (line 44) | class PropertyValue(models.Model): class Property (line 47) | class Property(models.Model): FILE: Django-1.5.1/tests/regressiontests/null_fk/tests.py class NullFkTests (line 10) | class NullFkTests(TestCase): method test_null_fk (line 12) | def test_null_fk(self): method test_combine_isnull (line 49) | def test_combine_isnull(self): FILE: Django-1.5.1/tests/regressiontests/null_fk_ordering/models.py class Author (line 15) | class Author(models.Model): class Article (line 19) | class Article(models.Model): method __str__ (line 23) | def __str__(self): class Meta (line 26) | class Meta: class SystemInfo (line 31) | class SystemInfo(models.Model): class Forum (line 34) | class Forum(models.Model): class Post (line 39) | class Post(models.Model): method __str__ (line 43) | def __str__(self): class Comment (line 47) | class Comment(models.Model): class Meta (line 51) | class Meta: method __str__ (line 54) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/null_fk_ordering/tests.py class NullFkOrderingTests (line 8) | class NullFkOrderingTests(TestCase): method test_ordering_across_null_fk (line 10) | def test_ordering_across_null_fk(self): FILE: Django-1.5.1/tests/regressiontests/null_queries/models.py class Poll (line 8) | class Poll(models.Model): method __str__ (line 11) | def __str__(self): class Choice (line 15) | class Choice(models.Model): method __str__ (line 19) | def __str__(self): class OuterA (line 23) | class OuterA(models.Model): class OuterB (line 26) | class OuterB(models.Model): class Inner (line 29) | class Inner(models.Model): FILE: Django-1.5.1/tests/regressiontests/null_queries/tests.py class NullQueriesTests (line 9) | class NullQueriesTests(TestCase): method test_none_as_null (line 11) | def test_none_as_null(self): method test_reverse_relations (line 51) | def test_reverse_relations(self): FILE: Django-1.5.1/tests/regressiontests/one_to_one_regress/models.py class Place (line 8) | class Place(models.Model): method __str__ (line 12) | def __str__(self): class Restaurant (line 16) | class Restaurant(models.Model): method __str__ (line 21) | def __str__(self): class Bar (line 25) | class Bar(models.Model): method __str__ (line 29) | def __str__(self): class UndergroundBar (line 32) | class UndergroundBar(models.Model): class Favorites (line 37) | class Favorites(models.Model): method __str__ (line 41) | def __str__(self): class Target (line 44) | class Target(models.Model): class Pointer (line 47) | class Pointer(models.Model): class Pointer2 (line 50) | class Pointer2(models.Model): FILE: Django-1.5.1/tests/regressiontests/one_to_one_regress/tests.py class OneToOneRegressionTests (line 8) | class OneToOneRegressionTests(TestCase): method setUp (line 10) | def setUp(self): method test_reverse_relationship_cache_cascade (line 18) | def test_reverse_relationship_cache_cascade(self): method test_create_models_m2m (line 36) | def test_create_models_m2m(self): method test_reverse_object_cache (line 51) | def test_reverse_object_cache(self): method test_related_object_cache (line 60) | def test_related_object_cache(self): method test_filter_one_to_one_relations (line 109) | def test_filter_one_to_one_relations(self): method test_reverse_object_does_not_exist_cache (line 136) | def test_reverse_object_does_not_exist_cache(self): method test_reverse_object_cached_when_related_is_accessed (line 151) | def test_reverse_object_cached_when_related_is_accessed(self): method test_related_object_cached_when_reverse_is_accessed (line 164) | def test_related_object_cached_when_reverse_is_accessed(self): method test_reverse_object_cached_when_related_is_set (line 177) | def test_reverse_object_cached_when_related_is_set(self): method test_reverse_object_cached_when_related_is_unset (line 190) | def test_reverse_object_cached_when_related_is_unset(self): method test_get_reverse_on_unsaved_object (line 206) | def test_get_reverse_on_unsaved_object(self): method test_set_reverse_on_unsaved_object (line 235) | def test_set_reverse_on_unsaved_object(self): FILE: Django-1.5.1/tests/regressiontests/pagination/models.py class Article (line 6) | class Article(models.Model): method __str__ (line 10) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/pagination/tests.py class PaginationTests (line 14) | class PaginationTests(unittest.TestCase): method check_paginator (line 19) | def check_paginator(self, params, output): method check_attribute (line 30) | def check_attribute(self, name, paginator, expected, params, coerce=No... method test_paginator (line 42) | def test_paginator(self): method test_invalid_page_number (line 109) | def test_invalid_page_number(self): method test_paginate_misc_classes (line 122) | def test_paginate_misc_classes(self): method check_indexes (line 141) | def check_indexes(self, params, page_num, indexes): method test_page_indexes (line 161) | def test_page_indexes(self): method test_page_sequence (line 208) | def test_page_sequence(self): class ModelPaginationTests (line 221) | class ModelPaginationTests(TestCase): method setUp (line 225) | def setUp(self): method test_first_page (line 231) | def test_first_page(self): method test_last_page (line 251) | def test_last_page(self): method test_page_getitem (line 270) | def test_page_getitem(self): FILE: Django-1.5.1/tests/regressiontests/queries/models.py class DumbCategory (line 13) | class DumbCategory(models.Model): class ProxyCategory (line 16) | class ProxyCategory(DumbCategory): class Meta (line 17) | class Meta: class NamedCategory (line 20) | class NamedCategory(DumbCategory): class Tag (line 24) | class Tag(models.Model): class Meta (line 30) | class Meta: method __str__ (line 33) | def __str__(self): class Note (line 37) | class Note(models.Model): class Meta (line 41) | class Meta: method __str__ (line 44) | def __str__(self): method __init__ (line 47) | def __init__(self, *args, **kwargs): class Annotation (line 55) | class Annotation(models.Model): method __str__ (line 60) | def __str__(self): class ExtraInfo (line 64) | class ExtraInfo(models.Model): class Meta (line 69) | class Meta: method __str__ (line 72) | def __str__(self): class Author (line 76) | class Author(models.Model): class Meta (line 81) | class Meta: method __str__ (line 84) | def __str__(self): class Item (line 88) | class Item(models.Model): class Meta (line 96) | class Meta: method __str__ (line 99) | def __str__(self): class Report (line 103) | class Report(models.Model): method __str__ (line 107) | def __str__(self): class Ranking (line 111) | class Ranking(models.Model): class Meta (line 115) | class Meta: method __str__ (line 119) | def __str__(self): class Cover (line 123) | class Cover(models.Model): class Meta (line 127) | class Meta: method __str__ (line 130) | def __str__(self): class Number (line 134) | class Number(models.Model): method __str__ (line 137) | def __str__(self): class Valid (line 142) | class Valid(models.Model): class Meta (line 146) | class Meta: class X (line 151) | class X(models.Model): class Y (line 154) | class Y(models.Model): class LoopX (line 159) | class LoopX(models.Model): class Meta (line 162) | class Meta: class LoopY (line 165) | class LoopY(models.Model): class Meta (line 168) | class Meta: class LoopZ (line 171) | class LoopZ(models.Model): class Meta (line 174) | class Meta: class CustomManager (line 178) | class CustomManager(models.Manager): method get_query_set (line 179) | def get_query_set(self): class ManagedModel (line 184) | class ManagedModel(models.Model): method __str__ (line 192) | def __str__(self): class Detail (line 196) | class Detail(models.Model): class MemberManager (line 199) | class MemberManager(models.Manager): method get_query_set (line 200) | def get_query_set(self): class Member (line 203) | class Member(models.Model): class Child (line 209) | class Child(models.Model): class CustomPk (line 214) | class CustomPk(models.Model): class Meta (line 218) | class Meta: class Related (line 221) | class Related(models.Model): class Celebrity (line 228) | class Celebrity(models.Model): method __str__ (line 232) | def __str__(self): class TvChef (line 235) | class TvChef(Celebrity): class Fan (line 238) | class Fan(models.Model): class LeafA (line 243) | class LeafA(models.Model): method __str__ (line 246) | def __str__(self): class LeafB (line 249) | class LeafB(models.Model): class Join (line 252) | class Join(models.Model): class ReservedName (line 257) | class ReservedName(models.Model): method __str__ (line 261) | def __str__(self): class SharedConnection (line 265) | class SharedConnection(models.Model): class PointerA (line 268) | class PointerA(models.Model): class PointerB (line 271) | class PointerB(models.Model): class SingleObject (line 276) | class SingleObject(models.Model): class Meta (line 279) | class Meta: method __str__ (line 282) | def __str__(self): class RelatedObject (line 285) | class RelatedObject(models.Model): class Meta (line 288) | class Meta: class Plaything (line 292) | class Plaything(models.Model): class Meta (line 296) | class Meta: method __str__ (line 299) | def __str__(self): class Article (line 302) | class Article(models.Model): class Food (line 307) | class Food(models.Model): method __str__ (line 310) | def __str__(self): class Eaten (line 314) | class Eaten(models.Model): method __str__ (line 318) | def __str__(self): class Node (line 322) | class Node(models.Model): method __str__ (line 326) | def __str__(self): class ObjectA (line 331) | class ObjectA(models.Model): method __str__ (line 334) | def __str__(self): class ObjectB (line 338) | class ObjectB(models.Model): method __str__ (line 343) | def __str__(self): class ObjectC (line 347) | class ObjectC(models.Model): method __str__ (line 352) | def __str__(self): class SimpleCategory (line 356) | class SimpleCategory(models.Model): method __str__ (line 359) | def __str__(self): class SpecialCategory (line 363) | class SpecialCategory(SimpleCategory): method __str__ (line 366) | def __str__(self): class CategoryItem (line 370) | class CategoryItem(models.Model): method __str__ (line 373) | def __str__(self): class OneToOneCategory (line 377) | class OneToOneCategory(models.Model): method __str__ (line 381) | def __str__(self): class NullableName (line 384) | class NullableName(models.Model): class Meta (line 387) | class Meta: class ModelD (line 390) | class ModelD(models.Model): class ModelC (line 393) | class ModelC(models.Model): class ModelB (line 396) | class ModelB(models.Model): class ModelA (line 400) | class ModelA(models.Model): FILE: Django-1.5.1/tests/regressiontests/queries/tests.py class BaseQuerysetTest (line 29) | class BaseQuerysetTest(TestCase): method assertValueQuerysetEqual (line 30) | def assertValueQuerysetEqual(self, qs, values): class Queries1Tests (line 34) | class Queries1Tests(BaseQuerysetTest): method setUp (line 35) | def setUp(self): method test_ticket1050 (line 85) | def test_ticket1050(self): method test_ticket1801 (line 95) | def test_ticket1801(self): method test_ticket2306 (line 109) | def test_ticket2306(self): method test_ticket4464 (line 145) | def test_ticket4464(self): method test_tickets_2080_3592 (line 169) | def test_tickets_2080_3592(self): method test_ticket6074 (line 187) | def test_ticket6074(self): method test_tickets_1878_2939 (line 196) | def test_tickets_1878_2939(self): method test_ticket7323 (line 217) | def test_ticket7323(self): method test_ticket2253 (line 220) | def test_ticket2253(self): method test_order_by_tables (line 242) | def test_order_by_tables(self): method test_order_by_join_unref (line 248) | def test_order_by_join_unref(self): method test_tickets_4088_4306 (line 258) | def test_tickets_4088_4306(self): method test_ticket4510 (line 277) | def test_ticket4510(self): method test_ticket7378 (line 283) | def test_ticket7378(self): method test_tickets_5324_6704 (line 286) | def test_tickets_5324_6704(self): method test_ticket2091 (line 355) | def test_ticket2091(self): method test_heterogeneous_qs_combination (line 362) | def test_heterogeneous_qs_combination(self): method test_ticket3141 (line 376) | def test_ticket3141(self): method test_ticket2400 (line 383) | def test_ticket2400(self): method test_ticket2496 (line 393) | def test_ticket2496(self): method test_tickets_2076_7256 (line 399) | def test_tickets_2076_7256(self): method test_tickets_2874_3002 (line 446) | def test_tickets_2874_3002(self): method test_ticket3037 (line 458) | def test_ticket3037(self): method test_tickets_5321_7070 (line 464) | def test_tickets_5321_7070(self): method test_ticket4358 (line 475) | def test_ticket4358(self): method test_ticket2902 (line 496) | def test_ticket2902(self): method test_ticket6154 (line 518) | def test_ticket6154(self): method test_ticket6981 (line 530) | def test_ticket6981(self): method test_ticket9926 (line 536) | def test_ticket9926(self): method test_tickets_6180_6203 (line 546) | def test_tickets_6180_6203(self): method test_tickets_7087_12242 (line 554) | def test_tickets_7087_12242(self): method test_ticket7155 (line 576) | def test_ticket7155(self): method test_ticket7098 (line 583) | def test_ticket7098(self): method test_ticket7096 (line 591) | def test_ticket7096(self): method test_tickets_7204_7506 (line 624) | def test_tickets_7204_7506(self): method test_ticket7813 (line 629) | def test_ticket7813(self): method test_deferred_load_qs_pickling (line 641) | def test_deferred_load_qs_pickling(self): method test_ticket7277 (line 649) | def test_ticket7277(self): method test_tickets_7448_7707 (line 655) | def test_tickets_7448_7707(self): method test_ticket7235 (line 663) | def test_ticket7235(self): method test_ticket7791 (line 688) | def test_ticket7791(self): method test_ticket9997 (line 700) | def test_ticket9997(self): method test_ticket9985 (line 721) | def test_ticket9985(self): method test_ticket10205 (line 732) | def test_ticket10205(self): method test_ticket10432 (line 737) | def test_ticket10432(self): method test_ticket10742 (line 748) | def test_ticket10742(self): method test_ticket7076 (line 774) | def test_ticket7076(self): method test_ticket7181 (line 785) | def test_ticket7181(self): method test_ticket9411 (line 803) | def test_ticket9411(self): method test_ticket8439 (line 811) | def test_ticket8439(self): method test_ticket17429 (line 838) | def test_ticket17429(self): method test_exclude (line 850) | def test_exclude(self): method test_nested_exclude (line 861) | def test_nested_exclude(self): method test_double_exclude (line 866) | def test_double_exclude(self): method test_exclude_in (line 875) | def test_exclude_in(self): method test_ticket19672 (line 883) | def test_ticket19672(self): class Queries2Tests (line 891) | class Queries2Tests(TestCase): method setUp (line 892) | def setUp(self): method test_ticket4289 (line 897) | def test_ticket4289(self): method test_ticket12239 (line 923) | def test_ticket12239(self): method test_ticket7411 (line 981) | def test_ticket7411(self): method test_ticket7759 (line 991) | def test_ticket7759(self): class Queries3Tests (line 1001) | class Queries3Tests(BaseQuerysetTest): method test_ticket7107 (line 1002) | def test_ticket7107(self): method test_ticket8683 (line 1006) | def test_ticket8683(self): class Queries4Tests (line 1015) | class Queries4Tests(BaseQuerysetTest): method setUp (line 1016) | def setUp(self): method test_ticket14876 (line 1036) | def test_ticket14876(self): method test_ticket7095 (line 1057) | def test_ticket7095(self): method test_order_by_resetting (line 1096) | def test_order_by_resetting(self): method test_ticket10181 (line 1102) | def test_ticket10181(self): method test_ticket15316_filter_false (line 1110) | def test_ticket15316_filter_false(self): method test_ticket15316_exclude_false (line 1125) | def test_ticket15316_exclude_false(self): method test_ticket15316_filter_true (line 1140) | def test_ticket15316_filter_true(self): method test_ticket15316_exclude_true (line 1155) | def test_ticket15316_exclude_true(self): method test_ticket15316_one2one_filter_false (line 1170) | def test_ticket15316_one2one_filter_false(self): method test_ticket15316_one2one_exclude_false (line 1186) | def test_ticket15316_one2one_exclude_false(self): method test_ticket15316_one2one_filter_true (line 1202) | def test_ticket15316_one2one_filter_true(self): method test_ticket15316_one2one_exclude_true (line 1218) | def test_ticket15316_one2one_exclude_true(self): class Queries5Tests (line 1235) | class Queries5Tests(TestCase): method setUp (line 1236) | def setUp(self): method test_ordering (line 1250) | def test_ordering(self): method test_ticket7256 (line 1287) | def test_ticket7256(self): method test_ticket7045 (line 1298) | def test_ticket7045(self): method test_ticket9848 (line 1305) | def test_ticket9848(self): method test_ticket5261 (line 1328) | def test_ticket5261(self): class SelectRelatedTests (line 1348) | class SelectRelatedTests(TestCase): method test_tickets_3045_3288 (line 1349) | def test_tickets_3045_3288(self): class SubclassFKTests (line 1357) | class SubclassFKTests(TestCase): method test_ticket7778 (line 1358) | def test_ticket7778(self): class CustomPkTests (line 1373) | class CustomPkTests(TestCase): method test_ticket7371 (line 1374) | def test_ticket7371(self): class NullableRelOrderingTests (line 1378) | class NullableRelOrderingTests(TestCase): method test_ticket10028 (line 1379) | def test_ticket10028(self): method test_join_already_in_query (line 1388) | def test_join_already_in_query(self): class DisjunctiveFilterTests (line 1410) | class DisjunctiveFilterTests(TestCase): method setUp (line 1411) | def setUp(self): method test_ticket7872 (line 1415) | def test_ticket7872(self): method test_ticket8283 (line 1427) | def test_ticket8283(self): class Queries6Tests (line 1439) | class Queries6Tests(TestCase): method setUp (line 1440) | def setUp(self): method test_slicing_and_cache_interaction (line 1455) | def test_slicing_and_cache_interaction(self): method test_parallel_iterators (line 1476) | def test_parallel_iterators(self): method test_nested_queries_sql (line 1491) | def test_nested_queries_sql(self): method test_tickets_8921_9188 (line 1500) | def test_tickets_8921_9188(self): method test_ticket3739 (line 1541) | def test_ticket3739(self): class RawQueriesTests (line 1547) | class RawQueriesTests(TestCase): method setUp (line 1548) | def setUp(self): method test_ticket14729 (line 1551) | def test_ticket14729(self): class GeneratorExpressionTests (line 1564) | class GeneratorExpressionTests(TestCase): method test_ticket10432 (line 1565) | def test_ticket10432(self): class ComparisonTests (line 1574) | class ComparisonTests(TestCase): method setUp (line 1575) | def setUp(self): method test_ticket8597 (line 1580) | def test_ticket8597(self): class ExistsSql (line 1602) | class ExistsSql(TestCase): method setUp (line 1603) | def setUp(self): method test_exists (line 1606) | def test_exists(self): method tearDown (line 1611) | def tearDown(self): class QuerysetOrderedTests (line 1615) | class QuerysetOrderedTests(unittest.TestCase): method test_no_default_or_explicit_ordering (line 1620) | def test_no_default_or_explicit_ordering(self): method test_cleared_default_ordering (line 1623) | def test_cleared_default_ordering(self): method test_explicit_ordering (line 1627) | def test_explicit_ordering(self): method test_order_by_extra (line 1630) | def test_order_by_extra(self): method test_annotated_ordering (line 1633) | def test_annotated_ordering(self): class SubqueryTests (line 1639) | class SubqueryTests(TestCase): method setUp (line 1640) | def setUp(self): method test_ordered_subselect (line 1645) | def test_ordered_subselect(self): method test_sliced_delete (line 1662) | def test_sliced_delete(self): class CloneTests (line 1674) | class CloneTests(TestCase): method test_evaluated_queryset_as_argument (line 1675) | def test_evaluated_queryset_as_argument(self): class EmptyQuerySetTests (line 1690) | class EmptyQuerySetTests(TestCase): method test_emptyqueryset_values (line 1691) | def test_emptyqueryset_values(self): method test_values_subquery (line 1698) | def test_values_subquery(self): method test_ticket_19151 (line 1708) | def test_ticket_19151(self): class ValuesQuerysetTests (line 1716) | class ValuesQuerysetTests(BaseQuerysetTest): method test_flat_values_lits (line 1717) | def test_flat_values_lits(self): class WeirdQuerysetSlicingTests (line 1726) | class WeirdQuerysetSlicingTests(BaseQuerysetTest): method setUp (line 1727) | def setUp(self): method test_tickets_7698_10202 (line 1736) | def test_tickets_7698_10202(self): method test_empty_resultset_sql (line 1747) | def test_empty_resultset_sql(self): class EscapingTests (line 1752) | class EscapingTests(TestCase): method test_ticket_7302 (line 1753) | def test_ticket_7302(self): class ToFieldTests (line 1767) | class ToFieldTests(TestCase): method test_in_query (line 1768) | def test_in_query(self): method test_reverse_in (line 1779) | def test_reverse_in(self): method test_single_object (line 1790) | def test_single_object(self): method test_single_object_reverse (line 1800) | def test_single_object_reverse(self): method test_recursive_fk (line 1809) | def test_recursive_fk(self): method test_recursive_fk_reverse (line 1818) | def test_recursive_fk_reverse(self): class ConditionalTests (line 1828) | class ConditionalTests(BaseQuerysetTest): method setUp (line 1832) | def setUp(self): method test_infinite_loop (line 1847) | def test_infinite_loop(self): method test_null_ordering_added (line 1877) | def test_null_ordering_added(self): method test_ticket14244 (line 1889) | def test_ticket14244(self): class UnionTests (line 1914) | class UnionTests(unittest.TestCase): method setUp (line 1918) | def setUp(self): method check_union (line 1938) | def check_union(self, model, Q1, Q2): method test_A_AB (line 1943) | def test_A_AB(self): method test_A_AB2 (line 1948) | def test_A_AB2(self): method test_AB_ACB (line 1953) | def test_AB_ACB(self): method test_BAB_BAC (line 1958) | def test_BAB_BAC(self): method test_BAB_BACB (line 1963) | def test_BAB_BACB(self): method test_BA_BCA__BAB_BAC_BCA (line 1968) | def test_BA_BCA__BAB_BAC_BCA(self): class DefaultValuesInsertTest (line 1974) | class DefaultValuesInsertTest(TestCase): method test_no_extra_params (line 1975) | def test_no_extra_params(self): class NullInExcludeTest (line 1982) | class NullInExcludeTest(TestCase): method setUp (line 1983) | def setUp(self): method test_null_in_exclude_qs (line 1987) | def test_null_in_exclude_qs(self): method test_col_not_in_list_containing_null (line 2007) | def test_col_not_in_list_containing_null(self): class EmptyStringsAsNullTest (line 2017) | class EmptyStringsAsNullTest(TestCase): method setUp (line 2024) | def setUp(self): method test_direct_exclude (line 2027) | def test_direct_exclude(self): method test_joined_exclude (line 2033) | def test_joined_exclude(self): class ProxyQueryCleanupTest (line 2039) | class ProxyQueryCleanupTest(TestCase): method test_evaluated_proxy_count (line 2040) | def test_evaluated_proxy_count(self): class WhereNodeTest (line 2051) | class WhereNodeTest(TestCase): class DummyNode (line 2052) | class DummyNode(object): method as_sql (line 2053) | def as_sql(self, qn, connection): method test_empty_full_handling_conjunction (line 2056) | def test_empty_full_handling_conjunction(self): method test_empty_full_handling_disjunction (line 2081) | def test_empty_full_handling_disjunction(self): method test_empty_nodes (line 2108) | def test_empty_nodes(self): class NullJoinPromotionOrTest (line 2122) | class NullJoinPromotionOrTest(TestCase): method setUp (line 2123) | def setUp(self): method test_ticket_17886 (line 2127) | def test_ticket_17886(self): class EmptyStringPromotionTests (line 2145) | class EmptyStringPromotionTests(TestCase): method test_empty_string_promotion (line 2146) | def test_empty_string_promotion(self): FILE: Django-1.5.1/tests/regressiontests/queryset_pickle/models.py function standalone_number (line 9) | def standalone_number(self): class Numbers (line 12) | class Numbers(object): method get_static_number (line 14) | def get_static_number(self): method get_class_number (line 18) | def get_class_number(self): method get_member_number (line 21) | def get_member_number(self): class Group (line 26) | class Group(models.Model): class Event (line 29) | class Event(models.Model): class Happening (line 32) | class Happening(models.Model): FILE: Django-1.5.1/tests/regressiontests/queryset_pickle/tests.py class PickleabilityTestCase (line 11) | class PickleabilityTestCase(TestCase): method assert_pickles (line 12) | def assert_pickles(self, qs): method test_related_field (line 15) | def test_related_field(self): method test_datetime_callable_default_all (line 19) | def test_datetime_callable_default_all(self): method test_datetime_callable_default_filter (line 22) | def test_datetime_callable_default_filter(self): method test_lambda_as_default (line 25) | def test_lambda_as_default(self): method test_standalone_method_as_default (line 28) | def test_standalone_method_as_default(self): method test_staticmethod_as_default (line 31) | def test_staticmethod_as_default(self): method test_classmethod_as_default (line 34) | def test_classmethod_as_default(self): method test_membermethod_as_default (line 37) | def test_membermethod_as_default(self): method test_doesnotexist_exception (line 40) | def test_doesnotexist_exception(self): FILE: Django-1.5.1/tests/regressiontests/requests/tests.py class RequestsTests (line 23) | class RequestsTests(unittest.TestCase): method test_httprequest (line 24) | def test_httprequest(self): method test_httprequest_repr (line 31) | def test_httprequest_repr(self): method test_wsgirequest (line 43) | def test_wsgirequest(self): method test_wsgirequest_repr (line 53) | def test_wsgirequest_repr(self): method test_wsgirequest_path_info (line 64) | def test_wsgirequest_path_info(self): method test_parse_cookie (line 74) | def test_parse_cookie(self): method test_httprequest_location (line 77) | def test_httprequest_location(self): method test_http_get_host (line 94) | def test_http_get_host(self): method test_http_get_host_with_x_forwarded_host (line 170) | def test_http_get_host_with_x_forwarded_host(self): method test_host_validation_disabled_in_debug_mode (line 243) | def test_host_validation_disabled_in_debug_mode(self): method test_near_expiration (line 252) | def test_near_expiration(self): method test_aware_expiration (line 268) | def test_aware_expiration(self): method test_far_expiration (line 277) | def test_far_expiration(self): method test_max_age_expiration (line 284) | def test_max_age_expiration(self): method test_httponly_cookie (line 292) | def test_httponly_cookie(self): method test_limited_stream (line 301) | def test_limited_stream(self): method test_stream (line 358) | def test_stream(self): method test_read_after_value (line 366) | def test_read_after_value(self): method test_value_after_read (line 380) | def test_value_after_read(self): method test_non_ascii_POST (line 394) | def test_non_ascii_POST(self): method test_alternate_charset_POST (line 404) | def test_alternate_charset_POST(self): method test_body_after_POST_multipart (line 418) | def test_body_after_POST_multipart(self): method test_POST_multipart_with_content_length_zero (line 439) | def test_POST_multipart_with_content_length_zero(self): method test_POST_binary_only (line 460) | def test_POST_binary_only(self): method test_read_by_lines (line 478) | def test_read_by_lines(self): method test_POST_after_body_read (line 486) | def test_POST_after_body_read(self): method test_POST_after_body_read_and_stream_read (line 498) | def test_POST_after_body_read_and_stream_read(self): method test_POST_after_body_read_and_stream_read_multipart (line 512) | def test_POST_after_body_read_and_stream_read_multipart(self): method test_raw_post_data_returns_body (line 533) | def test_raw_post_data_returns_body(self): method test_POST_connection_error (line 547) | def test_POST_connection_error(self): class TransactionRequestTests (line 565) | class TransactionRequestTests(TransactionTestCase): method test_request_finished_db_state (line 566) | def test_request_finished_db_state(self): method test_request_finished_failed_connection (line 584) | def test_request_finished_failed_connection(self): FILE: Django-1.5.1/tests/regressiontests/resolve_url/models.py class UnimportantThing (line 8) | class UnimportantThing(models.Model): method get_absolute_url (line 11) | def get_absolute_url(self): FILE: Django-1.5.1/tests/regressiontests/resolve_url/tests.py class ResolveUrlTests (line 11) | class ResolveUrlTests(TestCase): method test_url_path (line 16) | def test_url_path(self): method test_full_url (line 23) | def test_full_url(self): method test_model (line 31) | def test_model(self): method test_view_function (line 39) | def test_view_function(self): method test_valid_view_name (line 47) | def test_valid_view_name(self): method test_domain (line 55) | def test_domain(self): method test_non_view_callable_raises_no_reverse_match (line 61) | def test_non_view_callable_raises_no_reverse_match(self): FILE: Django-1.5.1/tests/regressiontests/reverse_single_related/models.py class SourceManager (line 4) | class SourceManager(models.Manager): method get_query_set (line 5) | def get_query_set(self): class Source (line 8) | class Source(models.Model): class Item (line 12) | class Item(models.Model): FILE: Django-1.5.1/tests/regressiontests/reverse_single_related/tests.py class ReverseSingleRelatedTests (line 8) | class ReverseSingleRelatedTests(TestCase): method test_reverse_single_related (line 14) | def test_reverse_single_related(self): FILE: Django-1.5.1/tests/regressiontests/select_related_onetoone/models.py class User (line 6) | class User(models.Model): method __str__ (line 10) | def __str__(self): class UserProfile (line 15) | class UserProfile(models.Model): method __str__ (line 20) | def __str__(self): class UserStatResult (line 25) | class UserStatResult(models.Model): method __str__ (line 28) | def __str__(self): class UserStat (line 33) | class UserStat(models.Model): method __str__ (line 38) | def __str__(self): class StatDetails (line 43) | class StatDetails(models.Model): method __str__ (line 47) | def __str__(self): class AdvancedUserStat (line 51) | class AdvancedUserStat(UserStat): class Image (line 54) | class Image(models.Model): class Product (line 58) | class Product(models.Model): FILE: Django-1.5.1/tests/regressiontests/select_related_onetoone/tests.py class ReverseSelectRelatedTestCase (line 9) | class ReverseSelectRelatedTestCase(TestCase): method setUp (line 10) | def setUp(self): method test_basic (line 25) | def test_basic(self): method test_follow_next_level (line 30) | def test_follow_next_level(self): method test_follow_two (line 36) | def test_follow_two(self): method test_follow_two_next_level (line 42) | def test_follow_two_next_level(self): method test_forward_and_back (line 48) | def test_forward_and_back(self): method test_back_and_forward (line 54) | def test_back_and_forward(self): method test_not_followed_by_default (line 59) | def test_not_followed_by_default(self): method test_follow_from_child_class (line 64) | def test_follow_from_child_class(self): method test_follow_inheritance (line 70) | def test_follow_inheritance(self): method test_nullable_relation (line 77) | def test_nullable_relation(self): method test_missing_reverse (line 90) | def test_missing_reverse(self): method test_nullable_missing_reverse (line 100) | def test_nullable_missing_reverse(self): FILE: Django-1.5.1/tests/regressiontests/select_related_regress/models.py class Building (line 8) | class Building(models.Model): method __str__ (line 11) | def __str__(self): class Device (line 15) | class Device(models.Model): method __str__ (line 19) | def __str__(self): class Port (line 23) | class Port(models.Model): method __str__ (line 27) | def __str__(self): class Connection (line 31) | class Connection(models.Model): method __str__ (line 36) | def __str__(self): class TUser (line 41) | class TUser(models.Model): class Person (line 44) | class Person(models.Model): class Organizer (line 47) | class Organizer(models.Model): class Student (line 50) | class Student(models.Model): class Class (line 53) | class Class(models.Model): class Enrollment (line 56) | class Enrollment(models.Model): class Country (line 61) | class Country(models.Model): class State (line 64) | class State(models.Model): class ClientStatus (line 68) | class ClientStatus(models.Model): class Client (line 71) | class Client(models.Model): class SpecialClient (line 76) | class SpecialClient(Client): class Parent (line 81) | class Parent(models.Model): method __str__ (line 84) | def __str__(self): class Child (line 87) | class Child(Parent): class Item (line 91) | class Item(models.Model): method __str__ (line 95) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/select_related_regress/tests.py class SelectRelatedRegressTests (line 11) | class SelectRelatedRegressTests(TestCase): method test_regression_7110 (line 13) | def test_regression_7110(self): method test_regression_8106 (line 49) | def test_regression_8106(self): method test_regression_8036 (line 71) | def test_regression_8036(self): method test_multi_table_inheritance (line 93) | def test_multi_table_inheritance(self): method test_regression_12851 (line 104) | def test_regression_12851(self): FILE: Django-1.5.1/tests/regressiontests/serializers_regress/models.py class BooleanData (line 15) | class BooleanData(models.Model): class CharData (line 18) | class CharData(models.Model): class DateData (line 21) | class DateData(models.Model): class DateTimeData (line 24) | class DateTimeData(models.Model): class DecimalData (line 27) | class DecimalData(models.Model): class EmailData (line 30) | class EmailData(models.Model): class FileData (line 33) | class FileData(models.Model): class FilePathData (line 36) | class FilePathData(models.Model): class FloatData (line 39) | class FloatData(models.Model): class IntegerData (line 42) | class IntegerData(models.Model): class BigIntegerData (line 45) | class BigIntegerData(models.Model): class IPAddressData (line 51) | class IPAddressData(models.Model): class GenericIPAddressData (line 54) | class GenericIPAddressData(models.Model): class NullBooleanData (line 57) | class NullBooleanData(models.Model): class PositiveIntegerData (line 60) | class PositiveIntegerData(models.Model): class PositiveSmallIntegerData (line 63) | class PositiveSmallIntegerData(models.Model): class SlugData (line 66) | class SlugData(models.Model): class SmallData (line 69) | class SmallData(models.Model): class TextData (line 72) | class TextData(models.Model): class TimeData (line 75) | class TimeData(models.Model): class Tag (line 78) | class Tag(models.Model): class Meta (line 86) | class Meta: class GenericData (line 89) | class GenericData(models.Model): class Anchor (line 98) | class Anchor(models.Model): class Meta (line 104) | class Meta: class NaturalKeyAnchorManager (line 107) | class NaturalKeyAnchorManager(models.Manager): method get_by_natural_key (line 108) | def get_by_natural_key(self, data): class NaturalKeyAnchor (line 111) | class NaturalKeyAnchor(models.Model): method natural_key (line 116) | def natural_key(self): class UniqueAnchor (line 119) | class UniqueAnchor(models.Model): class FKData (line 125) | class FKData(models.Model): class FKDataNaturalKey (line 128) | class FKDataNaturalKey(models.Model): class M2MData (line 131) | class M2MData(models.Model): class O2OData (line 134) | class O2OData(models.Model): class FKSelfData (line 138) | class FKSelfData(models.Model): class M2MSelfData (line 141) | class M2MSelfData(models.Model): class FKDataToField (line 144) | class FKDataToField(models.Model): class FKDataToO2O (line 147) | class FKDataToO2O(models.Model): class M2MIntermediateData (line 150) | class M2MIntermediateData(models.Model): class Intermediate (line 153) | class Intermediate(models.Model): class BooleanPKData (line 165) | class BooleanPKData(models.Model): class CharPKData (line 168) | class CharPKData(models.Model): class DecimalPKData (line 177) | class DecimalPKData(models.Model): class EmailPKData (line 180) | class EmailPKData(models.Model): class FilePathPKData (line 186) | class FilePathPKData(models.Model): class FloatPKData (line 189) | class FloatPKData(models.Model): class IntegerPKData (line 192) | class IntegerPKData(models.Model): class IPAddressPKData (line 198) | class IPAddressPKData(models.Model): class GenericIPAddressPKData (line 201) | class GenericIPAddressPKData(models.Model): class PositiveIntegerPKData (line 208) | class PositiveIntegerPKData(models.Model): class PositiveSmallIntegerPKData (line 211) | class PositiveSmallIntegerPKData(models.Model): class SlugPKData (line 214) | class SlugPKData(models.Model): class SmallPKData (line 217) | class SmallPKData(models.Model): class ComplexModel (line 226) | class ComplexModel(models.Model): class AutoNowDateTimeData (line 233) | class AutoNowDateTimeData(models.Model): class ModifyingSaveData (line 236) | class ModifyingSaveData(models.Model): method save (line 239) | def save(self): class AbstractBaseModel (line 246) | class AbstractBaseModel(models.Model): class Meta (line 248) | class Meta: class InheritAbstractModel (line 251) | class InheritAbstractModel(AbstractBaseModel): class BaseModel (line 254) | class BaseModel(models.Model): class InheritBaseModel (line 257) | class InheritBaseModel(BaseModel): class ExplicitInheritBaseModel (line 260) | class ExplicitInheritBaseModel(BaseModel): class ProxyBaseModel (line 264) | class ProxyBaseModel(BaseModel): class Meta (line 265) | class Meta: class ProxyProxyBaseModel (line 268) | class ProxyProxyBaseModel(ProxyBaseModel): class Meta (line 269) | class Meta: class LengthModel (line 272) | class LengthModel(models.Model): method __len__ (line 275) | def __len__(self): FILE: Django-1.5.1/tests/regressiontests/serializers_regress/tests.py function data_create (line 50) | def data_create(pk, klass, data): function generic_create (line 56) | def generic_create(pk, klass, data): function fk_create (line 64) | def fk_create(pk, klass, data): function m2m_create (line 70) | def m2m_create(pk, klass, data): function im2m_create (line 76) | def im2m_create(pk, klass, data): function im_create (line 81) | def im_create(pk, klass, data): function o2o_create (line 90) | def o2o_create(pk, klass, data): function pk_create (line 96) | def pk_create(pk, klass, data): function inherited_create (line 102) | def inherited_create(pk, klass, data): function data_compare (line 117) | def data_compare(testcase, pk, klass, data): function generic_compare (line 124) | def generic_compare(testcase, pk, klass, data): function fk_compare (line 129) | def fk_compare(testcase, pk, klass, data): function m2m_compare (line 133) | def m2m_compare(testcase, pk, klass, data): function im2m_compare (line 137) | def im2m_compare(testcase, pk, klass, data): function im_compare (line 141) | def im_compare(testcase, pk, klass, data): function o2o_compare (line 150) | def o2o_compare(testcase, pk, klass, data): function pk_compare (line 154) | def pk_compare(testcase, pk, klass, data): function inherited_compare (line 158) | def inherited_compare(testcase, pk, klass, data): class SerializerTests (line 373) | class SerializerTests(TestCase): method test_get_unknown_serializer (line 374) | def test_get_unknown_serializer(self): method test_unregister_unkown_serializer (line 389) | def test_unregister_unkown_serializer(self): method test_get_unkown_deserializer (line 393) | def test_get_unkown_deserializer(self): method test_json_deserializer_exception (line 397) | def test_json_deserializer_exception(self): method test_yaml_deserializer_exception (line 403) | def test_yaml_deserializer_exception(self): method test_serialize_proxy_model (line 408) | def test_serialize_proxy_model(self): function serializerTest (line 420) | def serializerTest(format, self): function naturalKeySerializerTest (line 452) | def naturalKeySerializerTest(format, self): function fieldsTest (line 481) | def fieldsTest(format, self): function streamTest (line 494) | def streamTest(format, self): class XmlDeserializerSecurityTests (line 520) | class XmlDeserializerSecurityTests(TestCase): method test_no_dtd (line 522) | def test_no_dtd(self): FILE: Django-1.5.1/tests/regressiontests/servers/models.py class Person (line 4) | class Person(models.Model): FILE: Django-1.5.1/tests/regressiontests/servers/tests.py class LiveServerBase (line 32) | class LiveServerBase(LiveServerTestCase): method setUpClass (line 37) | def setUpClass(cls): method tearDownClass (line 44) | def tearDownClass(cls): method urlopen (line 49) | def urlopen(self, url): class LiveServerAddress (line 53) | class LiveServerAddress(LiveServerBase): method setUpClass (line 60) | def setUpClass(cls): method raises_exception (line 92) | def raises_exception(cls, address, exception): method test_test_test (line 102) | def test_test_test(self): class LiveServerViews (line 107) | class LiveServerViews(LiveServerBase): method test_404 (line 108) | def test_404(self): method test_view (line 120) | def test_view(self): method test_static_files (line 128) | def test_static_files(self): method test_media_files (line 136) | def test_media_files(self): method test_environ (line 144) | def test_environ(self): class LiveServerDatabase (line 149) | class LiveServerDatabase(LiveServerBase): method test_fixtures_loaded (line 151) | def test_fixtures_loaded(self): method test_database_writes (line 160) | def test_database_writes(self): FILE: Django-1.5.1/tests/regressiontests/servers/views.py function example_view (line 5) | def example_view(request): function model_view (line 9) | def model_view(request): function create_model_instance (line 14) | def create_model_instance(request): function environ_view (line 20) | def environ_view(request): FILE: Django-1.5.1/tests/regressiontests/settings_tests/tests.py class FullyDecoratedTranTestCase (line 13) | class FullyDecoratedTranTestCase(TransactionTestCase): method test_override (line 15) | def test_override(self): method test_method_override (line 19) | def test_method_override(self): method test_decorated_testcase_name (line 22) | def test_decorated_testcase_name(self): method test_decorated_testcase_module (line 25) | def test_decorated_testcase_module(self): class FullyDecoratedTestCase (line 30) | class FullyDecoratedTestCase(TestCase): method test_override (line 32) | def test_override(self): method test_method_override (line 36) | def test_method_override(self): class ClassDecoratedTestCaseSuper (line 40) | class ClassDecoratedTestCaseSuper(TestCase): method test_max_recursion_error (line 46) | def test_max_recursion_error(self): class ClassDecoratedTestCase (line 51) | class ClassDecoratedTestCase(ClassDecoratedTestCaseSuper): method test_override (line 52) | def test_override(self): method test_method_override (line 56) | def test_method_override(self): method test_max_recursion_error (line 59) | def test_max_recursion_error(self): class SettingsTests (line 71) | class SettingsTests(TestCase): method setUp (line 72) | def setUp(self): method tearDown (line 76) | def tearDown(self): method signal_callback (line 79) | def signal_callback(self, sender, setting, value, **kwargs): method test_override (line 83) | def test_override(self): method test_override_change (line 91) | def test_override_change(self): method test_override_doesnt_leak (line 100) | def test_override_doesnt_leak(self): method test_decorator (line 108) | def test_decorator(self): method test_context_manager (line 111) | def test_context_manager(self): method test_class_decorator (line 120) | def test_class_decorator(self): method test_signal_callback_context_manager (line 136) | def test_signal_callback_context_manager(self): method test_signal_callback_decorator (line 143) | def test_signal_callback_decorator(self): method test_settings_delete (line 150) | def test_settings_delete(self): method test_settings_delete_wrapped (line 156) | def test_settings_delete_wrapped(self): method test_override_settings_delete (line 159) | def test_override_settings_delete(self): method test_allowed_include_roots_string (line 169) | def test_allowed_include_roots_string(self): class TrailingSlashURLTests (line 178) | class TrailingSlashURLTests(TestCase): method setUp (line 187) | def setUp(self): method tearDown (line 191) | def tearDown(self): method test_blank (line 195) | def test_blank(self): method test_end_slash (line 205) | def test_end_slash(self): method test_no_end_slash (line 223) | def test_no_end_slash(self): method test_double_slash (line 240) | def test_double_slash(self): class SecureProxySslHeaderTest (line 260) | class SecureProxySslHeaderTest(TestCase): method setUp (line 263) | def setUp(self): method tearDown (line 266) | def tearDown(self): method test_none (line 269) | def test_none(self): method test_set_without_xheader (line 274) | def test_set_without_xheader(self): method test_set_with_xheader_wrong (line 279) | def test_set_with_xheader_wrong(self): method test_set_with_xheader_right (line 285) | def test_set_with_xheader_right(self): class EnvironmentVariableTest (line 291) | class EnvironmentVariableTest(TestCase): method setUp (line 297) | def setUp(self): method tearDown (line 302) | def tearDown(self): method test_env_var_used (line 309) | def test_env_var_used(self): FILE: Django-1.5.1/tests/regressiontests/signals_regress/models.py class Author (line 6) | class Author(models.Model): method __str__ (line 9) | def __str__(self): class Book (line 13) | class Book(models.Model): method __str__ (line 17) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/signals_regress/tests.py class SignalsRegressTests (line 9) | class SignalsRegressTests(TestCase): method get_signal_output (line 14) | def get_signal_output(self, fn, *args, **kwargs): method pre_save_test (line 20) | def pre_save_test(self, signal, sender, instance, **kwargs): method post_save_test (line 25) | def post_save_test(self, signal, sender, instance, **kwargs): method pre_delete_test (line 35) | def pre_delete_test(self, signal, sender, instance, **kwargs): method post_delete_test (line 39) | def post_delete_test(self, signal, sender, instance, **kwargs): method setUp (line 43) | def setUp(self): method tearDown (line 57) | def tearDown(self): method test_model_signals (line 71) | def test_model_signals(self): method test_m2m_signals (line 87) | def test_m2m_signals(self): FILE: Django-1.5.1/tests/regressiontests/signed_cookies_tests/tests.py class SignedCookieTest (line 10) | class SignedCookieTest(TestCase): method test_can_set_and_read_signed_cookies (line 12) | def test_can_set_and_read_signed_cookies(self): method test_can_use_salt (line 22) | def test_can_use_salt(self): method test_detects_tampering (line 32) | def test_detects_tampering(self): method test_default_argument_supresses_exceptions (line 40) | def test_default_argument_supresses_exceptions(self): method test_max_age_argument (line 47) | def test_max_age_argument(self): FILE: Django-1.5.1/tests/regressiontests/signing/tests.py class TestSigner (line 11) | class TestSigner(TestCase): method test_signature (line 13) | def test_signature(self): method test_signature_with_salt (line 29) | def test_signature_with_salt(self): method test_sign_unsign (line 41) | def test_sign_unsign(self): method unsign_detects_tampering (line 59) | def unsign_detects_tampering(self): method test_dumps_loads (line 75) | def test_dumps_loads(self): method test_decode_detects_tampering (line 90) | def test_decode_detects_tampering(self): class TestTimestampSigner (line 108) | class TestTimestampSigner(TestCase): method test_timestamp_signer (line 110) | def test_timestamp_signer(self): FILE: Django-1.5.1/tests/regressiontests/sites_framework/models.py class AbstractArticle (line 7) | class AbstractArticle(models.Model): class Meta (line 13) | class Meta: method __str__ (line 16) | def __str__(self): class SyndicatedArticle (line 19) | class SyndicatedArticle(AbstractArticle): class ExclusiveArticle (line 22) | class ExclusiveArticle(AbstractArticle): class CustomArticle (line 25) | class CustomArticle(AbstractArticle): class InvalidArticle (line 31) | class InvalidArticle(AbstractArticle): class ConfusedArticle (line 37) | class ConfusedArticle(AbstractArticle): FILE: Django-1.5.1/tests/regressiontests/sites_framework/tests.py class SitesFrameworkTestCase (line 11) | class SitesFrameworkTestCase(TestCase): method setUp (line 12) | def setUp(self): method test_site_fk (line 16) | def test_site_fk(self): method test_sites_m2m (line 20) | def test_sites_m2m(self): method test_custom_named_field (line 28) | def test_custom_named_field(self): method test_invalid_name (line 32) | def test_invalid_name(self): method test_invalid_field_type (line 36) | def test_invalid_field_type(self): FILE: Django-1.5.1/tests/regressiontests/special_headers/models.py class Article (line 4) | class Article(models.Model): FILE: Django-1.5.1/tests/regressiontests/special_headers/tests.py class SpecialHeadersTest (line 7) | class SpecialHeadersTest(TestCase): method test_xheaders (line 11) | def test_xheaders(self): method test_xview_func (line 28) | def test_xview_func(self): method test_xview_class (line 46) | def test_xview_class(self): FILE: Django-1.5.1/tests/regressiontests/special_headers/views.py function xview (line 11) | def xview(request): function xview_xheaders (line 14) | def xview_xheaders(request, object_id): class XViewClass (line 19) | class XViewClass(View): method get (line 20) | def get(self, request): FILE: Django-1.5.1/tests/regressiontests/staticfiles_tests/storage.py class DummyStorage (line 5) | class DummyStorage(storage.Storage): method _save (line 10) | def _save(self, name, content): method delete (line 13) | def delete(self, name): method exists (line 16) | def exists(self, name): method modified_time (line 19) | def modified_time(self, name): class SimpleCachedStaticFilesStorage (line 23) | class SimpleCachedStaticFilesStorage(CachedStaticFilesStorage): method file_hash (line 25) | def file_hash(self, name, content=None): FILE: Django-1.5.1/tests/regressiontests/staticfiles_tests/tests.py class BaseStaticFilesTestCase (line 45) | class BaseStaticFilesTestCase(object): method setUp (line 49) | def setUp(self): method tearDown (line 74) | def tearDown(self): method assertFileContains (line 79) | def assertFileContains(self, filepath, text): method assertFileNotFound (line 83) | def assertFileNotFound(self, filepath): method render_template (line 86) | def render_template(self, template, **kwargs): method static_template_snippet (line 91) | def static_template_snippet(self, path, asvar=False): method assertStaticRenders (line 96) | def assertStaticRenders(self, path, result, asvar=False, **kwargs): method assertStaticRaises (line 100) | def assertStaticRaises(self, exc, path, result, asvar=False, **kwargs): class StaticFilesTestCase (line 105) | class StaticFilesTestCase(BaseStaticFilesTestCase, TestCase): class BaseCollectionTestCase (line 109) | class BaseCollectionTestCase(BaseStaticFilesTestCase): method setUp (line 118) | def setUp(self): method tearDown (line 127) | def tearDown(self): method run_collectstatic (line 131) | def run_collectstatic(self, **kwargs): method _get_file (line 135) | def _get_file(self, filepath): class CollectionTestCase (line 142) | class CollectionTestCase(BaseCollectionTestCase, StaticFilesTestCase): class TestDefaults (line 146) | class TestDefaults(object): method test_staticfiles_dirs (line 150) | def test_staticfiles_dirs(self): method test_staticfiles_dirs_subdir (line 157) | def test_staticfiles_dirs_subdir(self): method test_staticfiles_dirs_priority (line 164) | def test_staticfiles_dirs_priority(self): method test_app_files (line 170) | def test_app_files(self): method test_nonascii_filenames (line 176) | def test_nonascii_filenames(self): method test_camelcase_filenames (line 182) | def test_camelcase_filenames(self): class TestFindStatic (line 189) | class TestFindStatic(CollectionTestCase, TestDefaults): method _get_file (line 193) | def _get_file(self, filepath): method test_all_files (line 201) | def test_all_files(self): class TestCollection (line 214) | class TestCollection(CollectionTestCase, TestDefaults): method test_ignore (line 218) | def test_ignore(self): method test_common_ignore_patterns (line 224) | def test_common_ignore_patterns(self): class TestCollectionClear (line 233) | class TestCollectionClear(CollectionTestCase): method run_collectstatic (line 237) | def run_collectstatic(self, **kwargs): method test_cleared_not_found (line 243) | def test_cleared_not_found(self): class TestCollectionExcludeNoDefaultIgnore (line 247) | class TestCollectionExcludeNoDefaultIgnore(CollectionTestCase, TestDefau... method run_collectstatic (line 252) | def run_collectstatic(self): method test_no_common_ignore_patterns (line 256) | def test_no_common_ignore_patterns(self): class TestNoFilesCreated (line 267) | class TestNoFilesCreated(object): method test_no_files_created (line 269) | def test_no_files_created(self): class TestCollectionDryRun (line 276) | class TestCollectionDryRun(CollectionTestCase, TestNoFilesCreated): method run_collectstatic (line 280) | def run_collectstatic(self): class TestCollectionFilesOverride (line 284) | class TestCollectionFilesOverride(CollectionTestCase): method setUp (line 294) | def setUp(self): method tearDown (line 310) | def tearDown(self): method test_ordering_override (line 317) | def test_ordering_override(self): class TestCollectionNonLocalStorage (line 343) | class TestCollectionNonLocalStorage(CollectionTestCase, TestNoFilesCreat... class TestCollectionCachedStorage (line 355) | class TestCollectionCachedStorage(BaseCollectionTestCase, method cached_file_path (line 360) | def cached_file_path(self, path): method test_template_tag_return (line 364) | def test_template_tag_return(self): method test_template_tag_simple_content (line 382) | def test_template_tag_simple_content(self): method test_path_ignored_completely (line 390) | def test_path_ignored_completely(self): method test_path_with_querystring (line 401) | def test_path_with_querystring(self): method test_path_with_fragment (line 411) | def test_path_with_fragment(self): method test_path_with_querystring_and_fragment (line 420) | def test_path_with_querystring_and_fragment(self): method test_template_tag_absolute (line 430) | def test_template_tag_absolute(self): method test_template_tag_denorm (line 439) | def test_template_tag_denorm(self): method test_template_tag_relative (line 449) | def test_template_tag_relative(self): method test_import_replacement (line 460) | def test_import_replacement(self): method test_template_tag_deep_relative (line 467) | def test_template_tag_deep_relative(self): method test_template_tag_url (line 475) | def test_template_tag_url(self): method test_cache_invalidation (line 481) | def test_cache_invalidation(self): method test_post_processing (line 496) | def test_post_processing(self): method test_cache_key_memcache_validation (line 523) | def test_cache_key_memcache_validation(self): class TestCollectionSimpleCachedStorage (line 539) | class TestCollectionSimpleCachedStorage(BaseCollectionTestCase, method cached_file_path (line 544) | def cached_file_path(self, path): method test_template_tag_return (line 548) | def test_template_tag_return(self): method test_template_tag_simple_content (line 564) | def test_template_tag_simple_content(self): class TestCollectionLinks (line 574) | class TestCollectionLinks(CollectionTestCase, TestDefaults): method run_collectstatic (line 582) | def run_collectstatic(self): method test_links_created (line 585) | def test_links_created(self): class TestServeStatic (line 592) | class TestServeStatic(StaticFilesTestCase): method _response (line 598) | def _response(self, filepath): method assertFileContains (line 602) | def assertFileContains(self, filepath, text): method assertFileNotFound (line 605) | def assertFileNotFound(self, filepath): class TestServeDisabled (line 609) | class TestServeDisabled(TestServeStatic): method setUp (line 613) | def setUp(self): method test_disabled_serving (line 617) | def test_disabled_serving(self): class TestServeStaticWithDefaultURL (line 622) | class TestServeStaticWithDefaultURL(TestServeStatic, TestDefaults): class TestServeStaticWithURLHelper (line 629) | class TestServeStaticWithURLHelper(TestServeStatic, TestDefaults): class TestServeAdminMedia (line 636) | class TestServeAdminMedia(TestServeStatic): method _response (line 640) | def _response(self, filepath): method test_serve_admin_media (line 644) | def test_serve_admin_media(self): class FinderTestCase (line 648) | class FinderTestCase(object): method test_find_first (line 656) | def test_find_first(self): method test_find_all (line 661) | def test_find_all(self): class TestFileSystemFinder (line 669) | class TestFileSystemFinder(StaticFilesTestCase, FinderTestCase): method setUp (line 673) | def setUp(self): class TestAppDirectoriesFinder (line 681) | class TestAppDirectoriesFinder(StaticFilesTestCase, FinderTestCase): method setUp (line 685) | def setUp(self): class TestDefaultStorageFinder (line 693) | class TestDefaultStorageFinder(StaticFilesTestCase, FinderTestCase): method setUp (line 697) | def setUp(self): class TestMiscFinder (line 706) | class TestMiscFinder(TestCase): method test_get_finder (line 710) | def test_get_finder(self): method test_get_finder_bad_classname (line 715) | def test_get_finder_bad_classname(self): method test_get_finder_bad_module (line 719) | def test_get_finder_bad_module(self): method test_non_tuple_raises_exception (line 724) | def test_non_tuple_raises_exception(self): method test_location_empty (line 732) | def test_location_empty(self): class TestTemplateTag (line 736) | class TestTemplateTag(StaticFilesTestCase): method test_template_tag (line 738) | def test_template_tag(self): FILE: Django-1.5.1/tests/regressiontests/string_lookup/models.py class Foo (line 9) | class Foo(models.Model): method __str__ (line 13) | def __str__(self): class Bar (line 17) | class Bar(models.Model): method __str__ (line 23) | def __str__(self): class Whiz (line 27) | class Whiz(models.Model): method __str__ (line 30) | def __str__(self): class Child (line 34) | class Child(models.Model): method __str__ (line 38) | def __str__(self): class Base (line 42) | class Base(models.Model): method __str__ (line 45) | def __str__(self): class Article (line 49) | class Article(models.Model): method __str__ (line 54) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/string_lookup/tests.py class StringLookupTests (line 8) | class StringLookupTests(TestCase): method test_string_form_referencing (line 10) | def test_string_form_referencing(self): method test_unicode_chars_in_queries (line 43) | def test_unicode_chars_in_queries(self): method test_queries_on_textfields (line 59) | def test_queries_on_textfields(self): method test_ipaddress_on_postgresql (line 72) | def test_ipaddress_on_postgresql(self): FILE: Django-1.5.1/tests/regressiontests/swappable_models/models.py class Article (line 4) | class Article(models.Model): class Meta (line 8) | class Meta: class AlternateArticle (line 12) | class AlternateArticle(models.Model): FILE: Django-1.5.1/tests/regressiontests/swappable_models/tests.py class SwappableModelTests (line 15) | class SwappableModelTests(TestCase): method setUp (line 16) | def setUp(self): method tearDown (line 21) | def tearDown(self): method test_generated_data (line 27) | def test_generated_data(self): method test_case_insensitive (line 51) | def test_case_insensitive(self): FILE: Django-1.5.1/tests/regressiontests/syndication/feeds.py class ComplexFeed (line 10) | class ComplexFeed(views.Feed): method get_object (line 11) | def get_object(self, request, foo=None): class TestRss2Feed (line 17) | class TestRss2Feed(views.Feed): method items (line 29) | def items(self): method item_description (line 32) | def item_description(self, item): method item_pubdate (line 35) | def item_pubdate(self, item): class TestRss091Feed (line 45) | class TestRss091Feed(TestRss2Feed): class TestNoPubdateFeed (line 49) | class TestNoPubdateFeed(views.Feed): method items (line 53) | def items(self): class TestAtomFeed (line 57) | class TestAtomFeed(TestRss2Feed): class ArticlesFeed (line 62) | class ArticlesFeed(TestRss2Feed): method items (line 67) | def items(self): class TestEnclosureFeed (line 71) | class TestEnclosureFeed(TestRss2Feed): class TemplateFeed (line 75) | class TemplateFeed(TestRss2Feed): method item_title (line 83) | def item_title(self): class NaiveDatesFeed (line 87) | class NaiveDatesFeed(TestAtomFeed): method item_pubdate (line 91) | def item_pubdate(self, item): class TZAwareDatesFeed (line 95) | class TZAwareDatesFeed(TestAtomFeed): method item_pubdate (line 99) | def item_pubdate(self, item): class TestFeedUrlFeed (line 106) | class TestFeedUrlFeed(TestAtomFeed): class MyCustomAtom1Feed (line 110) | class MyCustomAtom1Feed(feedgenerator.Atom1Feed): method root_attributes (line 114) | def root_attributes(self): method add_root_elements (line 119) | def add_root_elements(self, handler): method item_attributes (line 123) | def item_attributes(self, item): method add_item_elements (line 128) | def add_item_elements(self, handler, item): class TestCustomFeed (line 133) | class TestCustomFeed(TestAtomFeed): FILE: Django-1.5.1/tests/regressiontests/syndication/models.py class Entry (line 6) | class Entry(models.Model): class Meta (line 10) | class Meta: method __str__ (line 13) | def __str__(self): method get_absolute_url (line 16) | def get_absolute_url(self): class Article (line 21) | class Article(models.Model): method __str__ (line 25) | def __str__(self): FILE: Django-1.5.1/tests/regressiontests/syndication/tests.py class FeedTestCase (line 14) | class FeedTestCase(TestCase): method assertChildNodes (line 17) | def assertChildNodes(self, elem, expected): method assertChildNodeContent (line 22) | def assertChildNodeContent(self, elem, expected): method assertCategories (line 27) | def assertCategories(self, elem, expected): class SyndicationFeedTest (line 34) | class SyndicationFeedTest(FeedTestCase): method test_rss2_feed (line 40) | def test_rss2_feed(self): method test_rss091_feed (line 110) | def test_rss091_feed(self): method test_atom_feed (line 155) | def test_atom_feed(self): method test_custom_feed_generator (line 176) | def test_custom_feed_generator(self): method test_title_escaping (line 192) | def test_title_escaping(self): method test_naive_datetime_conversion (line 204) | def test_naive_datetime_conversion(self): method test_aware_datetime_conversion (line 220) | def test_aware_datetime_conversion(self): method test_feed_last_modified_time (line 229) | def test_feed_last_modified_time(self): method test_feed_url (line 237) | def test_feed_url(self): method test_secure_urls (line 247) | def test_secure_urls(self): method test_item_link_error (line 266) | def test_item_link_error(self): method test_template_feed (line 275) | def test_template_feed(self): method test_add_domain (line 292) | def test_add_domain(self): FILE: Django-1.5.1/tests/regressiontests/templates/callables.py class CallableVariablesTests (line 6) | class CallableVariablesTests(TestCase): method test_callable (line 8) | def test_callable(self): method test_alters_data (line 36) | def test_alters_data(self): method test_do_not_call (line 61) | def test_do_not_call(self): method test_do_not_call_and_alters_data (line 88) | def test_do_not_call_and_alters_data(self): FILE: Django-1.5.1/tests/regressiontests/templates/context.py class ContextTests (line 6) | class ContextTests(TestCase): method test_context (line 7) | def test_context(self): FILE: Django-1.5.1/tests/regressiontests/templates/custom.py class CustomFilterTests (line 10) | class CustomFilterTests(TestCase): method test_filter (line 11) | def test_filter(self): class CustomTagTests (line 19) | class CustomTagTests(TestCase): method verify_tag (line 20) | def verify_tag(self, tag, name): method test_simple_tags (line 25) | def test_simple_tags(self): method test_simple_tag_registration (line 93) | def test_simple_tag_registration(self): method test_simple_tag_missing_context (line 103) | def test_simple_tag_missing_context(self): method test_inclusion_tags (line 109) | def test_inclusion_tags(self): method test_include_tag_missing_context (line 185) | def test_include_tag_missing_context(self): method test_inclusion_tags_from_template (line 191) | def test_inclusion_tags_from_template(self): method test_inclusion_tag_registration (line 230) | def test_inclusion_tag_registration(self): method test_15070_current_app (line 246) | def test_15070_current_app(self): method test_15070_use_l10n (line 258) | def test_15070_use_l10n(self): method test_assignment_tags (line 270) | def test_assignment_tags(self): method test_assignment_tag_registration (line 358) | def test_assignment_tag_registration(self): method test_assignment_tag_missing_context (line 373) | def test_assignment_tag_missing_context(self): FILE: Django-1.5.1/tests/regressiontests/templates/filters.py class UnsafeClass (line 20) | class UnsafeClass: method __str__ (line 21) | def __str__(self): class SafeClass (line 25) | class SafeClass: method __str__ (line 26) | def __str__(self): function get_filter_tests (line 32) | def get_filter_tests(): FILE: Django-1.5.1/tests/regressiontests/templates/loaders.py class MockProvider (line 26) | class MockProvider(pkg_resources.NullProvider): method __init__ (line 27) | def __init__(self, module): method _has (line 31) | def _has(self, path): method _isdir (line 34) | def _isdir(self, path): method get_resource_stream (line 37) | def get_resource_stream(self, manager, resource_name): method _get (line 40) | def _get(self, path): class MockLoader (line 43) | class MockLoader(object): function create_egg (line 46) | def create_egg(name, resources): class EggLoaderTest (line 59) | class EggLoaderTest(unittest.TestCase): method setUp (line 60) | def setUp(self): method tearDown (line 71) | def tearDown(self): method test_empty (line 74) | def test_empty(self): method test_non_existing (line 80) | def test_non_existing(self): method test_existing (line 86) | def test_existing(self): method test_not_installed (line 94) | def test_not_installed(self): class CachedLoader (line 100) | class CachedLoader(unittest.TestCase): method setUp (line 101) | def setUp(self): method tearDown (line 109) | def tearDown(self): method test_templatedir_caching (line 112) | def test_templatedir_caching(self): class RenderToStringTest (line 122) | class RenderToStringTest(unittest.TestCase): method setUp (line 124) | def setUp(self): method tearDown (line 130) | def tearDown(self): method test_basic (line 133) | def test_basic(self): method test_basic_context (line 136) | def test_basic_context(self): method test_existing_context_kept_clean (line 140) | def test_existing_context_kept_clean(self): method test_empty_list (line 147) | def test_empty_list(self): method test_select_templates_from_empty_list (line 153) | def test_select_templates_from_empty_list(self): FILE: Django-1.5.1/tests/regressiontests/templates/nodelist.py class NodelistTest (line 6) | class NodelistTest(TestCase): method test_for (line 8) | def test_for(self): method test_if (line 14) | def test_if(self): method test_ifequal (line 20) | def test_ifequal(self): method test_ifchanged (line 26) | def test_ifchanged(self): class ErrorIndexTest (line 33) | class ErrorIndexTest(TestCase): method test_correct_exception_index (line 39) | def test_correct_exception_index(self): FILE: Django-1.5.1/tests/regressiontests/templates/parser.py class ParserTests (line 11) | class ParserTests(TestCase): method test_token_parsing (line 12) | def test_token_parsing(self): method test_filter_parsing (line 37) | def test_filter_parsing(self): method test_variable_parsing (line 62) | def test_variable_parsing(self): FILE: Django-1.5.1/tests/regressiontests/templates/response.py function test_processor (line 16) | def test_processor(request): class CustomURLConfMiddleware (line 22) | class CustomURLConfMiddleware(object): method process_request (line 23) | def process_request(self, request): class SimpleTemplateResponseTest (line 27) | class SimpleTemplateResponseTest(TestCase): method _response (line 29) | def _response(self, template='foo', *args, **kwargs): method test_template_resolving (line 32) | def test_template_resolving(self): method test_explicit_baking (line 46) | def test_explicit_baking(self): method test_render (line 53) | def test_render(self): method test_iteration_unrendered (line 68) | def test_iteration_unrendered(self): method test_iteration_rendered (line 79) | def test_iteration_rendered(self): method test_content_access_unrendered (line 85) | def test_content_access_unrendered(self): method test_content_access_rendered (line 92) | def test_content_access_rendered(self): method test_set_content (line 97) | def test_set_content(self): method test_dict_context (line 107) | def test_dict_context(self): method test_context_instance (line 114) | def test_context_instance(self): method test_kwargs (line 121) | def test_kwargs(self): method test_args (line 126) | def test_args(self): method test_post_callbacks (line 131) | def test_post_callbacks(self): method test_pickling (line 150) | def test_pickling(self): method test_repickling (line 180) | def test_repickling(self): method test_pickling_cookie (line 193) | def test_pickling_cookie(self): class TemplateResponseTest (line 212) | class TemplateResponseTest(TestCase): method setUp (line 214) | def setUp(self): method _response (line 217) | def _response(self, template='foo', *args, **kwargs): method test_render (line 221) | def test_render(self): method test_render_with_requestcontext (line 225) | def test_render_with_requestcontext(self): method test_render_with_context (line 230) | def test_render_with_context(self): method test_kwargs (line 235) | def test_kwargs(self): method test_args (line 241) | def test_args(self): method test_custom_app (line 247) | def test_custom_app(self): method test_pickling (line 254) | def test_pickling(self): method test_repickling (line 286) | def test_repickling(self): class CustomURLConfTest (line 300) | class CustomURLConfTest(TestCase): method setUp (line 303) | def setUp(self): method tearDown (line 309) | def tearDown(self): method test_custom_urlconf (line 312) | def test_custom_urlconf(self): class CacheMiddlewareTest (line 318) | class CacheMiddlewareTest(TestCase): method setUp (line 321) | def setUp(self): method tearDown (line 331) | def tearDown(self): method test_middleware_caching (line 335) | def test_middleware_caching(self): FILE: Django-1.5.1/tests/regressiontests/templates/smartif.py class SmartIfTests (line 4) | class SmartIfTests(unittest.TestCase): method assertCalcEqual (line 6) | def assertCalcEqual(self, expected, tokens): method test_not (line 12) | def test_not(self): method test_or (line 19) | def test_or(self): method test_in (line 24) | def test_in(self): method test_not_in (line 30) | def test_not_in(self): method test_precedence (line 37) | def test_precedence(self): FILE: Django-1.5.1/tests/regressiontests/templates/templatetags/bad_tag.py function badtag (line 7) | def badtag(parser, token): function badsimpletag (line 11) | def badsimpletag(): FILE: Django-1.5.1/tests/regressiontests/templates/templatetags/custom.py function trim (line 12) | def trim(value, num): function no_params (line 16) | def no_params(): function one_param (line 22) | def one_param(arg): function explicit_no_context (line 28) | def explicit_no_context(arg): function no_params_with_context (line 34) | def no_params_with_context(context): function params_and_context (line 40) | def params_and_context(context, arg): function simple_two_params (line 46) | def simple_two_params(one, two): function simple_one_default (line 52) | def simple_one_default(one, two='hi'): function simple_unlimited_args (line 58) | def simple_unlimited_args(one, two='hi', *args): function simple_only_unlimited_args (line 64) | def simple_only_unlimited_args(*args): function simple_unlimited_args_kwargs (line 70) | def simple_unlimited_args_kwargs(one, two='hi', *args, **kwargs): function simple_tag_without_context_parameter (line 81) | def simple_tag_without_context_parameter(arg): function current_app (line 87) | def current_app(context): function use_l10n (line 91) | def use_l10n(context): function minustwo_overridden_name (line 95) | def minustwo_overridden_name(value): function inclusion_no_params (line 101) | def inclusion_no_params(): function inclusion_no_params_from_template (line 107) | def inclusion_no_params_from_template(): function inclusion_one_param (line 113) | def inclusion_one_param(arg): function inclusion_one_param_from_template (line 119) | def inclusion_one_param_from_template(arg): function inclusion_explicit_no_context (line 125) | def inclusion_explicit_no_context(arg): function inclusion_explicit_no_context_from_template (line 131) | def inclusion_explicit_no_context_from_template(arg): function inclusion_no_params_with_context (line 137) | def inclusion_no_params_with_context(context): function inclusion_no_params_with_context_from_template (line 143) | def inclusion_no_params_with_context_from_template(context): function inclusion_params_and_context (line 149) | def inclusion_params_and_context(context, arg): function inclusion_params_and_context_from_template (line 155) | def inclusion_params_and_context_from_template(context, arg): function inclusion_two_params (line 161) | def inclusion_two_params(one, two): function inclusion_two_params_from_template (line 167) | def inclusion_two_params_from_template(one, two): function inclusion_one_default (line 173) | def inclusion_one_default(one, two='hi'): function inclusion_one_default_from_template (line 179) | def inclusion_one_default_from_template(one, two='hi'): function inclusion_unlimited_args (line 185) | def inclusion_unlimited_args(one, two='hi', *args): function inclusion_unlimited_args_from_template (line 191) | def inclusion_unlimited_args_from_template(one, two='hi', *args): function inclusion_only_unlimited_args (line 197) | def inclusion_only_unlimited_args(*args): function inclusion_only_unlimited_args_from_template (line 203) | def inclusion_only_unlimited_args_from_template(*args): function inclusion_tag_current_app (line 209) | def inclusion_tag_current_app(context): function inclusion_tag_use_l10n (line 215) | def inclusion_tag_use_l10n(context): function inclusion_unlimited_args_kwargs (line 221) | def inclusion_unlimited_args_kwargs(one, two='hi', *args, **kwargs): function inclusion_tag_without_context_parameter (line 232) | def inclusion_tag_without_context_parameter(arg): function assignment_no_params (line 238) | def assignment_no_params(): function assignment_one_param (line 244) | def assignment_one_param(arg): function assignment_explicit_no_context (line 250) | def assignment_explicit_no_context(arg): function assignment_no_params_with_context (line 256) | def assignment_no_params_with_context(context): function assignment_params_and_context (line 262) | def assignment_params_and_context(context, arg): function assignment_two_params (line 268) | def assignment_two_params(one, two): function assignment_one_default (line 274) | def assignment_one_default(one, two='hi'): function assignment_unlimited_args (line 280) | def assignment_unlimited_args(one, two='hi', *args): function assignment_only_unlimited_args (line 286) | def assignment_only_unlimited_args(*args): function assignment_unlimited_args_kwargs (line 292) | def assignment_unlimited_args_kwargs(one, two='hi', *args, **kwargs): function assignment_tag_without_context_parameter (line 303) | def assignment_tag_without_context_parameter(arg): FILE: Django-1.5.1/tests/regressiontests/templates/templatetags/subpackage/echo.py function echo2 (line 6) | def echo2(arg): FILE: Django-1.5.1/tests/regressiontests/templates/tests.py class EchoNode (line 71) | class EchoNode(template.Node): method __init__ (line 72) | def __init__(self, contents): method render (line 75) | def render(self, context): function do_echo (line 78) | def do_echo(parser, token): function do_upper (line 81) | def do_upper(value): class SomeException (line 94) | class SomeException(Exception): class SomeOtherException (line 97) | class SomeOtherException(Exception): class ContextStackException (line 100) | class ContextStackException(Exception): class ShouldNotExecuteException (line 103) | class ShouldNotExecuteException(Exception): class SomeClass (line 106) | class SomeClass: method __init__ (line 107) | def __init__(self): method method (line 110) | def method(self): method method2 (line 113) | def method2(self, o): method method3 (line 116) | def method3(self): method method4 (line 119) | def method4(self): method __getitem__ (line 122) | def __getitem__(self, key): method silent_fail_attribute (line 129) | def silent_fail_attribute(self): method noisy_fail_attribute (line 133) | def noisy_fail_attribute(self): class OtherClass (line 137) | class OtherClass: method method (line 138) | def method(self): class TestObj (line 141) | class TestObj(object): method is_true (line 142) | def is_true(self): method is_false (line 145) | def is_false(self): method is_bad (line 148) | def is_bad(self): class SilentGetItemClass (line 151) | class SilentGetItemClass(object): method __getitem__ (line 152) | def __getitem__(self, key): class SilentAttrClass (line 155) | class SilentAttrClass(object): method b (line 156) | def b(self): class UTF8Class (line 161) | class UTF8Class: method __str__ (line 163) | def __str__(self): class Templates (line 167) | class Templates(TestCase): method test_loaders_security (line 169) | def test_loaders_security(self): method test_loader_debug_origin (line 222) | def test_loader_debug_origin(self): method test_include_missing_template (line 261) | def test_include_missing_template(self): method test_extends_include_missing_baseloader (line 292) | def test_extends_include_missing_baseloader(self): method test_extends_include_missing_cachedloader (line 324) | def test_extends_include_missing_cachedloader(self): method test_token_smart_split (line 359) | def test_token_smart_split(self): method test_url_reverse_no_settings_module (line 366) | def test_url_reverse_no_settings_module(self): method test_url_explicit_exception_for_old_syntax_at_run_time (line 375) | def test_url_explicit_exception_for_old_syntax_at_run_time(self): method test_url_explicit_exception_for_old_syntax_at_compile_time (line 383) | def test_url_explicit_exception_for_old_syntax_at_compile_time(self): method test_no_wrapped_exception (line 390) | def test_no_wrapped_exception(self): method test_invalid_block_suggestion (line 402) | def test_invalid_block_suggestion(self): method test_templates (line 410) | def test_templates(self): method render (line 519) | def render(self, test_template, vals): method get_template_tests (line 527) | def get_template_tests(self): class TemplateTagLoading (line 1671) | class TemplateTagLoading(unittest.TestCase): method setUp (line 1673) | def setUp(self): method tearDown (line 1680) | def tearDown(self): method test_load_error (line 1685) | def test_load_error(self): method test_load_error_egg (line 1694) | def test_load_error_egg(self): method test_load_working_egg (line 1706) | def test_load_working_egg(self): class RequestContextTests (line 1714) | class RequestContextTests(unittest.TestCase): method setUp (line 1716) | def setUp(self): method tearDown (line 1723) | def tearDown(self): method test_include_only (line 1726) | def test_include_only(self): FILE: Django-1.5.1/tests/regressiontests/templates/unicode.py class UnicodeTests (line 10) | class UnicodeTests(TestCase): method test_template (line 11) | def test_template(self): FILE: Django-1.5.1/tests/regressiontests/templates/views.py function index (line 6) | def index(request): function client (line 9) | def client(request, id): function client_action (line 12) | def client_action(request, id, action): function client2 (line 15) | def client2(request, tag): function template_response_view (line 18) | def template_response_view(request): function snark (line 21) | def snark(request): FILE: Django-1.5.1/tests/regressiontests/test_client_regress/session.py class SessionStore (line 3) | class SessionStore(SessionBase): method __init__ (line 10) | def __init__(self, session_key=None): method exists (line 13) | def exists(self, session_key): method create (line 16) | def create(self): method save (line 19) | def save(self, must_create=False): method delete (line 22) | def delete(self, session_key=None): method load (line 25) | def load(self): FILE: Django-1.5.1/tests/regressiontests/test_client_regress/tests.py class AssertContainsTests (line 27) | class AssertContainsTests(TestCase): method test_contains (line 28) | def test_contains(self): method test_unicode_contains (line 120) | def test_unicode_contains(self): method test_unicode_not_contains (line 127) | def test_unicode_not_contains(self): method test_nontext_contains (line 134) | def test_nontext_contains(self): method test_nontext_not_contains (line 138) | def test_nontext_not_contains(self): method test_assert_contains_renders_template_response (line 142) | def test_assert_contains_renders_template_response(self): method test_assert_contains_using_non_template_response (line 150) | def test_assert_contains_using_non_template_response(self): method test_assert_not_contains_renders_template_response (line 158) | def test_assert_not_contains_renders_template_response(self): method test_assert_not_contains_using_non_template_response (line 166) | def test_assert_not_contains_using_non_template_response(self): class AssertTemplateUsedTests (line 175) | class AssertTemplateUsedTests(TestCase): method test_no_context (line 178) | def test_no_context(self): method test_single_context (line 195) | def test_single_context(self): method test_multiple_context (line 219) | def test_multiple_context(self): class AssertRedirectsTests (line 245) | class AssertRedirectsTests(TestCase): method test_redirect_page (line 246) | def test_redirect_page(self): method test_lost_query (line 260) | def test_lost_query(self): method test_incorrect_target (line 273) | def test_incorrect_target(self): method test_target_page (line 282) | def test_target_page(self): method test_redirect_chain (line 297) | def test_redirect_chain(self): method test_multiple_redirect_chain (line 306) | def test_multiple_redirect_chain(self): method test_redirect_chain_to_non_existent (line 317) | def test_redirect_chain_to_non_existent(self): method test_redirect_chain_to_self (line 323) | def test_redirect_chain_to_self(self): method test_circular_redirect (line 331) | def test_circular_redirect(self): method test_redirect_chain_post (line 339) | def test_redirect_chain_post(self): method test_redirect_chain_head (line 347) | def test_redirect_chain_head(self): method test_redirect_chain_options (line 355) | def test_redirect_chain_options(self): method test_redirect_chain_put (line 363) | def test_redirect_chain_put(self): method test_redirect_chain_delete (line 371) | def test_redirect_chain_delete(self): method test_redirect_to_different_host (line 379) | def test_redirect_to_different_host(self): method test_redirect_chain_on_non_redirect_page (line 391) | def test_redirect_chain_on_non_redirect_page(self): method test_redirect_on_non_redirect_page (line 405) | def test_redirect_on_non_redirect_page(self): class AssertFormErrorTests (line 420) | class AssertFormErrorTests(TestCase): method test_unknown_form (line 421) | def test_unknown_form(self): method test_unknown_field (line 443) | def test_unknown_field(self): method test_noerror_field (line 465) | def test_noerror_field(self): method test_unknown_error (line 487) | def test_unknown_error(self): method test_unknown_nonfield_error (line 509) | def test_unknown_nonfield_error(self): class LoginTests (line 535) | class LoginTests(TestCase): method test_login_different_client (line 538) | def test_login_different_client(self): class SessionEngineTests (line 559) | class SessionEngineTests(TestCase): method test_login (line 562) | def test_login(self): class URLEscapingTests (line 573) | class URLEscapingTests(TestCase): method test_simple_argument_get (line 574) | def test_simple_argument_get(self): method test_argument_with_space_get (line 580) | def test_argument_with_space_get(self): method test_simple_argument_post (line 586) | def test_simple_argument_post(self): method test_argument_with_space_post (line 592) | def test_argument_with_space_post(self): class ExceptionTests (line 599) | class ExceptionTests(TestCase): method test_exception_cleared (line 602) | def test_exception_cleared(self): class TemplateExceptionTests (line 624) | class TemplateExceptionTests(TestCase): method setUp (line 625) | def setUp(self): method test_bad_404_template (line 635) | def test_bad_404_template(self): class UrlconfSubstitutionTests (line 646) | class UrlconfSubstitutionTests(TestCase): method test_urlconf_was_changed (line 649) | def test_urlconf_was_changed(self): class zzUrlconfSubstitutionTests (line 656) | class zzUrlconfSubstitutionTests(TestCase): method test_urlconf_was_reverted (line 657) | def test_urlconf_was_reverted(self): class ContextTests (line 663) | class ContextTests(TestCase): method test_single_context (line 666) | def test_single_context(self): method test_inherited_context (line 681) | def test_inherited_context(self): method test_15368 (line 697) | def test_15368(self): class SessionTests (line 710) | class SessionTests(TestCase): method test_session (line 713) | def test_session(self): method test_logout (line 739) | def test_logout(self): class RequestMethodTests (line 747) | class RequestMethodTests(TestCase): method test_get (line 748) | def test_get(self): method test_post (line 754) | def test_post(self): method test_head (line 760) | def test_head(self): method test_options (line 768) | def test_options(self): method test_put (line 774) | def test_put(self): method test_delete (line 780) | def test_delete(self): class RequestMethodStringDataTests (line 786) | class RequestMethodStringDataTests(TestCase): method test_post (line 787) | def test_post(self): method test_put (line 795) | def test_put(self): class QueryStringTests (line 803) | class QueryStringTests(TestCase): method test_get_like_requests (line 804) | def test_get_like_requests(self): method test_post_like_requests (line 829) | def test_post_like_requests(self): class UnicodePayloadTests (line 855) | class UnicodePayloadTests(TestCase): method test_simple_unicode_payload (line 856) | def test_simple_unicode_payload(self): method test_unicode_payload_utf8 (line 864) | def test_unicode_payload_utf8(self): method test_unicode_payload_utf16 (line 872) | def test_unicode_payload_utf16(self): method test_unicode_payload_non_utf (line 880) | def test_unicode_payload_non_utf(self): class DummyFile (line 888) | class DummyFile(object): method __init__ (line 889) | def __init__(self, filename): method read (line 891) | def read(self): class UploadedFileEncodingTest (line 894) | class UploadedFileEncodingTest(TestCase): method test_file_encoding (line 895) | def test_file_encoding(self): method test_guesses_content_type_on_file_encoding (line 901) | def test_guesses_content_type_on_file_encoding(self): class RequestHeadersTest (line 914) | class RequestHeadersTest(TestCase): method test_client_headers (line 915) | def test_client_headers(self): method test_client_headers_redirect (line 921) | def test_client_headers_redirect(self): class ReadLimitedStreamTest (line 929) | class ReadLimitedStreamTest(TestCase): method test_body_from_empty_request (line 937) | def test_body_from_empty_request(self): method test_read_from_empty_request (line 942) | def test_read_from_empty_request(self): method test_read_numbytes_from_empty_request (line 947) | def test_read_numbytes_from_empty_request(self): method test_read_from_nonempty_request (line 952) | def test_read_from_nonempty_request(self): method test_read_numbytes_from_nonempty_request (line 960) | def test_read_numbytes_from_nonempty_request(self): class RequestFactoryStateTest (line 969) | class RequestFactoryStateTest(TestCase): method common_test_that_should_always_pass (line 977) | def common_test_that_should_always_pass(self): method test_request (line 982) | def test_request(self): method test_request_after_client (line 985) | def test_request_after_client(self): method test_request_after_client_2 (line 990) | def test_request_after_client_2(self): class RequestFactoryEnvironmentTests (line 995) | class RequestFactoryEnvironmentTests(TestCase): method test_should_set_correct_env_variables (line 1001) | def test_should_set_correct_env_variables(self): FILE: Django-1.5.1/tests/regressiontests/test_client_regress/views.py function no_template_view (line 12) | def no_template_view(request): function staff_only_view (line 16) | def staff_only_view(request): function get_view (line 23) | def get_view(request): function request_data (line 28) | def request_data(request, template='base.html', data='sausage'): function view_with_argument (line 40) | def view_with_argument(request, name): function login_protected_redirect_view (line 52) | def login_protected_redirect_view(request): function set_session_view (line 57) | def set_session_view(request): function check_session_view (line 62) | def check_session_view(request): function request_methods_view (line 66) | def request_methods_view(request): function return_unicode (line 70) | def return_unicode(request): function return_json_file (line 73) | def return_json_file(request): function check_headers (line 89) | def check_headers(request): function body (line 93) | def body(request): function read_all (line 97) | def read_all(request): function read_buffer (line 101) | def read_buffer(request): function request_context_view (line 105) | def request_context_view(request): FILE: Django-1.5.1/tests/regressiontests/test_runner/deprecation_app/tests.py class DummyTest (line 7) | class DummyTest(TestCase): method test_warn (line 8) | def test_warn(self): FILE: Django-1.5.1/tests/regressiontests/test_runner/models.py class Person (line 3) | class Person(models.Model): FILE: Django-1.5.1/tests/regressiontests/test_runner/tests.py class DependencyOrderingTests (line 26) | class DependencyOrderingTests(unittest.TestCase): method test_simple_dependencies (line 28) | def test_simple_dependencies(self): method test_chained_dependencies (line 48) | def test_chained_dependencies(self): method test_multiple_dependencies (line 73) | def test_multiple_dependencies(self): method test_circular_dependencies (line 103) | def test_circular_dependencies(self): method test_own_alias_dependency (line 115) | def test_own_alias_dependency(self): class MockTestRunner (line 135) | class MockTestRunner(object): method __init__ (line 138) | def __init__(self, *args, **kwargs): method run_tests (line 141) | def run_tests(self, test_labels, extra_tests=None, **kwargs): class ManageCommandTests (line 145) | class ManageCommandTests(unittest.TestCase): method test_custom_test_runner (line 147) | def test_custom_test_runner(self): method test_bad_test_runner (line 153) | def test_bad_test_runner(self): class CustomOptionsTestRunner (line 159) | class CustomOptionsTestRunner(simple.DjangoTestSuiteRunner): method __init__ (line 166) | def __init__(self, verbosity=1, interactive=True, failfast=True, optio... method run_tests (line 173) | def run_tests(self, test_labels, extra_tests=None, **kwargs): class CustomTestRunnerOptionsTests (line 177) | class CustomTestRunnerOptionsTests(AdminScriptTestCase): method setUp (line 179) | def setUp(self): method tearDown (line 185) | def tearDown(self): method test_default_options (line 188) | def test_default_options(self): method test_default_and_given_options (line 194) | def test_default_and_given_options(self): method test_option_name_and_value_separated (line 200) | def test_option_name_and_value_separated(self): method test_all_options_given (line 206) | def test_all_options_given(self): class Ticket17477RegressionTests (line 213) | class Ticket17477RegressionTests(AdminScriptTestCase): method setUp (line 214) | def setUp(self): method tearDown (line 217) | def tearDown(self): method test_ticket_17477 (line 220) | def test_ticket_17477(self): class ModulesTestsPackages (line 227) | class ModulesTestsPackages(unittest.TestCase): method test_get_tests (line 228) | def test_get_tests(self): method test_import_error (line 234) | def test_import_error(self): class Sqlite3InMemoryTestDbs (line 240) | class Sqlite3InMemoryTestDbs(unittest.TestCase): method test_transaction_support (line 244) | def test_transaction_support(self): class DummyBackendTest (line 270) | class DummyBackendTest(unittest.TestCase): method test_setup_databases (line 271) | def test_setup_databases(self): class DeprecationDisplayTest (line 288) | class DeprecationDisplayTest(AdminScriptTestCase): method setUp (line 290) | def setUp(self): method tearDown (line 295) | def tearDown(self): method test_runner_deprecation_verbosity_default (line 298) | def test_runner_deprecation_verbosity_default(self): method test_runner_deprecation_verbosity_zero (line 306) | def test_runner_deprecation_verbosity_zero(self): class AutoIncrementResetTest (line 312) | class AutoIncrementResetTest(TransactionTestCase): method test_autoincrement_reset1 (line 322) | def test_autoincrement_reset1(self): method test_autoincrement_reset2 (line 327) | def test_autoincrement_reset2(self): FILE: Django-1.5.1/tests/regressiontests/test_utils/models.py class Person (line 4) | class Person(models.Model): FILE: Django-1.5.1/tests/regressiontests/test_utils/tests.py class SkippingTestCase (line 14) | class SkippingTestCase(TestCase): method test_skip_unless_db_feature (line 15) | def test_skip_unless_db_feature(self): class AssertNumQueriesTests (line 25) | class AssertNumQueriesTests(TestCase): method test_assert_num_queries (line 28) | def test_assert_num_queries(self): method test_assert_num_queries_with_client (line 36) | def test_assert_num_queries_with_client(self): class AssertNumQueriesContextManagerTests (line 57) | class AssertNumQueriesContextManagerTests(TestCase): method test_simple (line 60) | def test_simple(self): method test_failure (line 71) | def test_failure(self): method test_with_client (line 81) | def test_with_client(self): class AssertTemplateUsedContextManagerTests (line 95) | class AssertTemplateUsedContextManagerTests(TestCase): method test_usage (line 96) | def test_usage(self): method test_nested_usage (line 113) | def test_nested_usage(self): method test_not_used (line 133) | def test_not_used(self): method test_error_message (line 139) | def test_error_message(self): method test_failure (line 152) | def test_failure(self): class SaveRestoreWarningState (line 174) | class SaveRestoreWarningState(TestCase): method test_save_restore_warnings_state (line 175) | def test_save_restore_warnings_state(self): class HTMLEqualTests (line 203) | class HTMLEqualTests(TestCase): method test_html_parser (line 204) | def test_html_parser(self): method test_parse_html_in_script (line 218) | def test_parse_html_in_script(self): method test_self_closing_tags (line 234) | def test_self_closing_tags(self): method test_simple_equal_html (line 252) | def test_simple_equal_html(self): method test_ignore_comments (line 281) | def test_ignore_comments(self): method test_unequal_html (line 286) | def test_unequal_html(self): method test_attributes (line 299) | def test_attributes(self): method test_complex_examples (line 310) | def test_complex_examples(self): method test_html_contain (line 359) | def test_html_contain(self): method test_count (line 383) | def test_count(self): method test_parsing_errors (line 418) | def test_parsing_errors(self): method test_contains_html (line 427) | def test_contains_html(self): method test_unicode_handling (line 447) | def test_unicode_handling(self): class XMLEqualTests (line 453) | class XMLEqualTests(TestCase): method test_simple_equal (line 454) | def test_simple_equal(self): method test_simple_equal_unordered (line 459) | def test_simple_equal_unordered(self): method test_simple_equal_raise (line 464) | def test_simple_equal_raise(self): method test_simple_not_equal (line 470) | def test_simple_not_equal(self): method test_simple_not_equal_raise (line 475) | def test_simple_not_equal_raise(self): method test_parsing_errors (line 481) | def test_parsing_errors(self): method test_comment_root (line 487) | def test_comment_root(self): class SkippingExtraTests (line 493) | class SkippingExtraTests(TestCase): method __call__ (line 497) | def __call__(self, result=None): method test_fixtures_are_skipped (line 503) | def test_fixtures_are_skipped(self): class AssertRaisesMsgTest (line 507) | class AssertRaisesMsgTest(SimpleTestCase): method test_special_re_chars (line 509) | def test_special_re_chars(self): class AssertFieldOutputTests (line 516) | class AssertFieldOutputTests(SimpleTestCase): method test_assert_field_output (line 518) | def test_assert_field_output(self): method test_custom_required_message (line 525) | def test_custom_required_message(self): FILE: Django-1.5.1/tests/regressiontests/test_utils/views.py function get_person (line 9) | def get_person(request, pk): FILE: Django-1.5.1/tests/regressiontests/text/tests.py class TextTests (line 12) | class TextTests(TestCase): method test_get_text_list (line 17) | def test_get_text_list(self): method test_smart_split (line 26) | def test_smart_split(self): method test_urlquote (line 63) | def test_urlquote(self): method test_cookie_date (line 85) | def test_cookie_date(self): method test_http_date (line 89) | def test_http_date(self): method test_iri_to_uri (line 93) | def test_iri_to_uri(self): method test_iri_to_uri_idempotent (line 103) | def test_iri_to_uri_idempotent(self): FILE: Django-1.5.1/tests/regressiontests/transactions_regress/models.py class Mod (line 3) | class Mod(models.Model): class M2mA (line 6) | class M2mA(models.Model): class M2mB (line 9) | class M2mB(models.Model): FILE: Django-1.5.1/tests/regressiontests/transactions_regress/tests.py class TestTransactionClosing (line 12) | class TestTransactionClosing(TransactionTestCase): method test_raw_committed_on_success (line 18) | def test_raw_committed_on_success(self): method test_commit_manually_enforced (line 37) | def test_commit_manually_enforced(self): method test_commit_manually_commit_ok (line 49) | def test_commit_manually_commit_ok(self): method test_commit_manually_rollback_ok (line 67) | def test_commit_manually_rollback_ok(self): method test_commit_manually_enforced_after_commit (line 85) | def test_commit_manually_enforced_after_commit(self): method test_reuse_cursor_reference (line 100) | def test_reuse_cursor_reference(self): method test_failing_query_transaction_closed (line 127) | def test_failing_query_transaction_closed(self): method test_failing_query_transaction_closed_debug (line 158) | def test_failing_query_transaction_closed_debug(self): class TestPostgresAutocommit (line 167) | class TestPostgresAutocommit(TransactionTestCase): method setUp (line 172) | def setUp(self): method tearDown (line 188) | def tearDown(self): method test_initial_autocommit_state (line 191) | def test_initial_autocommit_state(self): method test_transaction_management (line 195) | def test_transaction_management(self): method test_transaction_stacking (line 203) | def test_transaction_stacking(self): class TestManyToManyAddTransaction (line 218) | class TestManyToManyAddTransaction(TransactionTestCase): method test_manyrelated_add_commit (line 219) | def test_manyrelated_add_commit(self): class SavepointTest (line 233) | class SavepointTest(TransactionTestCase): method test_savepoint_commit (line 236) | def test_savepoint_commit(self): method test_savepoint_rollback (line 254) | def test_savepoint_rollback(self): FILE: Django-1.5.1/tests/regressiontests/urlpatterns_reverse/erroneous_views_module.py function erroneous_view (line 3) | def erroneous_view(request): FILE: Django-1.5.1/tests/regressiontests/urlpatterns_reverse/middleware.py class ChangeURLconfMiddleware (line 6) | class ChangeURLconfMiddleware(object): method process_request (line 7) | def process_request(self, request): class NullChangeURLconfMiddleware (line 10) | class NullChangeURLconfMiddleware(object): method process_request (line 11) | def process_request(self, request): FILE: Django-1.5.1/tests/regressiontests/urlpatterns_reverse/namespace_urls.py class URLObject (line 8) | class URLObject(object): method __init__ (line 9) | def __init__(self, app_name, namespace): method urls (line 13) | def urls(self): FILE: Django-1.5.1/tests/regressiontests/urlpatterns_reverse/tests.py class NoURLPatternsTests (line 145) | class NoURLPatternsTests(TestCase): method test_no_urls_exception (line 148) | def test_no_urls_exception(self): class URLPatternReverse (line 158) | class URLPatternReverse(TestCase): method test_urlpattern_reverse (line 161) | def test_urlpattern_reverse(self): method test_reverse_none (line 170) | def test_reverse_none(self): method test_prefix_braces (line 174) | def test_prefix_braces(self): method test_prefix_parenthesis (line 178) | def test_prefix_parenthesis(self): method test_prefix_format_char (line 182) | def test_prefix_format_char(self): class ResolverTests (line 186) | class ResolverTests(unittest.TestCase): method test_resolver_repr (line 187) | def test_resolver_repr(self): method test_non_regex (line 197) | def test_non_regex(self): method test_404_tried_urls_have_names (line 211) | def test_404_tried_urls_have_names(self): class ReverseLazyTest (line 247) | class ReverseLazyTest(TestCase): method test_redirect_with_lazy_reverse (line 250) | def test_redirect_with_lazy_reverse(self): method test_user_permission_with_lazy_reverse (line 254) | def test_user_permission_with_lazy_reverse(self): class ReverseShortcutTests (line 262) | class ReverseShortcutTests(TestCase): method test_redirect_to_object (line 265) | def test_redirect_to_object(self): method test_redirect_to_view_name (line 279) | def test_redirect_to_view_name(self): method test_redirect_to_url (line 288) | def test_redirect_to_url(self): method test_redirect_view_object (line 294) | def test_redirect_view_object(self): class NamespaceTests (line 301) | class NamespaceTests(TestCase): method test_ambiguous_object (line 304) | def test_ambiguous_object(self): method test_ambiguous_urlpattern (line 310) | def test_ambiguous_urlpattern(self): method test_non_existent_namespace (line 316) | def test_non_existent_namespace(self): method test_normal_name (line 321) | def test_normal_name(self): method test_simple_included_name (line 328) | def test_simple_included_name(self): method test_namespace_object (line 335) | def test_namespace_object(self): method test_embedded_namespace_object (line 342) | def test_embedded_namespace_object(self): method test_namespace_pattern (line 349) | def test_namespace_pattern(self): method test_namespace_pattern_with_variable_prefix (line 356) | def test_namespace_pattern_with_variable_prefix(self): method test_multiple_namespace_pattern (line 365) | def test_multiple_namespace_pattern(self): method test_nested_namespace_pattern (line 372) | def test_nested_namespace_pattern(self): method test_app_lookup_object (line 379) | def test_app_lookup_object(self): method test_app_lookup_object_with_default (line 386) | def test_app_lookup_object_with_default(self): method test_app_lookup_object_without_default (line 393) | def test_app_lookup_object_without_default(self): method test_special_chars_namespace (line 405) | def test_special_chars_namespace(self): method test_namespaces_with_variables (line 411) | def test_namespaces_with_variables(self): class RequestURLconfTests (line 418) | class RequestURLconfTests(TestCase): method setUp (line 419) | def setUp(self): method tearDown (line 424) | def tearDown(self): method test_urlconf (line 428) | def test_urlconf(self): method test_urlconf_overridden (line 438) | def test_urlconf_overridden(self): method test_urlconf_overridden_with_null (line 450) | def test_urlconf_overridden_with_null(self): class ErrorHandlerResolutionTests (line 456) | class ErrorHandlerResolutionTests(TestCase): method setUp (line 459) | def setUp(self): method test_named_handlers (line 466) | def test_named_handlers(self): method test_callable_handers (line 472) | def test_callable_handers(self): class DefaultErrorHandlerTests (line 478) | class DefaultErrorHandlerTests(TestCase): method test_default_handler (line 481) | def test_default_handler(self): class NoRootUrlConfTests (line 494) | class NoRootUrlConfTests(TestCase): method test_no_handler_exception (line 498) | def test_no_handler_exception(self): class ResolverMatchTests (line 501) | class ResolverMatchTests(TestCase): method test_urlpattern_resolve (line 504) | def test_urlpattern_resolve(self): method test_resolver_match_on_request (line 527) | def test_resolver_match_on_request(self): class ErroneousViewTests (line 532) | class ErroneousViewTests(TestCase): method test_erroneous_resolve (line 535) | def test_erroneous_resolve(self): method test_erroneous_reverse (line 542) | def test_erroneous_reverse(self): class ViewLoadingTests (line 551) | class ViewLoadingTests(TestCase): method test_view_loading (line 552) | def test_view_loading(self): FILE: Django-1.5.1/tests/regressiontests/urlpatterns_reverse/urlconf_inner.py function inner_view (line 5) | def inner_view(request): FILE: Django-1.5.1/tests/regressiontests/urlpatterns_reverse/views.py function empty_view (line 7) | def empty_view(request, *args, **kwargs): function kwargs_view (line 10) | def kwargs_view(request, arg1=1, arg2=2): function absolute_kwargs_view (line 13) | def absolute_kwargs_view(request, arg1=1, arg2=2): function defaults_view (line 16) | def defaults_view(request, arg1, arg2): function erroneous_view (line 19) | def erroneous_view(request): function pass_resolver_match_view (line 22) | def pass_resolver_match_view(request, *args, **kwargs): class ViewClass (line 29) | class ViewClass(object): method __call__ (line 30) | def __call__(self, request, *args, **kwargs): class LazyRedirectView (line 35) | class LazyRedirectView(RedirectView): function login_required_view (line 39) | def login_required_view(request): function bad_view (line 42) | def bad_view(request, *args, **kwargs): FILE: Django-1.5.1/tests/regressiontests/utils/archive.py class ArchiveTester (line 13) | class ArchiveTester(object): method setUp (line 16) | def setUp(self): method tearDown (line 27) | def tearDown(self): method test_extract_method (line 30) | def test_extract_method(self): method test_extract_method_no_to_path (line 35) | def test_extract_method_no_to_path(self): method test_extract_function (line 41) | def test_extract_function(self): method test_extract_function_no_to_path (line 45) | def test_extract_function_no_to_path(self): method check_files (line 50) | def check_files(self, tmpdir): class TestZip (line 59) | class TestZip(ArchiveTester, unittest.TestCase): class TestTar (line 63) | class TestTar(ArchiveTester, unittest.TestCase): class TestGzipTar (line 67) | class TestGzipTar(ArchiveTester, unittest.TestCase): class TestBzip2Tar (line 71) | class TestBzip2Tar(ArchiveTester, unittest.TestCase): FILE: Django-1.5.1/tests/regressiontests/utils/baseconv.py class TestBaseConv (line 5) | class TestBaseConv(TestCase): method test_baseconv (line 7) | def test_baseconv(self): method test_base11 (line 13) | def test_base11(self): method test_base20 (line 20) | def test_base20(self): method test_base64 (line 27) | def test_base64(self): method test_base7 (line 33) | def test_base7(self): method test_exception (line 40) | def test_exception(self): FILE: Django-1.5.1/tests/regressiontests/utils/checksums.py class TestUtilsChecksums (line 5) | class TestUtilsChecksums(unittest.TestCase): method check_output (line 7) | def check_output(self, function, value, output=None): method test_luhn (line 16) | def test_luhn(self): FILE: Django-1.5.1/tests/regressiontests/utils/crypto.py class TestUtilsCryptoMisc (line 12) | class TestUtilsCryptoMisc(unittest.TestCase): method test_constant_time_compare (line 14) | def test_constant_time_compare(self): class TestUtilsCryptoPBKDF2 (line 22) | class TestUtilsCryptoPBKDF2(unittest.TestCase): method test_public_vectors (line 136) | def test_public_vectors(self): method test_regression_vectors (line 142) | def test_regression_vectors(self): FILE: Django-1.5.1/tests/regressiontests/utils/datastructures.py class SortedDictTests (line 15) | class SortedDictTests(SimpleTestCase): method setUp (line 16) | def setUp(self): method test_basic_methods (line 28) | def test_basic_methods(self): method test_overwrite_ordering (line 33) | def test_overwrite_ordering(self): method test_append_items (line 38) | def test_append_items(self): method test_delete_and_insert (line 43) | def test_delete_and_insert(self): method test_change_keys (line 54) | def test_change_keys(self): method test_init_keys (line 66) | def test_init_keys(self): method test_overwrite (line 84) | def test_overwrite(self): method test_append (line 89) | def test_append(self): method test_pop (line 96) | def test_pop(self): method test_dict_equality (line 106) | def test_dict_equality(self): method test_tuple_init (line 110) | def test_tuple_init(self): method test_pickle (line 114) | def test_pickle(self): method test_copy (line 120) | def test_copy(self): method test_clear (line 126) | def test_clear(self): method test_reversed (line 131) | def test_reversed(self): method test_insert (line 137) | def test_insert(self): method test_value_for_index (line 144) | def test_value_for_index(self): class MergeDictTests (line 152) | class MergeDictTests(SimpleTestCase): method test_simple_mergedict (line 154) | def test_simple_mergedict(self): method test_mergedict_merges_multivaluedict (line 175) | def test_mergedict_merges_multivaluedict(self): class MultiValueDictTests (line 206) | class MultiValueDictTests(SimpleTestCase): method test_multivaluedict (line 208) | def test_multivaluedict(self): method test_appendlist (line 240) | def test_appendlist(self): method test_copy (line 246) | def test_copy(self): method test_dict_translation (line 266) | def test_dict_translation(self): class ImmutableListTests (line 279) | class ImmutableListTests(SimpleTestCase): method test_sort (line 281) | def test_sort(self): method test_custom_warning (line 290) | def test_custom_warning(self): class DictWrapperTests (line 300) | class DictWrapperTests(SimpleTestCase): method test_dictwrapper (line 302) | def test_dictwrapper(self): FILE: Django-1.5.1/tests/regressiontests/utils/dateformat.py class DateFormatTests (line 13) | class DateFormatTests(unittest.TestCase): method setUp (line 14) | def setUp(self): method tearDown (line 27) | def tearDown(self): method test_date (line 37) | def test_date(self): method test_naive_datetime (line 41) | def test_naive_datetime(self): method test_datetime_with_local_tzinfo (line 45) | def test_datetime_with_local_tzinfo(self): method test_datetime_with_tzinfo (line 51) | def test_datetime_with_tzinfo(self): method test_epoch (line 61) | def test_epoch(self): method test_empty_format (line 65) | def test_empty_format(self): method test_am_pm (line 70) | def test_am_pm(self): method test_microsecond (line 75) | def test_microsecond(self): method test_date_formats (line 80) | def test_date_formats(self): method test_time_formats (line 96) | def test_time_formats(self): method test_dateformat (line 109) | def test_dateformat(self): method test_futuredates (line 116) | def test_futuredates(self): method test_timezones (line 120) | def test_timezones(self): FILE: Django-1.5.1/tests/regressiontests/utils/dateparse.py class DateParseTests (line 10) | class DateParseTests(unittest.TestCase): method test_parse_date (line 12) | def test_parse_date(self): method test_parse_time (line 20) | def test_parse_time(self): method test_parse_datetime (line 30) | def test_parse_datetime(self): FILE: Django-1.5.1/tests/regressiontests/utils/datetime_safe.py class DatetimeTests (line 6) | class DatetimeTests(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_compare_datetimes (line 14) | def test_compare_datetimes(self): method test_safe_strftime (line 23) | def test_safe_strftime(self): method test_zero_padding (line 36) | def test_zero_padding(self): FILE: Django-1.5.1/tests/regressiontests/utils/decorators.py class ProcessViewMiddleware (line 8) | class ProcessViewMiddleware(object): method process_view (line 9) | def process_view(self, request, view_func, view_args, view_kwargs): function process_view (line 15) | def process_view(request): class ClassProcessView (line 19) | class ClassProcessView(object): method __call__ (line 20) | def __call__(self, request): class FullMiddleware (line 26) | class FullMiddleware(object): method process_request (line 27) | def process_request(self, request): method process_view (line 30) | def process_view(sef, request, view_func, view_args, view_kwargs): method process_template_response (line 33) | def process_template_response(self, request, response): method process_response (line 37) | def process_response(self, request, response): class DecoratorFromMiddlewareTests (line 46) | class DecoratorFromMiddlewareTests(TestCase): method test_process_view_middleware (line 53) | def test_process_view_middleware(self): method test_callable_process_view_middleware (line 59) | def test_callable_process_view_middleware(self): method test_full_dec_normal (line 65) | def test_full_dec_normal(self): method test_full_dec_templateresponse (line 83) | def test_full_dec_templateresponse(self): FILE: Django-1.5.1/tests/regressiontests/utils/encoding.py class TestEncodingUtils (line 8) | class TestEncodingUtils(unittest.TestCase): method test_force_bytes_exception (line 9) | def test_force_bytes_exception(self): method test_filepath_to_uri (line 19) | def test_filepath_to_uri(self): FILE: Django-1.5.1/tests/regressiontests/utils/feedgenerator.py class FeedgeneratorTest (line 7) | class FeedgeneratorTest(unittest.TestCase): method test_get_tag_uri (line 12) | def test_get_tag_uri(self): method test_get_tag_uri_with_port (line 20) | def test_get_tag_uri_with_port(self): method test_rfc2822_date (line 29) | def test_rfc2822_date(self): method test_rfc2822_date_with_timezone (line 38) | def test_rfc2822_date_with_timezone(self): method test_rfc2822_date_without_time (line 47) | def test_rfc2822_date_without_time(self): method test_rfc3339_date (line 56) | def test_rfc3339_date(self): method test_rfc3339_date_with_timezone (line 65) | def test_rfc3339_date_with_timezone(self): method test_rfc3339_date_without_time (line 74) | def test_rfc3339_date_without_time(self): method test_atom1_mime_type (line 83) | def test_atom1_mime_type(self): method test_rss_mime_type (line 92) | def test_rss_mime_type(self): method test_feed_without_feed_url_gets_rendered_without_atom_link (line 103) | def test_feed_without_feed_url_gets_rendered_without_atom_link(self): method test_feed_with_feed_url_gets_rendered_with_atom_link (line 111) | def test_feed_with_feed_url_gets_rendered_with_atom_link(self): FILE: Django-1.5.1/tests/regressiontests/utils/functional.py class FunctionalTestCase (line 5) | class FunctionalTestCase(unittest.TestCase): method test_lazy (line 6) | def test_lazy(self): method test_lazy_base_class (line 11) | def test_lazy_base_class(self): method test_lazy_property (line 24) | def test_lazy_property(self): FILE: Django-1.5.1/tests/regressiontests/utils/html.py class TestUtilsHtml (line 7) | class TestUtilsHtml(unittest.TestCase): method check_output (line 9) | def check_output(self, function, value, output=None): method test_escape (line 18) | def test_escape(self): method test_format_html (line 37) | def test_format_html(self): method test_linebreaks (line 48) | def test_linebreaks(self): method test_strip_tags (line 59) | def test_strip_tags(self): method test_strip_spaces_between_tags (line 74) | def test_strip_spaces_between_tags(self): method test_strip_entities (line 89) | def test_strip_entities(self): method test_fix_ampersands (line 107) | def test_fix_ampersands(self): method test_escapejs (line 128) | def test_escapejs(self): method test_clean_html (line 140) | def test_clean_html(self): method test_remove_tags (line 152) | def test_remove_tags(self): FILE: Django-1.5.1/tests/regressiontests/utils/http.py class TestUtilsHttp (line 12) | class TestUtilsHttp(unittest.TestCase): method test_same_origin_true (line 14) | def test_same_origin_true(self): method test_same_origin_false (line 23) | def test_same_origin_false(self): method test_urlencode (line 33) | def test_urlencode(self): method test_fix_IE_for_vary (line 70) | def test_fix_IE_for_vary(self): method test_base36 (line 114) | def test_base36(self): class ETagProcessingTests (line 139) | class ETagProcessingTests(unittest.TestCase): method testParsing (line 140) | def testParsing(self): method testQuoting (line 144) | def testQuoting(self): class HttpDateProcessingTests (line 149) | class HttpDateProcessingTests(unittest.TestCase): method testParsingRfc1123 (line 150) | def testParsingRfc1123(self): method testParsingRfc850 (line 155) | def testParsingRfc850(self): method testParsingAsctime (line 160) | def testParsingAsctime(self): FILE: Django-1.5.1/tests/regressiontests/utils/ipv6.py class TestUtilsIPv6 (line 6) | class TestUtilsIPv6(unittest.TestCase): method test_validates_correct_plain_address (line 8) | def test_validates_correct_plain_address(self): method test_validates_correct_with_v4mapping (line 16) | def test_validates_correct_with_v4mapping(self): method test_validates_incorrect_plain_address (line 20) | def test_validates_incorrect_plain_address(self): method test_validates_incorrect_with_v4mapping (line 30) | def test_validates_incorrect_with_v4mapping(self): method test_cleanes_plain_address (line 40) | def test_cleanes_plain_address(self): method test_cleanes_with_v4_mapping (line 45) | def test_cleanes_with_v4_mapping(self): method test_unpacks_ipv4 (line 50) | def test_unpacks_ipv4(self): FILE: Django-1.5.1/tests/regressiontests/utils/itercompat.py class TestIsIterator (line 6) | class TestIsIterator(TestCase): method test_regression (line 7) | def test_regression(self): FILE: Django-1.5.1/tests/regressiontests/utils/jslex.py class JsTokensTest (line 8) | class JsTokensTest(TestCase): function make_function (line 108) | def make_function(input, toks): class JsToCForGettextTest (line 207) | class JsToCForGettextTest(TestCase): function make_function (line 210) | def make_function(js, c): FILE: Django-1.5.1/tests/regressiontests/utils/models.py class Category (line 4) | class Category(models.Model): method next (line 7) | def next(self): class Thing (line 11) | class Thing(models.Model): FILE: Django-1.5.1/tests/regressiontests/utils/module_loading.py class DefaultLoader (line 12) | class DefaultLoader(unittest.TestCase): method setUp (line 13) | def setUp(self): method tearDown (line 16) | def tearDown(self): method test_loader (line 19) | def test_loader(self): class EggLoader (line 51) | class EggLoader(unittest.TestCase): method setUp (line 52) | def setUp(self): method tearDown (line 56) | def tearDown(self): method test_shallow_loader (line 68) | def test_shallow_loader(self): method test_deep_loader (line 87) | def test_deep_loader(self): class ProxyFinder (line 106) | class ProxyFinder(object): method __init__ (line 107) | def __init__(self): method find_module (line 110) | def find_module(self, fullname, path=None): method load_module (line 124) | def load_module(self, fullname): class TestFinder (line 134) | class TestFinder(object): method __init__ (line 135) | def __init__(self, *args, **kwargs): method find_module (line 138) | def find_module(self, path): class TestLoader (line 144) | class TestLoader(object): method __init__ (line 145) | def __init__(self, importer): method load_module (line 148) | def load_module(self, name): class CustomLoader (line 153) | class CustomLoader(EggLoader): method setUp (line 159) | def setUp(self): method tearDown (line 164) | def tearDown(self): FILE: Django-1.5.1/tests/regressiontests/utils/numberformat.py class TestNumberFormat (line 6) | class TestNumberFormat(TestCase): method test_format_number (line 8) | def test_format_number(self): method test_format_string (line 18) | def test_format_string(self): method test_large_number (line 28) | def test_large_number(self): FILE: Django-1.5.1/tests/regressiontests/utils/os_utils.py class SafeJoinTests (line 7) | class SafeJoinTests(unittest.TestCase): method test_base_path_ends_with_sep (line 8) | def test_base_path_ends_with_sep(self): method test_root_path (line 15) | def test_root_path(self): FILE: Django-1.5.1/tests/regressiontests/utils/regex_helper.py class NormalizeTests (line 7) | class NormalizeTests(unittest.TestCase): method test_empty (line 8) | def test_empty(self): method test_escape (line 14) | def test_escape(self): method test_group_positional (line 20) | def test_group_positional(self): method test_group_ignored (line 26) | def test_group_ignored(self): method test_group_noncapturing (line 32) | def test_group_noncapturing(self): method test_group_named (line 38) | def test_group_named(self): method test_group_backreference (line 45) | def test_group_backreference(self): FILE: Django-1.5.1/tests/regressiontests/utils/simplelazyobject.py class _ComplexObject (line 12) | class _ComplexObject(object): method __init__ (line 13) | def __init__(self, name): method __eq__ (line 16) | def __eq__(self, other): method __hash__ (line 19) | def __hash__(self): method __bytes__ (line 23) | def __bytes__(self): method __str__ (line 26) | def __str__(self): method __str__ (line 30) | def __str__(self): method __unicode__ (line 33) | def __unicode__(self): method __repr__ (line 36) | def __repr__(self): class TestUtilsSimpleLazyObject (line 43) | class TestUtilsSimpleLazyObject(TestCase): method test_equality (line 51) | def test_equality(self): method test_hash (line 55) | def test_hash(self): method test_repr (line 61) | def test_repr(self): method test_bytes (line 67) | def test_bytes(self): method test_text (line 71) | def test_text(self): method test_class (line 74) | def test_class(self): method test_deepcopy (line 79) | def test_deepcopy(self): method test_none (line 98) | def test_none(self): method test_bool (line 110) | def test_bool(self): method test_pickle_complex (line 116) | def test_pickle_complex(self): FILE: Django-1.5.1/tests/regressiontests/utils/termcolors.py class TermColorTests (line 4) | class TermColorTests(unittest.TestCase): method test_empty_string (line 6) | def test_empty_string(self): method test_simple_palette (line 9) | def test_simple_palette(self): method test_fg (line 14) | def test_fg(self): method test_fg_bg (line 19) | def test_fg_bg(self): method test_fg_opts (line 24) | def test_fg_opts(self): method test_fg_bg_opts (line 32) | def test_fg_bg_opts(self): method test_override_palette (line 40) | def test_override_palette(self): method test_override_nocolor (line 45) | def test_override_nocolor(self): method test_reverse_override (line 50) | def test_reverse_override(self): method test_multiple_roles (line 53) | def test_multiple_roles(self): method test_override_with_multiple_roles (line 59) | def test_override_with_multiple_roles(self): method test_empty_definition (line 65) | def test_empty_definition(self): method test_empty_options (line 70) | def test_empty_options(self): method test_bad_palette (line 81) | def test_bad_palette(self): method test_bad_role (line 84) | def test_bad_role(self): method test_bad_color (line 91) | def test_bad_color(self): method test_bad_option (line 110) | def test_bad_option(self): method test_role_case (line 118) | def test_role_case(self): method test_color_case (line 126) | def test_color_case(self): method test_opts_case (line 141) | def test_opts_case(self): FILE: Django-1.5.1/tests/regressiontests/utils/text.py class TestUtilsText (line 9) | class TestUtilsText(SimpleTestCase): method test_truncate_chars (line 13) | def test_truncate_chars(self): method test_truncate_words (line 50) | def test_truncate_words(self): method test_truncate_html_words (line 59) | def test_truncate_html_words(self): method test_old_truncate_words (line 76) | def test_old_truncate_words(self): method test_old_truncate_html_words (line 87) | def test_old_truncate_html_words(self): method test_wrap (line 100) | def test_wrap(self): method test_slugify (line 117) | def test_slugify(self): FILE: Django-1.5.1/tests/regressiontests/utils/timesince.py class TimesinceTests (line 9) | class TimesinceTests(unittest.TestCase): method setUp (line 11) | def setUp(self): method test_equal_datetimes (line 22) | def test_equal_datetimes(self): method test_ignore_microseconds_and_seconds (line 26) | def test_ignore_microseconds_and_seconds(self): method test_other_units (line 33) | def test_other_units(self): method test_multiple_units (line 44) | def test_multiple_units(self): method test_display_first_unit (line 51) | def test_display_first_unit(self): method test_display_second_before_first (line 63) | def test_display_second_before_first(self): method test_different_timezones (line 94) | def test_different_timezones(self): method test_date_objects (line 104) | def test_date_objects(self): method test_both_date_objects (line 110) | def test_both_date_objects(self): method test_naive_datetime_with_tzinfo_attribute (line 117) | def test_naive_datetime_with_tzinfo_attribute(self): FILE: Django-1.5.1/tests/regressiontests/utils/timezone.py class TimezoneTests (line 14) | class TimezoneTests(unittest.TestCase): method test_localtime (line 16) | def test_localtime(self): method test_now (line 22) | def test_now(self): method test_override (line 28) | def test_override(self): method test_copy (line 53) | def test_copy(self): method test_deepcopy (line 57) | def test_deepcopy(self): method test_pickling_unpickling (line 61) | def test_pickling_unpickling(self): FILE: Django-1.5.1/tests/regressiontests/utils/tzinfo.py class TzinfoTests (line 9) | class TzinfoTests(unittest.TestCase): method setUpClass (line 12) | def setUpClass(cls): method tearDownClass (line 25) | def tearDownClass(cls): method test_fixedoffset (line 35) | def test_fixedoffset(self): method test_16899 (line 48) | def test_16899(self): method test_copy (line 66) | def test_copy(self): method test_deepcopy (line 71) | def test_deepcopy(self): method test_pickling_unpickling (line 76) | def test_pickling_unpickling(self): FILE: Django-1.5.1/tests/regressiontests/version/tests.py class VersionTests (line 6) | class VersionTests(TestCase): method test_development (line 8) | def test_development(self): method test_releases (line 15) | def test_releases(self): FILE: Django-1.5.1/tests/regressiontests/views/__init__.py class BrokenException (line 4) | class BrokenException(Exception): FILE: Django-1.5.1/tests/regressiontests/views/models.py class Author (line 9) | class Author(models.Model): method __str__ (line 12) | def __str__(self): method get_absolute_url (line 15) | def get_absolute_url(self): class BaseArticle (line 19) | class BaseArticle(models.Model): class Meta (line 28) | class Meta: method __str__ (line 31) | def __str__(self): class Article (line 34) | class Article(BaseArticle): class UrlArticle (line 37) | class UrlArticle(BaseArticle): method get_absolute_url (line 43) | def get_absolute_url(self): class DateArticle (line 47) | class DateArticle(BaseArticle): FILE: Django-1.5.1/tests/regressiontests/views/templatetags/debugtags.py function go_boom (line 11) | def go_boom(arg): FILE: Django-1.5.1/tests/regressiontests/views/tests/debug.py class DebugViewTests (line 26) | class DebugViewTests(TestCase): method test_files (line 29) | def test_files(self): method test_403 (line 40) | def test_403(self): method test_403_template (line 49) | def test_403_template(self): method test_404 (line 60) | def test_404(self): method test_view_exceptions (line 64) | def test_view_exceptions(self): method test_template_exceptions (line 69) | def test_template_exceptions(self): method test_template_loader_postmortem (line 79) | def test_template_loader_postmortem(self): class ExceptionReporterTests (line 85) | class ExceptionReporterTests(TestCase): method test_request_and_exception (line 88) | def test_request_and_exception(self): method test_no_request (line 107) | def test_no_request(self): method test_no_exception (line 125) | def test_no_exception(self): method test_request_and_message (line 140) | def test_request_and_message(self): method test_message_only (line 155) | def test_message_only(self): class PlainTextReportTests (line 169) | class PlainTextReportTests(TestCase): method test_request_and_exception (line 172) | def test_request_and_exception(self): method test_no_request (line 191) | def test_no_request(self): method test_no_exception (line 208) | def test_no_exception(self): method test_request_and_message (line 214) | def test_request_and_message(self): method test_message_only (line 220) | def test_message_only(self): class ExceptionReportTestMixin (line 225) | class ExceptionReportTestMixin(object): method verify_unsafe_response (line 235) | def verify_unsafe_response(self, view, check_for_vars=True, method verify_safe_response (line 254) | def verify_safe_response(self, view, check_for_vars=True, method verify_paranoid_response (line 279) | def verify_paranoid_response(self, view, check_for_vars=True, method verify_unsafe_email (line 299) | def verify_unsafe_email(self, view, check_for_POST_params=True): method verify_safe_email (line 332) | def verify_safe_email(self, view, check_for_POST_params=True): method verify_paranoid_email (line 372) | def verify_paranoid_email(self, view): class ExceptionReporterFilterTests (line 395) | class ExceptionReporterFilterTests(TestCase, ExceptionReportTestMixin): method test_non_sensitive_request (line 402) | def test_non_sensitive_request(self): method test_sensitive_request (line 415) | def test_sensitive_request(self): method test_paranoid_request (line 428) | def test_paranoid_request(self): method test_custom_exception_reporter_filter (line 441) | def test_custom_exception_reporter_filter(self): method test_sensitive_method (line 454) | def test_sensitive_method(self): method test_sensitive_function_arguments (line 472) | def test_sensitive_function_arguments(self): method test_sensitive_function_keyword_arguments (line 487) | def test_sensitive_function_keyword_arguments(self): class AjaxResponseExceptionReporterFilter (line 503) | class AjaxResponseExceptionReporterFilter(TestCase, ExceptionReportTestM... method test_non_sensitive_request (line 515) | def test_non_sensitive_request(self): method test_sensitive_request (line 526) | def test_sensitive_request(self): method test_paranoid_request (line 537) | def test_paranoid_request(self): method test_custom_exception_reporter_filter (line 548) | def test_custom_exception_reporter_filter(self): FILE: Django-1.5.1/tests/regressiontests/views/tests/defaults.py class DefaultsTests (line 10) | class DefaultsTests(TestCase): method test_shortcut_with_absolute_url (line 16) | def test_shortcut_with_absolute_url(self): method test_shortcut_no_absolute_url (line 24) | def test_shortcut_no_absolute_url(self): method test_wrong_type_pk (line 31) | def test_wrong_type_pk(self): method test_shortcut_bad_pk (line 36) | def test_shortcut_bad_pk(self): method test_nonint_content_type (line 41) | def test_nonint_content_type(self): method test_bad_content_type (line 47) | def test_bad_content_type(self): method test_page_not_found (line 53) | def test_page_not_found(self): method test_csrf_token_in_404 (line 59) | def test_csrf_token_in_404(self): method test_server_error (line 70) | def test_server_error(self): method test_custom_templates (line 75) | def test_custom_templates(self): method test_get_absolute_url_attributes (line 92) | def test_get_absolute_url_attributes(self): FILE: Django-1.5.1/tests/regressiontests/views/tests/i18n.py class I18NTests (line 24) | class I18NTests(TestCase): method test_setlang (line 27) | def test_setlang(self): method test_setlang_unsafe_next (line 39) | def test_setlang_unsafe_next(self): method test_setlang_reversal (line 50) | def test_setlang_reversal(self): method test_jsi18n (line 53) | def test_jsi18n(self): class JsI18NTests (line 72) | class JsI18NTests(TestCase): method test_jsi18n_with_missing_en_files (line 78) | def test_jsi18n_with_missing_en_files(self): method test_jsi18n_fallback_language (line 93) | def test_jsi18n_fallback_language(self): method testI18NLanguageNonEnglishDefault (line 103) | def testI18NLanguageNonEnglishDefault(self): method test_nonenglish_default_english_userpref (line 115) | def test_nonenglish_default_english_userpref(self): method testI18NLanguageNonEnglishFallback (line 127) | def testI18NLanguageNonEnglishFallback(self): class JsI18NTestsMultiPackage (line 138) | class JsI18NTestsMultiPackage(TestCase): method testI18NLanguageEnglishDefault (line 143) | def testI18NLanguageEnglishDefault(self): method testI18NDifferentNonEnLangs (line 157) | def testI18NDifferentNonEnLangs(self): method testI18NWithLocalePaths (line 168) | def testI18NWithLocalePaths(self): class JavascriptI18nTests (line 180) | class JavascriptI18nTests(LiveServerTestCase): method setUpClass (line 184) | def setUpClass(cls): method tearDownClass (line 189) | def tearDownClass(cls): method test_javascript_gettext (line 194) | def test_javascript_gettext(self): method test_escaping (line 212) | def test_escaping(self): FILE: Django-1.5.1/tests/regressiontests/views/tests/shortcuts.py class ShortcutTests (line 9) | class ShortcutTests(TestCase): method test_render_to_response (line 12) | def test_render_to_response(self): method test_render_to_response_with_request_context (line 18) | def test_render_to_response_with_request_context(self): method test_render_to_response_with_content_type (line 24) | def test_render_to_response_with_content_type(self): method test_render (line 30) | def test_render(self): method test_render_with_base_context (line 37) | def test_render_with_base_context(self): method test_render_with_content_type (line 43) | def test_render_with_content_type(self): method test_render_with_status (line 49) | def test_render_with_status(self): method test_render_with_current_app (line 54) | def test_render_with_current_app(self): method test_render_with_current_app_conflict (line 58) | def test_render_with_current_app_conflict(self): FILE: Django-1.5.1/tests/regressiontests/views/tests/specials.py class URLHandling (line 7) | class URLHandling(TestCase): method test_combining_redirect (line 14) | def test_combining_redirect(self): method test_nonascii_redirect (line 25) | def test_nonascii_redirect(self): method test_permanent_nonascii_redirect (line 32) | def test_permanent_nonascii_redirect(self): FILE: Django-1.5.1/tests/regressiontests/views/tests/static.py class StaticTests (line 19) | class StaticTests(TestCase): method test_serve (line 24) | def test_serve(self): method test_unknown_mime_type (line 37) | def test_unknown_mime_type(self): method test_copes_with_empty_path_component (line 42) | def test_copes_with_empty_path_component(self): method test_is_modified_since (line 50) | def test_is_modified_since(self): method test_not_modified_since (line 59) | def test_not_modified_since(self): method test_invalid_if_modified_since (line 69) | def test_invalid_if_modified_since(self): method test_invalid_if_modified_since2 (line 86) | def test_invalid_if_modified_since2(self): class StaticHelperTest (line 104) | class StaticHelperTest(StaticTests): method setUp (line 108) | def setUp(self): method tearDown (line 113) | def tearDown(self): class StaticUtilsTests (line 118) | class StaticUtilsTests(unittest.TestCase): method test_was_modified_since_fp (line 119) | def test_was_modified_since_fp(self): FILE: Django-1.5.1/tests/regressiontests/views/views.py function index_page (line 19) | def index_page(request): function raises (line 23) | def raises(request): function raises404 (line 34) | def raises404(request): function raises403 (line 38) | def raises403(request): function redirect (line 41) | def redirect(request): function view_exception (line 47) | def view_exception(request, n): function template_exception (line 50) | def template_exception(request, n): function jsi18n (line 54) | def jsi18n(request): function render_to_response_view (line 59) | def render_to_response_view(request): function render_to_response_view_with_request_context (line 65) | def render_to_response_view_with_request_context(request): function render_to_response_view_with_content_type (line 71) | def render_to_response_view_with_content_type(request): function render_view (line 77) | def render_view(request): function render_view_with_base_context (line 83) | def render_view_with_base_context(request): function render_view_with_content_type (line 89) | def render_view_with_content_type(request): function render_view_with_status (line 95) | def render_view_with_status(request): function render_view_with_current_app (line 101) | def render_view_with_current_app(request): function render_view_with_current_app_conflict (line 107) | def render_view_with_current_app_conflict(request): function raises_template_does_not_exist (line 115) | def raises_template_does_not_exist(request): function send_log (line 123) | def send_log(request, exc_info): function non_sensitive_view (line 145) | def non_sensitive_view(request): function sensitive_view (line 160) | def sensitive_view(request): function paranoid_view (line 175) | def paranoid_view(request): function sensitive_args_function_caller (line 188) | def sensitive_args_function_caller(request): function sensitive_args_function (line 197) | def sensitive_args_function(sauce): function sensitive_kwargs_function_caller (line 204) | def sensitive_kwargs_function_caller(request): function sensitive_kwargs_function (line 213) | def sensitive_kwargs_function(sauce=None): class UnsafeExceptionReporterFilter (line 220) | class UnsafeExceptionReporterFilter(SafeExceptionReporterFilter): method get_post_parameters (line 225) | def get_post_parameters(self, request): method get_traceback_frame_variables (line 228) | def get_traceback_frame_variables(self, request, tb_frame): function custom_exception_reporter_filter_view (line 234) | def custom_exception_reporter_filter_view(request): class Klass (line 249) | class Klass(object): method method (line 252) | def method(self, request): function sensitive_method_view (line 265) | def sensitive_method_view(request): FILE: Django-1.5.1/tests/regressiontests/wsgi/tests.py class WSGITest (line 12) | class WSGITest(TestCase): method test_get_wsgi_application (line 15) | def test_get_wsgi_application(self): class GetInternalWSGIApplicationTest (line 46) | class GetInternalWSGIApplicationTest(unittest.TestCase): method test_success (line 48) | def test_success(self): method test_default (line 62) | def test_default(self): method test_bad_module (line 85) | def test_bad_module(self): method test_bad_name (line 94) | def test_bad_name(self): FILE: Django-1.5.1/tests/regressiontests/wsgi/urls.py function helloworld (line 4) | def helloworld(request): FILE: Django-1.5.1/tests/runtests.py function geodjango (line 52) | def geodjango(settings): function get_test_modules (line 58) | def get_test_modules(): function setup (line 75) | def setup(verbosity, test_labels): function teardown (line 150) | def teardown(state): function django_tests (line 161) | def django_tests(verbosity, interactive, failfast, test_labels): function bisect_tests (line 186) | def bisect_tests(bisection_label, options, test_labels): function paired_tests (line 246) | def paired_tests(paired_test, options, test_labels):