Coverage for /Users/michaelherman/Desktop/django-tastypie-tutorial/env/lib/python2.7/site-packages/dateutil/__init__ : 24 | 100% 25 |
26 |
├── .gitignore ├── README.md ├── django15 ├── .coverage ├── django15 │ ├── __init__.py │ ├── api.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── htmlcov │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_dateutil___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_dateutil_parser.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_dateutil_relativedelta.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_dateutil_tz.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_dateutil_tzwin.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_defusedxml___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_defusedxml_common.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_defusedxml_lxml.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_conf___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_conf_global_settings.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_conf_locale___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_conf_locale_en___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_conf_locale_en_formats.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_conf_urls___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_admin___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_admin_actions.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_admin_filters.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_admin_forms.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_admin_helpers.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_admin_models.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_admin_options.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_admin_sites.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_admin_templatetags___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_admin_templatetags_admin_static.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_admin_util.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_admin_widgets.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_auth___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_auth_admin.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_auth_backends.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_auth_forms.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_auth_hashers.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_auth_management___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_auth_middleware.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_auth_models.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_auth_signals.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_auth_tokens.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_contenttypes___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_contenttypes_generic.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_contenttypes_management.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_contenttypes_models.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_contenttypes_views.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_messages___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_messages_api.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_messages_constants.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_messages_middleware.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_messages_models.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_messages_storage___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_messages_storage_base.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_messages_storage_cookie.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_messages_storage_fallback.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_messages_storage_session.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_messages_utils.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_sessions___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_sessions_backends___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_sessions_backends_base.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_sessions_backends_db.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_sessions_management___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_sessions_middleware.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_sessions_models.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_sites___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_sites_admin.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_sites_management.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_sites_models.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_staticfiles___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_staticfiles_finders.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_staticfiles_handlers.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_staticfiles_management___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_staticfiles_models.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_staticfiles_storage.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_staticfiles_templatetags___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_staticfiles_templatetags_staticfiles.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_staticfiles_utils.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_contrib_staticfiles_views.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_cache___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_cache_backends___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_cache_backends_base.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_cache_backends_db.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_cache_backends_locmem.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_context_processors.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_exceptions.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_files___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_files_base.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_files_images.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_files_locks.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_files_move.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_files_storage.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_files_temp.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_files_uploadedfile.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_files_uploadhandler.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_files_utils.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_handlers___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_handlers_base.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_handlers_wsgi.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_mail___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_mail_message.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_mail_utils.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_management___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_management_base.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_management_color.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_management_commands___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_management_commands_flush.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_management_commands_loaddata.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_management_commands_syncdb.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_management_commands_test.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_management_sql.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_management_validation.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_paginator.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_serializers___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_serializers_base.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_serializers_json.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_serializers_python.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_servers___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_servers_basehttp.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_signals.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_signing.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_urlresolvers.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_validators.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_core_wsgi.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_backends___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_backends_creation.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_backends_signals.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_backends_sqlite3___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_backends_sqlite3_base.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_backends_sqlite3_client.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_backends_sqlite3_creation.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_backends_sqlite3_introspection.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_backends_util.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_aggregates.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_base.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_constants.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_deletion.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_expressions.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_fields___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_fields_files.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_fields_proxy.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_fields_related.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_fields_subclassing.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_loading.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_manager.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_options.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_query.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_query_utils.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_related.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_signals.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_sql___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_sql_aggregates.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_sql_compiler.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_sql_constants.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_sql_datastructures.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_sql_expressions.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_sql_query.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_sql_subqueries.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_models_sql_where.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_transaction.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_db_utils.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_dispatch___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_dispatch_dispatcher.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_dispatch_saferef.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_forms___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_forms_fields.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_forms_forms.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_forms_formsets.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_forms_models.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_forms_util.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_forms_widgets.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_http___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_http_cookie.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_http_multipartparser.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_http_request.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_http_response.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_http_utils.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_middleware___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_middleware_cache.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_middleware_common.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_middleware_csrf.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_shortcuts___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_base.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_context.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_debug.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_defaultfilters.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_defaulttags.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_loader.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_loader_tags.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_loaders___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_loaders_app_directories.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_loaders_cached.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_loaders_filesystem.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_response.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_template_smartif.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_templatetags___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_templatetags_static.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_test___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_test__doctest.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_test_client.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_test_html.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_test_signals.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_test_simple.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_test_testcases.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_test_utils.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils__os.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_baseconv.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_cache.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_crypto.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_datastructures.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_dateformat.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_dateparse.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_dates.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_datetime_safe.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_decorators.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_encoding.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_formats.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_functional.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_html.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_html_parser.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_http.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_importlib.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_ipv6.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_itercompat.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_log.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_module_loading.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_numberformat.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_regex_helper.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_safestring.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_six.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_synch.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_termcolors.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_text.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_timesince.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_timezone.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_translation___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_translation_trans_real.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_tree.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_tzinfo.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_unittest___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_unittest_util.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_utils_version.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_views___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_views_debug.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_views_decorators___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_views_decorators_cache.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_views_decorators_csrf.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_views_decorators_debug.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_django_views_static.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_lxml___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_lxml__elementpath.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_mimeparse.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_model_mommy___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_model_mommy_exceptions.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_model_mommy_generators.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_model_mommy_mommy.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_model_mommy_timezone.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_common___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_common_exceptions.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_selenium.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_chrome___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_chrome_options.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_chrome_service.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_chrome_webdriver.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_common___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_common_action_chains.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_common_alert.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_common_by.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_common_desired_capabilities.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_common_html5___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_common_html5_application_cache.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_common_keys.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_common_proxy.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_common_touch_actions.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_common_utils.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_firefox___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_firefox_extension_connection.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_firefox_firefox_binary.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_firefox_firefox_profile.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_firefox_webdriver.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_ie___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_ie_service.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_ie_webdriver.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_opera___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_opera_service.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_opera_webdriver.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_phantomjs___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_phantomjs_service.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_phantomjs_webdriver.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_remote___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_remote_command.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_remote_errorhandler.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_remote_remote_connection.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_remote_utils.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_remote_webdriver.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_selenium_webdriver_remote_webelement.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_six.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_db___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_db_generic.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_db_sqlite3.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_exceptions.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_hacks___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_hacks_django_1_0.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_logger.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_management___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_management_commands___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_management_commands_migrate.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_management_commands_syncdb.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_management_commands_test.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_migration___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_migration_base.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_migration_migrators.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_migration_utils.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_models.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_orm.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_signals.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_utils___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_utils_datetime_utils.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_south_utils_py3.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_authentication.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_authorization.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_bundle.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_cache.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_compat.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_constants.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_exceptions.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_fields.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_http.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_paginator.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_resources.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_serializers.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_test.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_throttle.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_utils___init__.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_utils_dict.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_utils_formatting.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_utils_mime.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_utils_timezone.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_utils_urls.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_utils_validate_jsonp.html │ ├── _Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_tastypie_validation.html │ ├── coverage_html.js │ ├── django15___init__.html │ ├── django15_api.html │ ├── django15_settings.html │ ├── django15_urls.html │ ├── index.html │ ├── jquery-1.4.3.min.js │ ├── jquery.hotkeys.js │ ├── jquery.isonscreen.js │ ├── jquery.tablesorter.min.js │ ├── keybd_closed.png │ ├── keybd_open.png │ ├── manage.html │ ├── status.dat │ ├── style.css │ ├── whatever___init__.html │ ├── whatever_admin.html │ ├── whatever_forms.html │ ├── whatever_models.html │ ├── whatever_tests.html │ ├── whatever_views.html │ ├── whatevs___init__.html │ ├── whatevs_admin.html │ ├── whatevs_models.html │ └── whatevs_tests.html ├── manage.py ├── static │ └── assets │ │ ├── js │ │ ├── ajax.js │ │ ├── jquery-2.0.0.min.js │ │ └── postal.pdf │ │ └── uploaded_files │ │ ├── 1374775471_19_shittycode.png │ │ └── 1374775501_82_shittycode.png ├── templates │ ├── add.html │ ├── base.html │ └── index.html ├── test.db ├── whatever │ ├── __init__.py │ ├── admin.py │ ├── forms.py │ ├── models.py │ ├── tests.py │ └── views.py └── whatevs │ ├── __init__.py │ ├── admin.py │ ├── models.py │ ├── tests.py │ └── views.py └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- 1 | .Python 2 | env 3 | bin 4 | lib 5 | include 6 | .DS_Store 7 | .pyc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Testing in Django: Best practices and examples 2 | -------- 3 | 4 | You've stumbled across an example project that details best practices and examples with regard to creating unit and integration tests in Django. 5 | 6 | The project is based on **Django 1.5**. 7 | 8 | ### Blog Posts 9 | 10 | 1. [Best practices and examples](http://www.realpython.com/blog/python/testing-in-django-part-1-best-practices-and-examples/) 11 | 12 | ### To do 13 | 14 | 1. Better docs 15 | 2. Detail API tests 16 | 17 | 18 | -------------------------------------------------------------------------------- /django15/.coverage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhea0/testing-in-django/a74834454be23223c15346c64c2f56d28f03edfe/django15/.coverage -------------------------------------------------------------------------------- /django15/django15/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhea0/testing-in-django/a74834454be23223c15346c64c2f56d28f03edfe/django15/django15/__init__.py -------------------------------------------------------------------------------- /django15/django15/api.py: -------------------------------------------------------------------------------- 1 | from tastypie.resources import ModelResource 2 | from tastypie.constants import ALL 3 | from whatever.models import Whatever 4 | 5 | class WhateverResource(ModelResource): 6 | class Meta: 7 | queryset = Whatever.objects.all() 8 | resource_name = 'whatever' 9 | filtering = { "title" : ALL } -------------------------------------------------------------------------------- /django15/django15/settings.py: -------------------------------------------------------------------------------- 1 | # Django settings for django15 project. 2 | 3 | import os 4 | 5 | PROJECT_ROOT = os.path.realpath(os.path.dirname(__file__)) 6 | SITE_ROOT = os.path.dirname(PROJECT_ROOT) 7 | 8 | DEBUG = True 9 | TEMPLATE_DEBUG = DEBUG 10 | 11 | ADMINS = ( 12 | # ('Your Name', 'your_email@example.com'), 13 | ) 14 | 15 | MANAGERS = ADMINS 16 | 17 | DATABASES = { 18 | 'default': { 19 | 'ENGINE': 'django.db.backends.sqlite3', 20 | 'NAME': 'test.db', 21 | } 22 | } 23 | 24 | # Hosts/domain names that are valid for this site; required if DEBUG is False 25 | # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts 26 | ALLOWED_HOSTS = [] 27 | 28 | # Local time zone for this installation. Choices can be found here: 29 | # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name 30 | # although not all choices may be available on all operating systems. 31 | # In a Windows environment this must be set to your system time zone. 32 | TIME_ZONE = 'America/Chicago' 33 | 34 | # Language code for this installation. All choices can be found here: 35 | # http://www.i18nguy.com/unicode/language-identifiers.html 36 | LANGUAGE_CODE = 'en-us' 37 | 38 | SITE_ID = 1 39 | 40 | # If you set this to False, Django will make some optimizations so as not 41 | # to load the internationalization machinery. 42 | USE_I18N = True 43 | 44 | # If you set this to False, Django will not format dates, numbers and 45 | # calendars according to the current locale. 46 | USE_L10N = True 47 | 48 | # If you set this to False, Django will not use timezone-aware datetimes. 49 | USE_TZ = True 50 | 51 | # Absolute filesystem path to the directory that will hold user-uploaded files. 52 | # Example: "/var/www/example.com/media/" 53 | MEDIA_ROOT = (os.path.join(SITE_ROOT, 'static')) 54 | 55 | # URL that handles the media served from MEDIA_ROOT. Make sure to use a 56 | # trailing slash. 57 | # Examples: "http://example.com/media/", "http://media.example.com/" 58 | MEDIA_URL = '' 59 | 60 | # Absolute path to the directory static files should be collected to. 61 | # Don't put anything in this directory yourself; store your static files 62 | # in apps' "static/" subdirectories and in STATICFILES_DIRS. 63 | # Example: "/var/www/example.com/static/" 64 | STATIC_ROOT = '' 65 | 66 | # URL prefix for static files. 67 | # Example: "http://example.com/static/", "http://static.example.com/" 68 | STATIC_URL = '/static/' 69 | 70 | # Additional locations of static files 71 | STATICFILES_DIRS = (os.path.join(SITE_ROOT, 'static'),) 72 | 73 | # List of finder classes that know how to find static files in 74 | # various locations. 75 | STATICFILES_FINDERS = ( 76 | 'django.contrib.staticfiles.finders.FileSystemFinder', 77 | 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 78 | # 'django.contrib.staticfiles.finders.DefaultStorageFinder', 79 | ) 80 | 81 | # Make this unique, and don't share it with anybody. 82 | SECRET_KEY = '77pt_o@5xmbkv=hbfw4gxmj)jwcxb9k^4rljjf1&d(86j-ub=u' 83 | 84 | # List of callables that know how to import templates from various sources. 85 | TEMPLATE_LOADERS = ( 86 | 'django.template.loaders.filesystem.Loader', 87 | 'django.template.loaders.app_directories.Loader', 88 | # 'django.template.loaders.eggs.Loader', 89 | ) 90 | 91 | MIDDLEWARE_CLASSES = ( 92 | 'django.middleware.common.CommonMiddleware', 93 | 'django.contrib.sessions.middleware.SessionMiddleware', 94 | 'django.middleware.csrf.CsrfViewMiddleware', 95 | 'django.contrib.auth.middleware.AuthenticationMiddleware', 96 | 'django.contrib.messages.middleware.MessageMiddleware', 97 | #'debug_toolbar.middleware.DebugToolbarMiddleware', 98 | # Uncomment the next line for simple clickjacking protection: 99 | # 'django.middleware.clickjacking.XFrameOptionsMiddleware', 100 | ) 101 | 102 | ROOT_URLCONF = 'django15.urls' 103 | 104 | # Python dotted path to the WSGI application used by Django's runserver. 105 | WSGI_APPLICATION = 'django15.wsgi.application' 106 | 107 | TEMPLATE_DIRS = (os.path.join(SITE_ROOT, 'templates'),) 108 | 109 | INSTALLED_APPS = ( 110 | 'django.contrib.auth', 111 | 'django.contrib.contenttypes', 112 | 'django.contrib.sessions', 113 | 'django.contrib.sites', 114 | 'django.contrib.messages', 115 | 'django.contrib.staticfiles', 116 | 'django.contrib.admin', 117 | 'south', 118 | 'whatever', 119 | 'coverage', 120 | 'whatevs' 121 | ) 122 | 123 | # A sample logging configuration. The only tangible logging 124 | # performed by this configuration is to send an email to 125 | # the site admins on every HTTP 500 error when DEBUG=False. 126 | # See http://docs.djangoproject.com/en/dev/topics/logging for 127 | # more details on how to customize your logging configuration. 128 | LOGGING = { 129 | 'version': 1, 130 | 'disable_existing_loggers': False, 131 | 'filters': { 132 | 'require_debug_false': { 133 | '()': 'django.utils.log.RequireDebugFalse' 134 | } 135 | }, 136 | 'handlers': { 137 | 'mail_admins': { 138 | 'level': 'ERROR', 139 | 'filters': ['require_debug_false'], 140 | 'class': 'django.utils.log.AdminEmailHandler' 141 | } 142 | }, 143 | 'loggers': { 144 | 'django.request': { 145 | 'handlers': ['mail_admins'], 146 | 'level': 'ERROR', 147 | 'propagate': True, 148 | }, 149 | } 150 | } 151 | -------------------------------------------------------------------------------- /django15/django15/urls.py: -------------------------------------------------------------------------------- 1 | from django.conf.urls import patterns, include, url 2 | from django.contrib import admin 3 | from api import WhateverResource 4 | from whatever import views 5 | 6 | whatever_resource = WhateverResource() 7 | admin.autodiscover() 8 | 9 | urlpatterns = patterns('', 10 | url(r'^admin/', include(admin.site.urls)), 11 | url(r'^api/', include(whatever_resource.urls)), 12 | url(r'^$', 'whatever.views.whatever'), 13 | url(r'^add/$', 'whatever.views.add'), 14 | ) 15 | -------------------------------------------------------------------------------- /django15/django15/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for django15 project. 3 | 4 | This module contains the WSGI application used by Django's development server 5 | and any production WSGI deployments. It should expose a module-level variable 6 | named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover 7 | this application via the ``WSGI_APPLICATION`` setting. 8 | 9 | Usually you will have the standard Django WSGI application here, but it also 10 | might make sense to replace the whole Django WSGI application with a custom one 11 | that later delegates to the Django one. For example, you could introduce WSGI 12 | middleware here, or combine a Django application with an application of another 13 | framework. 14 | 15 | """ 16 | import os 17 | 18 | # We defer to a DJANGO_SETTINGS_MODULE already in the environment. This breaks 19 | # if running multiple sites in the same mod_wsgi process. To fix this, use 20 | # mod_wsgi daemon mode with each site in its own daemon process, or use 21 | # os.environ["DJANGO_SETTINGS_MODULE"] = "django15.settings" 22 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django15.settings") 23 | 24 | # This application object is used by any WSGI server configured to use this 25 | # file. This includes Django's development server, if the WSGI_APPLICATION 26 | # setting points here. 27 | from django.core.wsgi import get_wsgi_application 28 | application = get_wsgi_application() 29 | 30 | # Apply WSGI middleware here. 31 | # from helloworld.wsgi import HelloWorldApplication 32 | # application = HelloWorldApplication(application) 33 | -------------------------------------------------------------------------------- /django15/htmlcov/_Users_michaelherman_Desktop_django-tastypie-tutorial_env_lib_python2_7_site-packages_dateutil___init__.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 |Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | | 76 |
77 | # -*- coding: utf-8 -*- 78 | 79 |Copyright (c) 2003-2010 Gustavo Niemeyer <gustavo@niemeyer.net> 80 |81 | This module offers extensions to the standard Python 82 |datetime module. 83 |""" 84 | 85 | 86 | 87 | 88 | |
89 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | | 73 | 65 |
74 | 76 | 77 | # Don't litter django/__init__.py with all the get_version stuff. 78 |# Only import if it's actually called. 79 | 80 | 81 | 82 | |
83 |
75 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 66 | 67 | 68 | 69 | 70 | | 71 | 65 |
72 | 74 | 75 | 76 | 77 | 78 | |
79 |
73 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 66 | 67 | 68 | 69 | | 70 | 65 |
71 | 73 | 74 | 75 | 76 | |
77 |
72 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | 66 | | 67 |
68 | # Models module required so tests are discovered. 69 | 70 | |
71 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | | 67 | 65 | 66 |68 | | 71 | 69 | 70 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 66 | 67 | 68 | 69 | 70 | | 71 | 65 |
72 | 74 | 75 | 76 | 77 | 78 | |
79 |
73 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 66 | 67 | 68 | | 69 | 65 |
70 | 72 | 73 | 74 | |
75 |
71 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | | 73 |
74 | """ 75 |Constants used across the ORM in general. 76 |""" 77 |78 | # Separator used to split filter strings apart. 79 | 80 |81 | 82 | |
83 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | | 75 |
76 | """Multi-consumer multi-producer dispatching mechanism 77 |78 | Originally based on pydispatch (BSD) http://pypi.python.org/pypi/PyDispatcher/2.0.1 79 |See license.txt for original license. 80 |81 | Heavily modified for Django's purposes. 82 |""" 83 |84 | 85 | 86 | |
87 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | 66 | 67 | 68 | 69 | 70 | | 71 |
72 | #coding:utf-8 73 | 74 | 75 | 76 | 77 | 78 | |
79 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | | 79 |
80 | # Copyright 2012 Software Freedom Conservancy 81 |# 82 |# Licensed under the Apache License, Version 2.0 (the "License"); 83 |# you may not use this file except in compliance with the License. 84 |# You may obtain a copy of the License at 85 |# 86 |# http://www.apache.org/licenses/LICENSE-2.0 87 |# 88 |# Unless required by applicable law or agreed to in writing, software 89 |# distributed under the License is distributed on an "AS IS" BASIS, 90 |# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 91 |# See the License for the specific language governing permissions and 92 |# limitations under the License. 93 | 94 | |
95 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | | 75 |
76 | """ 77 |South - Useable migrations for Django apps 78 |""" 79 |80 | 81 | 82 | "Andrew Godwin <andrew@aeracode.org>", 83 |"Andy McCurdy <andy@andymccurdy.com>" 84 |] 85 | 86 | |
87 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | | 76 |
77 | """ 78 |The hacks module encapsulates all the horrible things that play with Django 79 |internals in one, evil place. 80 |This top file will automagically expose the correct Hacks class. 81 |""" 82 |83 | # Currently, these work for 1.0 and 1.1. 84 | 85 |86 | 87 | 88 | |
89 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | | 68 | 65 | 66 | 67 |69 | | 73 | 70 | 71 | 72 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | 66 | 67 | 68 | 69 | | 70 |
71 | # Enable all basic ORM filters but do not allow filtering across relationships. 72 | 73 |# Enable all ORM filters, including across relationships 74 | 75 | 76 | |
77 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | | 71 | 65 | 66 | 67 | 68 | 69 | 70 |72 | | 79 | 73 | 74 | 75 | 76 | 77 | 78 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | | 74 | 65 |
75 | 77 | 78 | 79 | 80 | return '/?' 81 |82 | 83 | 84 | |
85 |
76 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | | 75 | 65 | 66 | 67 |
76 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | |
87 |
77 |
78 |
79 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | | 76 |
77 | #!/usr/bin/env python 78 | 79 | 80 |81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | |
89 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 67 | 68 | 69 | | 70 | 65 | 66 |
71 | 74 | 75 | 76 | |
77 |
72 |
73 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | | 74 | 65 | 66 |
75 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | |
85 |
76 |
77 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 65 | | 66 |67 | 68 | | 69 |
Hot-keys on this page
40 |42 | r 43 | m 44 | x 45 | p toggle line displays 46 |
47 |48 | j 49 | k next/prev highlighted chunk 50 |
51 |52 | 0 (zero) top of page 53 |
54 |55 | 1 (one) first highlighted chunk 56 |
57 |64 | 67 | 68 | 69 | 70 | | 71 | 65 | 66 |
72 | 75 | 76 | 77 | 78 | |
79 |
73 |
74 |
{{ w.body }}
15 |Nothing.
19 | {% endif %} 20 | 21 | {% endblock %} -------------------------------------------------------------------------------- /django15/test.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhea0/testing-in-django/a74834454be23223c15346c64c2f56d28f03edfe/django15/test.db -------------------------------------------------------------------------------- /django15/whatever/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhea0/testing-in-django/a74834454be23223c15346c64c2f56d28f03edfe/django15/whatever/__init__.py -------------------------------------------------------------------------------- /django15/whatever/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | from whatever.models import Whatever 3 | 4 | admin.site.register(Whatever) -------------------------------------------------------------------------------- /django15/whatever/forms.py: -------------------------------------------------------------------------------- 1 | from django import forms 2 | from models import Whatever 3 | 4 | class WhateverForm(forms.ModelForm): 5 | 6 | class Meta: 7 | model = Whatever 8 | fields = ('title', 'body') -------------------------------------------------------------------------------- /django15/whatever/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | 3 | class Whatever(models.Model): 4 | title = models.CharField(max_length=200) 5 | body = models.TextField() 6 | created_at = models.DateTimeField(auto_now_add=True) 7 | 8 | def __unicode__(self): 9 | return self.title 10 | -------------------------------------------------------------------------------- /django15/whatever/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | from whatever.models import Whatever 3 | from django.utils import timezone 4 | from django.core.urlresolvers import reverse 5 | from whatever.forms import WhateverForm 6 | 7 | # models test 8 | 9 | class WhateverTest(TestCase): 10 | 11 | def create_whatever(self, title="only a test", body="yes, this is only a test"): 12 | return Whatever.objects.create(title=title, body=body, created_at=timezone.now()) 13 | 14 | def test_whatever_creation(self): 15 | w = self.create_whatever() 16 | self.assertTrue(isinstance(w, Whatever)) 17 | self.assertEqual(w.__unicode__(), w.title) 18 | 19 | 20 | # views (uses reverse) 21 | 22 | def test_whatever_list_view(self): 23 | w = self.create_whatever() 24 | url = reverse("whatever.views.whatever") 25 | resp = self.client.get(url) 26 | 27 | self.assertEqual(resp.status_code, 200) 28 | self.assertIn(w.title, resp.content) 29 | 30 | # forms 31 | 32 | def test_valid_form(self): 33 | w = Whatever.objects.create(title='Foo', body='Bar') 34 | data = {'title': w.title, 'body': w.body,} 35 | form = WhateverForm(data=data) 36 | self.assertTrue(form.is_valid()) 37 | 38 | def test_invalid_form(self): 39 | w = Whatever.objects.create(title='Foo', body='') 40 | data = {'title': w.title, 'body': w.body,} 41 | form = WhateverForm(data=data) 42 | self.assertFalse(form.is_valid()) 43 | 44 | # views (uses selenium) 45 | 46 | import unittest 47 | from selenium import webdriver 48 | 49 | class TestSignup(unittest.TestCase): 50 | 51 | def setUp(self): 52 | self.driver = webdriver.Firefox() 53 | 54 | def test_signup_fire(self): 55 | self.driver.get("http://localhost:8000/add/") 56 | self.driver.find_element_by_id('id_title').send_keys("test title") 57 | self.driver.find_element_by_id('id_body').send_keys("test body") 58 | self.driver.find_element_by_id('submit').click() 59 | self.assertIn("http://localhost:8000/", self.driver.current_url) 60 | 61 | def tearDown(self): 62 | self.driver.quit 63 | 64 | if __name__ == '__main__': 65 | unittest.main() 66 | 67 | # api 68 | 69 | from tastypie.test import ResourceTestCase 70 | 71 | class EntryResourceTest(ResourceTestCase): 72 | 73 | def test_get_api_json(self): 74 | resp = self.api_client.get('/api/whatever/', format='json') 75 | self.assertValidJSONResponse(resp) 76 | 77 | def test_get_api_xml(self): 78 | resp = self.api_client.get('/api/whatever/', format='xml') 79 | self.assertValidXMLResponse(resp) 80 | 81 | # model mommy 82 | 83 | from model_mommy import mommy 84 | 85 | class WhateverTestMommy(TestCase): 86 | 87 | def test_whatever_creation_mommy(self): 88 | what = mommy.make(Whatever) 89 | self.assertTrue(isinstance(what, Whatever)) 90 | self.assertEqual(what.__unicode__(), what.title) 91 | 92 | -------------------------------------------------------------------------------- /django15/whatever/views.py: -------------------------------------------------------------------------------- 1 | from django.shortcuts import render_to_response 2 | from whatever.models import Whatever 3 | from django.core.context_processors import csrf 4 | from django.utils import timezone 5 | from whatever.forms import WhateverForm 6 | from django.http import HttpResponse, HttpResponseRedirect 7 | 8 | def whatever(request): 9 | args = {} 10 | args.update(csrf(request)) 11 | args['whatever'] = Whatever.objects.all() 12 | 13 | return render_to_response('index.html', args) 14 | 15 | def add(request): 16 | if request.POST: 17 | form = WhateverForm(request.POST, request.FILES) 18 | if form.is_valid(): 19 | form.save() 20 | return HttpResponseRedirect('/') 21 | else: 22 | form = WhateverForm() 23 | 24 | args = {} 25 | args.update(csrf(request)) 26 | args['form'] = form 27 | return render_to_response('add.html', args) -------------------------------------------------------------------------------- /django15/whatevs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjhea0/testing-in-django/a74834454be23223c15346c64c2f56d28f03edfe/django15/whatevs/__init__.py -------------------------------------------------------------------------------- /django15/whatevs/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | from whatevs.models import Forum, Thread 3 | 4 | admin.site.register(Forum) 5 | admin.site.register(Thread) -------------------------------------------------------------------------------- /django15/whatevs/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | from django.contrib.auth.models import User 3 | from django.contrib import admin 4 | 5 | class Forum(models.Model): 6 | title = models.CharField(max_length=100) 7 | 8 | def __unicode__(self): 9 | return self.title 10 | 11 | class Thread(models.Model): 12 | title = models.CharField(max_length=100) 13 | created = models.DateTimeField(auto_now_add=True) 14 | creator = models.ForeignKey(User, blank=True, null=True) 15 | forum = models.ForeignKey(Forum) 16 | body = models.TextField(max_length=10000) 17 | 18 | def __unicode__(self): 19 | return unicode(self.forum) + " - " + self.title 20 | -------------------------------------------------------------------------------- /django15/whatevs/tests.py: -------------------------------------------------------------------------------- 1 | from model_mommy import mommy 2 | from django.test import TestCase 3 | from whatevs.models import Forum, Thread 4 | 5 | class WhateverTestMommy(TestCase): 6 | 7 | def test_forum_creation_mommy(self): 8 | new_forum = mommy.make('whatevs.Forum') 9 | new_thread = mommy.make('whatevs.Thread') 10 | self.assertTrue(isinstance(new_forum, Forum)) 11 | self.assertTrue(isinstance(new_thread, Thread)) 12 | self.assertEqual(new_forum.__unicode__(), new_forum.title) 13 | self.assertEqual(new_thread.__unicode__(), (str(new_thread.forum) + " - " + str(new_thread.title))) 14 | -------------------------------------------------------------------------------- /django15/whatevs/views.py: -------------------------------------------------------------------------------- 1 | # Create your views here. 2 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Django==1.5 2 | South==0.8.1 3 | coverage==3.6 4 | defusedxml==0.4.1 5 | django-tastypie==0.9.15 6 | lxml==3.2.3 7 | mimeparse==0.1.3 8 | model-mommy==1.0 9 | python-dateutil==2.1 10 | selenium==2.33.0 11 | six==1.3.0 --------------------------------------------------------------------------------