Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias TryExcept body Import alias identifier handlers ExceptHandler type NameLoad name NameStore body ImportFrom alias Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Dict Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Return NameLoad orelse Return Call NameLoad ListComp Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults TupleLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad If CompareEq AttributeLoad NameLoad attr Str body ImportFrom alias Raise Call NameLoad Str Assign NameStore BinOpMod Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str ListLoad AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad NameLoad If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Return Call NameLoad NameLoad decorator_list TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str NameLoad
N/A N/A 
PostgreSQL database backend for Django.

Requires psycopg 1: http://initd.org/projects/psycopg1
 django.db.backends * django.db.backends.postgresql.client DatabaseClient django.db.backends.postgresql.creation DatabaseCreation django.db.backends.postgresql.introspection DatabaseIntrospection django.db.backends.postgresql.operations DatabaseOperations django.db.backends.postgresql.version get_version django.utils.encoding smart_str smart_unicode N/A N/A N/A psycopg Database N/A N/A N/A ImportError N/A e N/A django.core.exceptions ImproperlyConfigured N/A N/A ImproperlyConfigured N/A Error loading psycopg module: %s e N/A DatabaseError N/A Database DatabaseError N/A IntegrityError N/A Database IntegrityError UnicodeCursorWrapper N/A object N/A N/A 
    A thin wrapper around psycopg cursors that allows them to accept Unicode
    strings as params.

    This is necessary because psycopg doesn't apply any DB quoting to
    parameters that are Unicode strings. If a param is Unicode, this will
    convert it to a bytestring using database client's encoding before passing
    it to psycopg.

    All results retrieved from the database are converted into Unicode strings
    before being returned to the caller.
     __init__ N/A N/A self cursor charset N/A N/A N/A N/A self cursor cursor N/A N/A self charset charset N/A format_params N/A N/A self params N/A N/A N/A N/A isinstance params dict N/A N/A result N/A N/A charset N/A self charset N/A N/A key value N/A N/A params items N/A N/A N/A result N/A N/A smart_str key charset N/A smart_str value charset N/A result N/A N/A N/A tuple N/A N/A smart_str p N/A self charset True N/A p params N/A execute N/A N/A self sql params N/A N/A N/A N/A N/A N/A N/A self cursor execute N/A smart_str sql N/A self charset N/A N/A self format_params params N/A executemany N/A N/A self sql param_list N/A N/A N/A new_param_list N/A N/A N/A self format_params params N/A params param_list N/A N/A N/A N/A self cursor executemany sql new_param_list N/A __getattr__ N/A N/A self attr N/A N/A N/A N/A attr N/A self __dict__ N/A N/A N/A N/A self __dict__ N/A attr N/A N/A N/A getattr N/A self cursor attr N/A __iter__ N/A N/A self N/A N/A N/A N/A iter N/A self cursor N/A N/A DatabaseFeatures N/A BaseDatabaseFeatures N/A N/A uses_savepoints True N/A DatabaseWrapper N/A BaseDatabaseWrapper N/A N/A operators N/A exact iexact contains icontains regex iregex gt gte lt lte startswith endswith istartswith iendswith = %s = UPPER(%s) LIKE %s LIKE UPPER(%s) ~ %s ~* %s > %s >= %s < %s <= %s LIKE %s LIKE %s LIKE UPPER(%s) LIKE UPPER(%s) __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super DatabaseWrapper self __init__ args kwargs N/A N/A self features N/A DatabaseFeatures N/A N/A self ops N/A DatabaseOperations N/A N/A self client N/A DatabaseClient N/A N/A self creation N/A DatabaseCreation self N/A N/A self introspection N/A DatabaseIntrospection self N/A N/A self validation N/A BaseDatabaseValidation N/A _cursor N/A N/A self settings N/A N/A N/A set_tz False N/A N/A N/A self connection None N/A N/A set_tz True N/A N/A N/A settings DATABASE_NAME N/A django.core.exceptions ImproperlyConfigured N/A N/A ImproperlyConfigured You need to specify DATABASE_NAME in your Django settings file. N/A conn_string N/A dbname=%s N/A settings DATABASE_NAME N/A N/A settings DATABASE_USER N/A N/A conn_string N/A user=%s %s N/A N/A settings DATABASE_USER conn_string N/A N/A settings DATABASE_PASSWORD N/A N/A conn_string N/A  password='%s' N/A settings DATABASE_PASSWORD N/A N/A settings DATABASE_HOST N/A N/A conn_string N/A  host=%s N/A settings DATABASE_HOST N/A N/A settings DATABASE_PORT N/A N/A conn_string N/A  port=%s N/A settings DATABASE_PORT N/A N/A self connection N/A N/A Database connect conn_string N/A self options N/A N/A N/A N/A self connection set_isolation_level 1 N/A cursor N/A N/A N/A self connection cursor N/A set_tz N/A N/A N/A N/A cursor execute SET TIME ZONE %s N/A N/A settings TIME_ZONE N/A N/A N/A hasattr self _version N/A N/A N/A N/A self __class__ _version N/A get_version cursor N/A N/A N/A self _version N/A 8 0 N/A N/A N/A N/A self features uses_savepoints False N/A N/A N/A cursor execute SET client_encoding to 'UNICODE' N/A cursor N/A UnicodeCursorWrapper cursor utf-8 N/A cursor N/A N/A typecast_string N/A N/A s N/A N/A N/A 
    Cast all returned strings to unicode strings.
     N/A N/A N/A s N/A N/A isinstance s str N/A N/A s N/A N/A smart_unicode s N/A N/A N/A N/A N/A N/A Database register_type N/A N/A Database new_type N/A 1082 DATE N/A util typecast_date N/A N/A N/A AttributeError N/A N/A N/A Exception You appear to be using psycopg version 2. Set your DATABASE_ENGINE to 'postgresql_psycopg2' instead of 'postgresql'. N/A N/A N/A Database register_type N/A N/A Database new_type N/A 1083 1266 TIME N/A util typecast_time N/A N/A N/A Database register_type N/A N/A Database new_type N/A 1114 1184 TIMESTAMP N/A util typecast_timestamp N/A N/A N/A Database register_type N/A N/A Database new_type N/A 16 BOOLEAN N/A util typecast_boolean N/A N/A N/A Database register_type N/A N/A Database new_type N/A 1700 NUMERIC N/A util typecast_decimal N/A N/A N/A Database register_type N/A N/A Database new_type N/A N/A N/A Database types N/A 1043 values STRING typecast_string