Original query:

SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" INNER JOIN "users_ecardtoken_users" ON ( "auth_user"."id" = "users_ecardtoken_users"."user_id" ) WHERE "users_ecardtoken_users"."ecardtoken_id" = 401281;

Prettified:

SELECT
  "auth_user"."id",
  "auth_user"."password",
  "auth_user"."last_login",
  "auth_user"."is_superuser",
  "auth_user"."username",
  "auth_user"."first_name",
  "auth_user"."last_name",
  "auth_user"."email",
  "auth_user"."is_staff",
  "auth_user"."is_active",
  "auth_user"."date_joined"
FROM
  "auth_user"
  JOIN "users_ecardtoken_users" ON ("auth_user"."id" = "users_ecardtoken_users"."user_id")
WHERE
  "users_ecardtoken_users"."ecardtoken_id" = 401281